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)
- type ExperienceGain
- type ItemRemoval
- type LevelUp
- type Loot
- type LootOutcome
- type Record
- type RecordKind
- type TradeCancel
- type TradeComplete
- type TradeOffer
- 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 ItemRemoval ¶
func ParseItemRemovalLine ¶
func ParseItemRemovalLine(line string) (ItemRemoval, bool)
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
}
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 )
type TradeCancel ¶
type TradeComplete ¶
type ZoneChange ¶
func ParseZoneChangeLine ¶
func ParseZoneChangeLine(line string) (ZoneChange, bool)
Click to show internal directories.
Click to hide internal directories.