Documentation ¶
Index ¶
- type CacheIdentifier
- type CacheSerializer
- type Item
- func (t *Item) AugRestrictStr() string
- func (t *Item) AugRestrictType(val int32) string
- func (t *Item) AugSlotStr() string
- func (t *Item) BagTypeStr() string
- func (t *Item) BagsizeStr() string
- func (t *Item) BaneDamageTypeStr() string
- func (t *Item) BardTypeStr() string
- func (t *Item) ClassesStr() string
- func (t *Item) DamageBonus() int
- func (t *Item) DecodeDiscoveredItem(in mysqlc.ItemDiscoveredOnlyByIDRow)
- func (t *Item) DecodeItem(in mysqlc.Item)
- func (t *Item) DecodeItemsAll(in mysqlc.ItemsAllRow)
- func (t *Item) DeityStr() string
- func (t *Item) Deserialize(data string) error
- func (t *Item) EleDamageTypeStr() string
- func (t *Item) Expiration() int64
- func (t *Item) ExtraDamageSkillStr() string
- func (t *Item) IconUrl() string
- func (t *Item) Identifier() string
- func (t *Item) ItemTypeStr() string
- func (t *Item) Key() string
- func (t *Item) MarshalJSON() ([]byte, error)
- func (t *Item) ProcRateTotal() int32
- func (t *Item) RaceStr() string
- func (t *Item) Serialize() string
- func (t *Item) SetExpiration(expiration int64)
- func (t *Item) SetKey(key string)
- func (t *Item) SizeStr() string
- func (t *Item) SkillModTypeStr() string
- func (t *Item) SlotStr() string
- func (t *Item) TagStr() string
- func (t *Item) TypeStr() string
- type ItemQuest
- func (t *ItemQuest) ComponentEntries() []*ItemQuestEntry
- func (t *ItemQuest) Deserialize(data string) error
- func (t *ItemQuest) Expiration() int64
- func (t *ItemQuest) Identifier() string
- func (t *ItemQuest) Key() string
- func (t *ItemQuest) RewardEntries() []*ItemQuestEntry
- func (t *ItemQuest) Serialize() string
- func (t *ItemQuest) SetExpiration(expiration int64)
- func (t *ItemQuest) SetKey(key string)
- type ItemQuestEntry
- type ItemRecipe
- func (t *ItemRecipe) ComponentEntries() []*ItemRecipeEntry
- func (t *ItemRecipe) Deserialize(data string) error
- func (t *ItemRecipe) Expiration() int64
- func (t *ItemRecipe) Identifier() string
- func (t *ItemRecipe) Key() string
- func (t *ItemRecipe) Serialize() string
- func (t *ItemRecipe) SetExpiration(expiration int64)
- func (t *ItemRecipe) SetKey(key string)
- func (t *ItemRecipe) SuccessEntries() []*ItemRecipeEntry
- type ItemRecipeEntry
- type ItemScore
- type ItemScoreEntry
- type ItemSearch
- type Npc
- func (t *Npc) ClassStr() string
- func (t *Npc) CleanName() string
- func (t *Npc) DecodeNpcType(in mysqlc.NpcType)
- func (t *Npc) Deserialize(data string) error
- func (t *Npc) Expiration() int64
- func (t *Npc) Identifier() string
- func (t *Npc) Key() string
- func (t *Npc) NpcSpecialAttacksStr() string
- func (t *Npc) RaceStr() string
- func (t *Npc) Serialize() string
- func (t *Npc) SetExpiration(expiration int64)
- func (t *Npc) SetKey(key string)
- func (t *Npc) ZoneID() int32
- type NpcFaction
- type NpcFactionEntry
- type NpcLoot
- type NpcLootEntry
- type NpcMerchant
- func (t *NpcMerchant) Deserialize(data string) error
- func (t *NpcMerchant) Expiration() int64
- func (t *NpcMerchant) Identifier() string
- func (t *NpcMerchant) Key() string
- func (t *NpcMerchant) Serialize() string
- func (t *NpcMerchant) SetExpiration(expiration int64)
- func (t *NpcMerchant) SetKey(key string)
- type NpcMerchantEntry
- type NpcQuest
- type NpcQuestEntry
- type NpcSearch
- type NpcSpawn
- type NpcSpawnEntry
- type NpcSpell
- type NpcSpellEntry
- type Player
- func (t *Player) ClassStr() string
- func (t *Player) DecodeCharacterDatum(in mysqlc.CharacterDatum)
- func (t *Player) Deserialize(data string) error
- func (t *Player) Expiration() int64
- func (t *Player) IconUrl() string
- func (t *Player) Identifier() string
- func (t *Player) Key() string
- func (t *Player) RaceStr() string
- func (t *Player) Serialize() string
- func (t *Player) SetExpiration(expiration int64)
- func (t *Player) SetKey(key string)
- type Quest
- type QuestEntry
- type QuestSearch
- type Spell
- type SpellSearch
- type Zone
- type ZoneSearch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheIdentifier ¶
type CacheSerializer ¶
type Item ¶
type Item struct { CacheKey string `json:"-"` CacheExpiration int64 `json:"-"` ID int32 `json:"id"` Minstatus int16 `json:"-"` Name string `json:"name"` Aagi int32 `json:"agi,omitempty"` Ac int32 `json:"ac,omitempty"` Accuracy int32 `json:"accuracy,omitempty"` Acha int32 `json:"cha,omitempty"` Adex int32 `json:"dex,omitempty"` Aint int32 `json:"int,omitempty"` Artifactflag uint8 `json:"artifact_flag,omitempty"` Asta int32 `json:"sta,omitempty"` Astr int32 `json:"str,omitempty"` Attack int32 `json:"attack,omitempty"` Augrestrict int32 `json:"augment_restrictions,omitempty"` Augslot1type int8 `json:"augment_slot_1_type,omitempty"` Augslot1visible int8 `json:"-"` Augslot2type int8 `json:"augment_slot_2_type,omitempty"` Augslot2visible int8 `json:"-"` Augslot3type int8 `json:"augment_slot_3_type,omitempty"` Augslot3visible int8 `json:"-"` Augslot4type int8 `json:"augment_slot_4_type,omitempty"` Augslot4visible int8 `json:"-"` Augslot5type int8 `json:"augment_slot_5_type,omitempty"` Augslot5visible int8 `json:"-"` Augslot6type int8 `json:"augment_slot_6_type,omitempty"` Augslot6visible int8 `json:"-"` Augtype int32 `json:"augment_type,omitempty"` Avoidance int32 `json:"avoidance,omitempty"` Awis int32 `json:"wis,omitempty"` Bagsize int32 `json:"bag_size,omitempty"` Bagslots int32 `json:"bag_slots,omitempty"` Bagtype int32 `json:"bag_type,omitempty"` Bagwr int32 `json:"bag_weight_reduction,omitempty"` Banedmgamt int32 `json:"bane_damage_amount,omitempty"` Banedmgraceamt int32 `json:"bane_damage_race_amount,omitempty"` Banedmgbody int32 `json:"bane_damage_body_amount,omitempty"` Banedmgrace int32 `json:"bane_damage_race,omitempty"` Bardtype int32 `json:"bard_type,omitempty"` Bardvalue int32 `json:"bard_value,omitempty"` Book int32 `json:"book,omitempty"` Casttime int32 `json:"cast_time,omitempty"` Charmfile string `json:"-"` Charmfileid string `json:"-"` Classes int32 `json:"classes,omitempty"` Color uint32 `json:"-"` Combateffects string `json:"combat_effects,omitempty"` Extradmgskill int32 `json:"extra_damage_skill,omitempty"` Extradmgamt int32 `json:"extra_damage_race,omitempty"` Price int32 `json:"-"` Cr int32 `json:"cold_resist,omitempty"` Damage int32 `json:"damage,omitempty"` Damageshield int32 `json:"damage_shield,omitempty"` Deity int32 `json:"deity,omitempty"` Delay int32 `json:"delay,omitempty"` Augdistiller uint32 `json:"augment_distiller,omitempty"` Dotshielding int32 `json:"dot_shielding,omitempty"` Dr int32 `json:"disease_resist,omitempty"` Clicktype int32 `json:"click_type,omitempty"` Clicklevel2 int32 `json:"click_level_2,omitempty"` Elemdmgtype int32 `json:"elemental_damage_type,omitempty"` Elemdmgamt int32 `json:"elemental_damage_race,omitempty"` Endur int32 `json:"endurance,omitempty"` Factionamt1 int32 `json:"faction_amount_1,omitempty"` Factionamt2 int32 `json:"faction_amount_2,omitempty"` Factionamt3 int32 `json:"faction_amount_3,omitempty"` Factionamt4 int32 `json:"faction_amount_4,omitempty"` Factionmod1 int32 `json:"faction_mod_1,omitempty"` Factionmod2 int32 `json:"faction_mod_2,omitempty"` Factionmod3 int32 `json:"faction_mod_3,omitempty"` Factionmod4 int32 `json:"faction_mod_4,omitempty"` Filename string `json:"-"` Focuseffect int32 `json:"focus_effect,omitempty"` Fr int32 `json:"fire_resist,omitempty"` Fvnodrop int32 `json:"fv_no_drop,omitempty"` Haste int32 `json:"haste,omitempty"` Clicklevel int32 `json:"click_level,omitempty"` Hp int32 `json:"hp,omitempty"` Regen int32 `json:"regen,omitempty"` Icon int32 `json:"icon,omitempty"` Idfile string `json:"-"` Itemclass int32 `json:"item_class,omitempty"` Itemtype int32 `json:"item_type,omitempty"` Ldonprice int32 `json:"-"` Ldontheme int32 `json:"-"` Ldonsold int32 `json:"-"` Light int32 `json:"light,omitempty"` Lore string `json:"lore,omitempty"` Loregroup int32 `json:"-"` Magic int32 `json:"magic,omitempty"` Mana int32 `json:"mana,omitempty"` Manaregen int32 `json:"mana_regen,omitempty"` Enduranceregen int32 `json:"endurance_regen,omitempty"` Material int32 `json:"-"` Herosforgemodel int32 `json:"-"` Maxcharges int32 `json:"maxcharges,omitempty"` Mr int32 `json:"magic_resist,omitempty"` Nodrop int32 `json:"no_drop,omitempty"` Norent int32 `json:"no_rent,omitempty"` Pendingloreflag uint8 `json:"pending_lore_flag,omitempty"` Pr int32 `json:"poison_resist,omitempty"` Procrate int32 `json:"-"` Races int32 `json:"races,omitempty"` Range int32 `json:"range,omitempty"` Reclevel int32 `json:"rec_level,omitempty"` Recskill int32 `json:"rec_skill,omitempty"` Reqlevel int32 `json:"req_level,omitempty"` Sellrate float64 `json:"-"` Shielding int32 `json:"shielding,omitempty"` Size int32 `json:"size"` Skillmodtype int32 `json:"skill_mod_type,omitempty"` Skillmodvalue int32 `json:"skill_mod_value,omitempty"` Slots int32 `json:"slots,omitempty"` Clickeffect int32 `json:"click_effect,omitempty"` Spellshield int32 `json:"spellshield,omitempty"` Strikethrough int32 `json:"strikethrough,omitempty"` Stunresist int32 `json:"stunresist,omitempty"` Summonedflag uint8 `json:"summoned_flag,omitempty"` Tradeskills int32 `json:"tradeskills,omitempty"` Favor int32 `json:"-"` Weight int32 `json:"weight,omitempty"` Unk012 int32 `json:"-"` Unk013 int32 `json:"-"` Benefitflag int32 `json:"benefit_flag,omitempty"` Unk054 int32 `json:"-"` Unk059 int32 `json:"-"` Booktype int32 `json:"book_type,omitempty"` Recastdelay int32 `json:"recast_delay,omitempty"` Recasttype int32 `json:"recast_type,omitempty"` Guildfavor int32 `json:"-"` Unk123 int32 `json:"-"` Unk124 int32 `json:"-"` Attuneable int32 `json:"attuneable,omitempty"` Nopet int32 `json:"-"` Updated sql.NullTime `json:"-"` Comment string `json:"-"` Unk127 int32 `json:"-"` Pointtype int32 `json:"-"` Potionbelt int32 `json:"-"` Potionbeltslots int32 `json:"-"` Stacksize int32 `json:"-"` Notransfer int32 `json:"no_transfer,omitempty"` Stackable int32 `json:"-"` Unk134 string `json:"-"` Unk137 int32 `json:"-"` Proceffect int32 `json:"proc_effect,omitempty"` Proctype int32 `json:"proc_type,omitempty"` Proclevel2 int32 `json:"proc_level_2,omitempty"` Proclevel int32 `json:"proc_level,omitempty"` Unk142 int32 `json:"-"` Worneffect int32 `json:"worn_effect,omitempty"` Worntype int32 `json:"worn_type,omitempty"` Wornlevel2 int32 `json:"worn_level_2,omitempty"` Wornlevel int32 `json:"worn_level,omitempty"` Unk147 int32 `json:"-"` Focustype int32 `json:"focus_type,omitempty"` Focuslevel2 int32 `json:"focus_level_2,omitempty"` Focuslevel int32 `json:"focus_level,omitempty"` Unk152 int32 `json:"-"` Scrolleffect int32 `json:"-"` Scrolltype int32 `json:"-"` Scrolllevel2 int32 `json:"-"` Scrolllevel int32 `json:"-"` Unk157 int32 `json:"-"` Serialized sql.NullTime `json:"-"` Verified sql.NullTime `json:"-"` Serialization sql.NullString `json:"-"` Source string `json:"-"` Unk033 int32 `json:"-"` Lorefile string `json:"-"` Unk014 int32 `json:"-"` Svcorruption int32 `json:"resist_corruption,omitempty"` Skillmodmax int32 `json:"skill_mod_max,omitempty"` Unk060 int32 `json:"-"` Augslot1unk2 int32 `json:"-"` Augslot2unk2 int32 `json:"-"` Augslot3unk2 int32 `json:"-"` Augslot4unk2 int32 `json:"-"` Augslot5unk2 int32 `json:"-"` Augslot6unk2 int32 `json:"-"` Unk120 int32 `json:"-"` Unk121 int32 `json:"-"` Questitemflag int32 `json:"quest_item_flag,omitempty"` Unk132 sql.NullString `json:"-"` Clickunk5 int32 `json:"-"` Clickunk6 string `json:"-"` Clickunk7 int32 `json:"-"` Procunk1 int32 `json:"-"` Procunk2 int32 `json:"-"` Procunk3 int32 `json:"-"` Procunk4 int32 `json:"-"` Procunk6 string `json:"-"` Procunk7 int32 `json:"-"` Wornunk1 int32 `json:"-"` Wornunk2 int32 `json:"-"` Wornunk3 int32 `json:"-"` Wornunk4 int32 `json:"-"` Wornunk5 int32 `json:"-"` Wornunk6 string `json:"-"` Wornunk7 int32 `json:"-"` Focusunk1 int32 `json:"-"` Focusunk2 int32 `json:"-"` Focusunk3 int32 `json:"-"` Focusunk4 int32 `json:"-"` Focusunk5 int32 `json:"-"` Focusunk6 string `json:"-"` Focusunk7 int32 `json:"-"` Scrollunk1 uint32 `json:"-"` Scrollunk2 int32 `json:"-"` Scrollunk3 int32 `json:"-"` Scrollunk4 int32 `json:"-"` Scrollunk5 int32 `json:"-"` Scrollunk6 string `json:"-"` Scrollunk7 int32 `json:"-"` Unk193 int32 `json:"-"` Purity int32 `json:"purity,omitempty"` Evoitem int32 `json:"evolving_item,omitempty"` Evoid int32 `json:"evolving_id,omitempty"` Evolvinglevel int32 `json:"evolving_level,omitempty"` Evomax int32 `json:"evolving_max,omitempty"` Clickname string `json:"click_name,omitempty"` Procname string `json:"proc_name,omitempty"` Wornname string `json:"worn_name,omitempty"` Focusname string `json:"focus_name,omitempty"` Scrollname string `json:"scroll_name,omitempty"` Dsmitigation int16 `json:"damage_shield_mitigation,omitempty"` HeroicStr int16 `json:"heroic_str,omitempty"` HeroicInt int16 `json:"heroic_int,omitempty"` HeroicWis int16 `json:"heroic_wis,omitempty"` HeroicAgi int16 `json:"heroic_agi,omitempty"` HeroicDex int16 `json:"heroic_dex,omitempty"` HeroicSta int16 `json:"heroic_sta,omitempty"` HeroicCha int16 `json:"heroic_cha,omitempty"` HeroicPr int16 `json:"heroic_poison_resist,omitempty"` HeroicDr int16 `json:"heroic_disease_resist,omitempty"` HeroicFr int16 `json:"heroic_fire_resist,omitempty"` HeroicCr int16 `json:"heroic_cold_resist,omitempty"` HeroicMr int16 `json:"heroic_magic_resist,omitempty"` HeroicSvcorrup int16 `json:"heroic_corruption_resist,omitempty"` Healamt int16 `json:"heal_amount,omitempty"` Spelldmg int16 `json:"spell_damage,omitempty"` Clairvoyance int16 `json:"clairvoyance,omitempty"` Backstabdmg int16 `json:"backstab_damage,omitempty"` Created string `json:"-"` Elitematerial int16 `json:"-"` Ldonsellbackrate int16 `json:"-"` Scriptfileid int32 `json:"-"` Expendablearrow int16 `json:"-"` Powersourcecapacity int32 `json:"-"` Bardeffect int32 `json:"-"` Bardeffecttype int16 `json:"-"` Bardlevel2 int16 `json:"-"` Bardlevel int16 `json:"-"` Bardunk1 int16 `json:"-"` Bardunk2 int16 `json:"-"` Bardunk3 int16 `json:"-"` Bardunk4 int16 `json:"-"` Bardunk5 int16 `json:"-"` Bardname string `json:"-"` Bardunk7 int16 `json:"-"` Unk214 int16 `json:"-"` Subtype int32 `json:"-"` Unk220 int32 `json:"-"` Unk221 int32 `json:"-"` Heirloom int32 `json:"heirloom,omitempty"` Unk223 int32 `json:"-"` Unk224 int32 `json:"-"` Unk225 int32 `json:"-"` Unk226 int32 `json:"-"` Unk227 int32 `json:"-"` Unk228 int32 `json:"-"` Unk229 int32 `json:"-"` Unk230 int32 `json:"-"` Unk231 int32 `json:"-"` Unk232 int32 `json:"-"` Unk233 int32 `json:"-"` Unk234 int32 `json:"-"` Placeable int32 `json:"placeable,omitempty"` Unk236 int32 `json:"-"` Unk237 int32 `json:"-"` Unk238 int32 `json:"-"` Unk239 int32 `json:"-"` Unk240 int32 `json:"-"` Unk241 int32 `json:"-"` Epicitem int32 `json:"-"` ItemID uint32 `json:"item_id,omitempty"` CharName string `json:"-"` DiscoveredDate uint32 `json:"-"` AccountStatus int32 `json:"-"` }
func (*Item) AugRestrictStr ¶
func (*Item) AugRestrictType ¶
func (*Item) AugSlotStr ¶
func (*Item) BagTypeStr ¶
func (*Item) BagsizeStr ¶
func (*Item) BaneDamageTypeStr ¶
func (*Item) BardTypeStr ¶
func (*Item) ClassesStr ¶
func (*Item) DamageBonus ¶
func (*Item) DecodeDiscoveredItem ¶
func (t *Item) DecodeDiscoveredItem(in mysqlc.ItemDiscoveredOnlyByIDRow)
func (*Item) DecodeItem ¶
func (*Item) DecodeItemsAll ¶
func (t *Item) DecodeItemsAll(in mysqlc.ItemsAllRow)
func (*Item) Deserialize ¶
func (*Item) EleDamageTypeStr ¶
func (*Item) Expiration ¶
func (*Item) ExtraDamageSkillStr ¶
func (*Item) Identifier ¶
func (*Item) ItemTypeStr ¶
func (*Item) MarshalJSON ¶
MarshalJSON implements a custom item marshaler for displaying the item with JSON encoding.
func (*Item) ProcRateTotal ¶
func (*Item) SetExpiration ¶
func (*Item) SkillModTypeStr ¶
type ItemQuest ¶
type ItemQuest struct { ItemID int64 Entries []*ItemQuestEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*ItemQuest) ComponentEntries ¶
func (t *ItemQuest) ComponentEntries() []*ItemQuestEntry
func (*ItemQuest) Deserialize ¶
func (*ItemQuest) Expiration ¶
func (*ItemQuest) Identifier ¶
func (*ItemQuest) RewardEntries ¶
func (t *ItemQuest) RewardEntries() []*ItemQuestEntry
func (*ItemQuest) SetExpiration ¶
type ItemQuestEntry ¶
type ItemQuestEntry struct { ItemID int64 `db:"item_id"` ItemName string `db:"item_name"` NpcID int64 `db:"npc_id"` NpcName string `db:"npc_name"` ZoneID int32 `db:"zone_id"` UseCase string `db:"use_case"` QuestID int64 `db:"quest_id"` QuestName string `db:"quest_name"` Zone *Zone }
func (*ItemQuestEntry) NpcCleanName ¶
func (t *ItemQuestEntry) NpcCleanName() string
type ItemRecipe ¶
type ItemRecipe struct { ItemID int64 Entries []*ItemRecipeEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*ItemRecipe) ComponentEntries ¶
func (t *ItemRecipe) ComponentEntries() []*ItemRecipeEntry
func (*ItemRecipe) Deserialize ¶
func (t *ItemRecipe) Deserialize(data string) error
func (*ItemRecipe) Expiration ¶
func (t *ItemRecipe) Expiration() int64
func (*ItemRecipe) Identifier ¶
func (t *ItemRecipe) Identifier() string
func (*ItemRecipe) Key ¶
func (t *ItemRecipe) Key() string
func (*ItemRecipe) Serialize ¶
func (t *ItemRecipe) Serialize() string
func (*ItemRecipe) SetExpiration ¶
func (t *ItemRecipe) SetExpiration(expiration int64)
func (*ItemRecipe) SetKey ¶
func (t *ItemRecipe) SetKey(key string)
func (*ItemRecipe) SuccessEntries ¶
func (t *ItemRecipe) SuccessEntries() []*ItemRecipeEntry
type ItemRecipeEntry ¶
type ItemRecipeEntry struct { RecipeID int32 RecipeName string Tradeskill int16 Trivial int16 ItemID int32 IsContainer bool ComponentCount int8 SuccessCount int8 }
func (*ItemRecipeEntry) DecodeItemRecipeEntry ¶
func (t *ItemRecipeEntry) DecodeItemRecipeEntry(in mysqlc.ItemRecipeAllRow)
type ItemScore ¶
type ItemScore struct { Entries []*ItemScoreEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*ItemScore) Deserialize ¶
func (*ItemScore) Expiration ¶
func (*ItemScore) Identifier ¶
func (*ItemScore) SetExpiration ¶
type ItemScoreEntry ¶
type ItemSearch ¶
type Npc ¶
type Npc struct { CacheKey string `db:"key"` CacheExpiration int64 `db:"expiration"` ID int32 Name string Lastname sql.NullString Level uint8 Race uint16 Class uint8 Bodytype int32 Hp int64 Mana int64 Gender uint8 Texture uint8 Helmtexture uint8 Herosforgemodel int32 Size float64 HpRegenRate int64 HpRegenPerSecond int64 ManaRegenRate int64 LoottableID uint32 MerchantID uint32 AltCurrencyID uint32 NpcSpellsID uint32 NpcSpellsEffectsID uint32 NpcFactionID int32 AdventureTemplateID uint32 TrapTemplate sql.NullInt32 Mindmg uint32 Maxdmg uint32 AttackCount int16 Npcspecialattks string SpecialAbilities sql.NullString Aggroradius uint32 Assistradius uint32 Face uint32 LuclinHairstyle uint32 LuclinHaircolor uint32 LuclinEyecolor uint32 LuclinEyecolor2 uint32 LuclinBeardcolor uint32 LuclinBeard uint32 DrakkinHeritage int32 DrakkinTattoo int32 DrakkinDetails int32 ArmortintID uint32 ArmortintRed uint8 ArmortintGreen uint8 ArmortintBlue uint8 DMeleeTexture1 uint32 DMeleeTexture2 uint32 AmmoIdfile string PrimMeleeType uint8 SecMeleeType uint8 RangedType uint8 Runspeed float64 Mr int16 Cr int16 Dr int16 Fr int16 Pr int16 Corrup int16 Phr uint16 SeeInvis int16 SeeInvisUndead int16 Qglobal uint32 Ac int16 NpcAggro int8 SpawnLimit int8 AttackSpeed float64 AttackDelay uint8 Findable int8 Str uint32 Sta uint32 Dex uint32 Agi uint32 Int uint32 Wis uint32 Cha uint32 SeeHide int8 SeeImprovedHide int8 Trackable int8 Isbot int8 Exclude int8 Atk int32 Accuracy int32 Avoidance uint32 SlowMitigation int16 Version uint16 Maxlevel int8 Scalerate int32 PrivateCorpse uint8 UniqueSpawnByName uint8 Underwater uint8 Isquest int8 Emoteid uint32 Spellscale float64 Healscale float64 NoTargetHotkey bool RaidTarget bool Armtexture int8 Bracertexture int8 Handtexture int8 Legtexture int8 Feettexture int8 Light int8 Walkspeed int8 Peqid int32 Unique int8 Fixed int8 IgnoreDespawn int8 ShowName int8 Untargetable int8 CharmAc sql.NullInt16 CharmMinDmg sql.NullInt32 CharmMaxDmg sql.NullInt32 CharmAttackDelay sql.NullInt16 CharmAccuracyRating sql.NullInt32 CharmAvoidanceRating sql.NullInt32 CharmAtk sql.NullInt32 SkipGlobalLoot sql.NullInt16 RareSpawn int16 StuckBehavior int8 Model int16 Flymode int8 AlwaysAggro bool ExpMod int32 HeroicStrikethrough int32 FactionAmount int32 KeepsSoldItems bool }
func (*Npc) DecodeNpcType ¶
func (*Npc) Deserialize ¶
func (*Npc) Expiration ¶
func (*Npc) Identifier ¶
func (*Npc) NpcSpecialAttacksStr ¶
func (*Npc) SetExpiration ¶
type NpcFaction ¶
type NpcFaction struct { Entries []*NpcFactionEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*NpcFaction) Deserialize ¶
func (t *NpcFaction) Deserialize(data string) error
func (*NpcFaction) Expiration ¶
func (t *NpcFaction) Expiration() int64
func (*NpcFaction) Identifier ¶
func (t *NpcFaction) Identifier() string
func (*NpcFaction) Key ¶
func (t *NpcFaction) Key() string
func (*NpcFaction) Serialize ¶
func (t *NpcFaction) Serialize() string
func (*NpcFaction) SetExpiration ¶
func (t *NpcFaction) SetExpiration(expiration int64)
func (*NpcFaction) SetKey ¶
func (t *NpcFaction) SetKey(key string)
type NpcFactionEntry ¶
func (*NpcFactionEntry) DecodeNpcFactionsByFactionIDRow ¶
func (t *NpcFactionEntry) DecodeNpcFactionsByFactionIDRow(row mysqlc.NpcFactionsByFactionIDRow)
type NpcLoot ¶
type NpcLoot struct { Entries []*NpcLootEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*NpcLoot) Deserialize ¶
func (*NpcLoot) Expiration ¶
func (*NpcLoot) Identifier ¶
func (*NpcLoot) SetExpiration ¶
type NpcLootEntry ¶
type NpcLootEntry struct { ID int32 Name string Itemtype int32 Chance float64 Probability float64 LootdropID uint32 Multiplier uint8 }
func (*NpcLootEntry) ChanceGlobal ¶
func (t *NpcLootEntry) ChanceGlobal() int
func (*NpcLootEntry) DecodeNpcLoots ¶
func (t *NpcLootEntry) DecodeNpcLoots(in mysqlc.NpcLootsByLootTableIDRow)
func (*NpcLootEntry) DecodeNpcLootsDiscoveredOnly ¶
func (t *NpcLootEntry) DecodeNpcLootsDiscoveredOnly(in mysqlc.NpcLootsDiscoveredOnlyByLootTableIDRow)
func (*NpcLootEntry) ItemTypeStr ¶
func (t *NpcLootEntry) ItemTypeStr() string
type NpcMerchant ¶
type NpcMerchant struct { Entries []*NpcMerchantEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*NpcMerchant) Deserialize ¶
func (t *NpcMerchant) Deserialize(data string) error
func (*NpcMerchant) Expiration ¶
func (t *NpcMerchant) Expiration() int64
func (*NpcMerchant) Identifier ¶
func (t *NpcMerchant) Identifier() string
func (*NpcMerchant) Key ¶
func (t *NpcMerchant) Key() string
func (*NpcMerchant) Serialize ¶
func (t *NpcMerchant) Serialize() string
func (*NpcMerchant) SetExpiration ¶
func (t *NpcMerchant) SetExpiration(expiration int64)
func (*NpcMerchant) SetKey ¶
func (t *NpcMerchant) SetKey(key string)
type NpcMerchantEntry ¶
func (*NpcMerchantEntry) DecodeNpcMerchantsByMerchantIDRow ¶
func (t *NpcMerchantEntry) DecodeNpcMerchantsByMerchantIDRow(in mysqlc.NpcMerchantsByMerchantIDRow)
type NpcQuest ¶
type NpcQuest struct { ID int64 Entries []*NpcQuestEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*NpcQuest) Deserialize ¶
func (*NpcQuest) Expiration ¶
func (*NpcQuest) Identifier ¶
func (*NpcQuest) SetExpiration ¶
type NpcQuestEntry ¶
type NpcSpawn ¶
type NpcSpawn struct { Entries []*NpcSpawnEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*NpcSpawn) Deserialize ¶
func (*NpcSpawn) Expiration ¶
func (*NpcSpawn) Identifier ¶
func (*NpcSpawn) SetExpiration ¶
type NpcSpawnEntry ¶
type NpcSpawnEntry struct { LongName string ShortName sql.NullString X float64 Y float64 Z float64 Spawngroup string Spawngroupid int32 Respawntime int32 }
func (*NpcSpawnEntry) DecodeNpcSpawns ¶
func (t *NpcSpawnEntry) DecodeNpcSpawns(in mysqlc.NpcSpawnsByNpcIDRow)
type NpcSpell ¶
type NpcSpell struct { Entries []*NpcSpellEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*NpcSpell) Deserialize ¶
func (*NpcSpell) Expiration ¶
func (*NpcSpell) Identifier ¶
func (*NpcSpell) SetExpiration ¶
type NpcSpellEntry ¶
type NpcSpellEntry struct { ID uint32 Name sql.NullString ProcChance int8 AttackProc int16 RangeProc int16 RprocChance int16 DefensiveProc int16 DprocChance int16 Npcspellid int `db:"npc_spells_id"` Spellid int `db:"spellid"` }
func (*NpcSpellEntry) DecodeNpcSpells ¶
func (t *NpcSpellEntry) DecodeNpcSpells(in mysqlc.NpcSpellsByNpcSpellIDRow)
type Player ¶
type Player struct { CacheKey string CacheExpiration int64 ID uint32 AccountID int32 Name string LastName string Title string Suffix string ZoneID uint32 ZoneInstance uint32 Y float64 X float64 Z float64 Heading float64 Gender uint8 Race uint16 Class uint8 Level uint32 Deity uint32 Birthday uint32 LastLogin uint32 TimePlayed uint32 Level2 uint8 Anon uint8 Gm uint8 Face uint32 HairColor uint8 HairStyle uint8 Beard uint8 BeardColor uint8 EyeColor1 uint8 EyeColor2 uint8 DrakkinHeritage uint32 DrakkinTattoo uint32 DrakkinDetails uint32 AbilityTimeSeconds uint8 AbilityNumber uint8 AbilityTimeMinutes uint8 AbilityTimeHours uint8 Exp uint32 ExpEnabled bool AaPointsSpent uint32 AaExp uint32 AaPoints uint32 GroupLeadershipExp uint32 RaidLeadershipExp uint32 GroupLeadershipPoints uint32 RaidLeadershipPoints uint32 Points uint32 CurHp uint32 Mana uint32 Endurance uint32 Intoxication uint32 Str uint32 Sta uint32 Cha uint32 Dex uint32 Int uint32 Agi uint32 Wis uint32 ZoneChangeCount uint32 Toxicity uint32 HungerLevel uint32 ThirstLevel uint32 AbilityUp uint32 LdonPointsGuk uint32 LdonPointsMir uint32 LdonPointsMmc uint32 LdonPointsRuj uint32 LdonPointsTak uint32 LdonPointsAvailable uint32 TributeTimeRemaining uint32 CareerTributePoints uint32 TributePoints uint32 TributeActive uint32 PvpStatus uint8 PvpKills uint32 PvpDeaths uint32 PvpCurrentPoints uint32 PvpCareerPoints uint32 PvpBestKillStreak uint32 PvpWorstDeathStreak uint32 PvpCurrentKillStreak uint32 Pvp2 uint32 PvpType uint32 ShowHelm uint32 GroupAutoConsent uint8 RaidAutoConsent uint8 GuildAutoConsent uint8 LeadershipExpOn uint8 Resttimer uint32 AirRemaining uint32 AutosplitEnabled uint32 Lfp bool Lfg bool Mailkey string Xtargets uint8 Firstlogon int8 EAaEffects uint32 EPercentToAa uint32 EExpendedAaSpent uint32 AaPointsSpentOld uint32 AaPointsOld uint32 ELastInvsnapshot uint32 DeletedAt sql.NullTime }
func (*Player) DecodeCharacterDatum ¶
func (t *Player) DecodeCharacterDatum(in mysqlc.CharacterDatum)
func (*Player) Deserialize ¶
func (*Player) Expiration ¶
func (*Player) Identifier ¶
func (*Player) SetExpiration ¶
type Quest ¶
type Quest struct { ID int64 `db:"id"` Name string `db:"name"` Level int `db:"level"` Icon int `db:"icon"` Entries []*QuestEntry CacheKey string `db:"key"` CacheExpiration int64 }
func (*Quest) Deserialize ¶
func (*Quest) Expiration ¶
func (*Quest) Identifier ¶
func (*Quest) SetExpiration ¶
type QuestEntry ¶
type QuestSearch ¶
type Spell ¶
type Spell struct { ID int32 Name string Player1 string YouCast string OtherCasts string CastOnYou string CastOnOther string SpellFades string Attribs []int32 // effectid Bases []int32 // effect_base_value Calcs []int32 // formula Limits []int32 // effect_limit_value Maxes []int32 // max Classes []int32 // classes Components []int32 ComponentCounts []int32 NoExpendReagents []int32 Deities []int32 Basediff int32 Zonetype int32 Environmenttype int32 Timeofday int32 Castinganim int32 Targetanim int32 Traveltype int32 Spellaffectindex int32 DisallowSit int32 Lighttype int32 Goodeffect int32 Activated int32 Resisttype int32 Icon int32 Memicon int32 Range int32 Aoerange int32 DurationCap int32 DurationCalc int32 Aeduration int32 MaxTargets int32 TargetType int32 Skill int32 RecoveryTime int32 RecastTime int32 Pushback int32 Pushup int32 CastTime int32 TeleportZone string Mana int32 SpellGroup int32 SpellIcon int32 NewIcon int32 Spellanim int32 Uninterruptable int32 Resistdiff int32 DotStackingExempt int32 Field142 int32 Field143 int32 Deleteable int32 Recourselink int32 NoPartialResist int32 Field152 int32 Field153 int32 ShortBuffBox int32 Descnum int32 Typedescnum int32 Effectdescnum int32 Effectdescnum2 int32 NpcNoLos int32 Field160 int32 Reflectable int32 Bonushate int32 Field163 int32 }
func (*Spell) DecodeSpellsNew ¶
func (*Spell) Deserialize ¶
type SpellSearch ¶
type Zone ¶
type Zone struct { Icon int32 ID int32 Zoneidnumber int32 Version uint8 ShortName string LongName string // MinStatus uint8 // MapFileName sql.NullString // Note sql.NullString MinExpansion int8 MaxExpansion int8 // ContentFlags sql.NullString // ContentFlagsDisabled sql.NullString Expansion int8 // FileName sql.NullString // SafeX float64 // SafeY float64 // SafeZ float64 // SafeHeading float64 // GraveyardID float64 MinLevel uint8 MaxLevel uint8 }
func (*Zone) DecodeZone ¶
func (*Zone) Deserialize ¶
Source Files ¶
- cache.go
- item.go
- item_decode.go
- item_quest.go
- item_recipe.go
- item_recipe_decode.go
- item_score.go
- item_search.go
- npc.go
- npc_decode.go
- npc_faction.go
- npc_faction_decode.go
- npc_loot.go
- npc_loot_decode.go
- npc_merchant.go
- npc_merchant_decode.go
- npc_quest.go
- npc_search.go
- npc_spawn.go
- npc_spawn_decode.go
- npc_spell.go
- npc_spell_decode.go
- player.go
- player_decode.go
- quest.go
- quest_search.go
- spell.go
- spell_decode.go
- spell_search.go
- zone.go
- zone_decode.go
- zone_search.go
Click to show internal directories.
Click to hide internal directories.