Documentation
¶
Index ¶
- func ParseAggroClearLine(line string) (time.Time, bool)
- func ParseCastLine(line string) (combat.Cast, bool)
- func ParseDeathLine(line string) (combat.Death, bool)
- func ParseLine(line string) (combat.Event, bool)
- func ParseTime(line string) (time.Time, bool)
- func ParseTimestamp(line string) (time.Time, bool)
- type ExperienceGain
- type InventoryExport
- type ItemRemoval
- type KillReward
- type LevelUp
- type Loot
- type LootOutcome
- type Record
- type RecordKind
- type TradeCancel
- type TradeComplete
- type TradeOffer
- type WhoResult
- type ZoneChange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExperienceGain ¶
func ParseExperienceLine ¶
func ParseExperienceLine(line string) (ExperienceGain, bool)
type InventoryExport ¶ added in v0.1.3
type ItemRemoval ¶
func ParseItemRemovalLine ¶
func ParseItemRemovalLine(line string) (ItemRemoval, bool)
type KillReward ¶ added in v0.2.2
type LevelUp ¶
func ParseLevelUpLine ¶
type Loot ¶
type Loot struct {
Time time.Time
Item string
Corpse string
Quantity int
Outcome LootOutcome
Created string
}
func ParseLootLine ¶
type LootOutcome ¶
type LootOutcome uint8
const ( LootRetained LootOutcome = iota + 1 LootStored LootSold LootConverted )
type Record ¶
type Record struct {
Time time.Time
Kind RecordKind
Cast combat.Cast
Damage combat.Event
Experience ExperienceGain
LevelUp LevelUp
Death combat.Death
ZoneChange ZoneChange
Loot Loot
Removal ItemRemoval
TradeOffer TradeOffer
TradeDone TradeComplete
TradeCancel TradeCancel
Who WhoResult
Export InventoryExport
KillReward KillReward
}
Record is one timestamped EverQuest log entry. Unknown records retain their timestamp so session timing can observe log activity without reparsing lines.
func ParseRecord ¶
type RecordKind ¶
type RecordKind uint8
const ( RecordUnknown RecordKind = iota RecordCast RecordDamage RecordExperience RecordLevelUp RecordAggroClear RecordDeath RecordZoneChange RecordLoot RecordItemRemoval RecordTradeOffer RecordTradeComplete RecordTradeCancel RecordWho RecordInventoryExport RecordKillReward )
type TradeCancel ¶
type TradeComplete ¶
type WhoResult ¶ added in v0.1.3
type WhoResult struct {
Time time.Time
Level int
Classes []string
Name string
Race string
Guild string
Anonymous bool
}
func ParseWhoLine ¶ added in v0.1.3
type ZoneChange ¶
func ParseZoneChangeLine ¶
func ParseZoneChangeLine(line string) (ZoneChange, bool)
Click to show internal directories.
Click to hide internal directories.