Documentation
¶
Overview ¶
Descriptor module for version 3368 (Alpha)
Index ¶
- type ContainerData
- type ContainerDescriptor
- type CorpseData
- type CorpseDescriptor
- type DynamicObjectData
- type DynamicObjectDescriptor
- type GameObjectData
- type GameObjectDescriptor
- type ItemData
- type ItemDescriptor
- type ObjectData
- type PlayerData
- type PlayerDescriptor
- type UnitData
- type UnitDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerData ¶
type ContainerDescriptor ¶
type ContainerDescriptor struct {
ObjectData
ItemData
ContainerData
}
type CorpseData ¶
type CorpseData struct {
Owner guid.GUID
Facing float32
PosX float32
PosY float32
PosZ float32
DisplayID uint32
Item [19]uint32
PlayerUnk uint8
Race uint8
Gender uint8
Skin uint8
Face uint8
HairStyle uint8
HairColor uint8
FacialHair uint8
Guild uint32
Flags uint32
DynamicFlags uint32
update.ChunkPad
}
type CorpseDescriptor ¶
type CorpseDescriptor struct {
ObjectData
CorpseData
}
type DynamicObjectData ¶
type DynamicObjectDescriptor ¶
type DynamicObjectDescriptor struct {
ObjectData
DynamicObjectData
}
type GameObjectData ¶
type GameObjectDescriptor ¶
type GameObjectDescriptor struct {
ObjectData
GameObjectData
}
type ItemDescriptor ¶
type ItemDescriptor struct {
ObjectData
ItemData
}
type ObjectData ¶
type PlayerData ¶
type PlayerData struct {
InventorySlots [39]guid.GUID `update:"private" offset:"184,0"`
BankSlots [24]guid.GUID `update:"private"`
BankBagSlots [6]guid.GUID `update:"private"`
Selection guid.GUID
FarSight guid.GUID
DuelArbiter guid.GUID
NumInvSlots uint32
GuildID uint32
GuildRank uint32
Skin uint8
Face uint8
HairStyle uint8
HairColor uint8
XP uint32
NextLevelXP uint32
SkillInfos [64]struct {
LineID uint16
Rank uint16
MaxRank uint16
Modifier int16
Step uint16
Pad uint16
} `update:"private"`
PlayerFlags uint8
FacialHair uint8
BankBagSlotCount uint8
RestState uint8
QuestLog [16]struct {
ID uint32
GiverID uint32
RewarderID uint32
Flags uint32
CountState uint32
Time uint32
}
CharacterPoints [2]uint32 `update:"private"`
TrackCreatures uint32 `update:"private"`
TrackResources uint32 `update:"private"`
ChatFilters uint32
PlayerDuelTeam uint32
BlockPercentage float32
DodgePercentage float32
ParryPercentage float32
BaseMana uint32 `offset:"632,0"`
GuildTimestamp uint32
}
type PlayerDescriptor ¶
type PlayerDescriptor struct {
ObjectData
UnitData
PlayerData
}
type UnitData ¶
type UnitData struct {
Charm guid.GUID
Summon guid.GUID
CharmedBy guid.GUID
SummonedBy guid.GUID
CreatedBy guid.GUID
Target guid.GUID
Persuaded guid.GUID
ChannelObject guid.GUID
Health uint32
Mana uint32
Rage uint32
Focus uint32
Energy uint32
MaxHealth uint32
MaxMana uint32
MaxRage uint32
MaxFocus uint32
MaxEnergy uint32
Level uint32
FactionTemplate uint32
Race uint8
Class uint8
Gender uint8
Power uint8
Stats [5]uint32
BaseStats [5]uint32
VirtualItemSlotIDs [3]uint32
VirtualItemInfos [6]uint32
// Unit flags
ServerControlled bool // 0x1
NonAttackable bool // 0x2
RemoveClientControl bool // 0x4
PlayerControlled bool // 0x8
Rename bool // 0x10
PetAbandon bool // 0x20
Unk6 bool // 0x40
Resting bool // 0x80
OOCNotAttackable bool // 0x100
Passive bool // 0x200
Looting bool // 0x400
PetInCombat bool // 0x800
MountIcon bool // 0x1000
Mount bool // 0x2000
Dead bool // 0x4000
Sneak bool // 0x8000
Ghost bool // 0x10000
IsPacified bool // 0x20000
IsStunned bool // 0x40000
InCombat bool // 0x80000
InTaxiFlight bool // 0x100000
Disarmed bool // 0x200000
Confused bool // 0x400000
Fleeing bool // 0x800000
Possessed bool // 0x1000000
NotSelectable bool // 0x2000000
Skinnable bool // 0x4000000
AurasVisible bool // 0x8000000
Unk28 bool // 0x10000000
Unk29 bool // 0x20000000
Sheathe bool // 0x40000000
NoKillReward bool // 0x80000000
Coinage int32
Auras [56]uint32
AuraFlags [56 / 2]byte
AuraState uint32
ModDamageDonePositive [6]uint32
ModDamageDoneNegative [6]uint32
ModDamageDonePercentage [8]float32
BaseAttackTime uint32
OffhandAttackTime uint32
Resistances [6]uint32
BoundingRadius float32
CombatReach float32
WeaponReach float32
DisplayID uint32
MountDisplayID uint32
Damage float32
ResistanceBuffModsPositive [6]uint32
ResistanceBuffModsNegative [6]uint32
ResistanceItemMods [6]uint32
StandState uint8
// Contains flags for gossip, taxi menu
NPCFlags uint8
ShapeshiftForm uint8
StandMiscFlags uint8
PetNumber uint32
PetNameTimestamp uint32
PetExperience uint32
PetNextLevelExp uint32
DynamicFlags uint32
EmoteState uint32
ChannelSpell uint32
ModCastSpeed float32
CreatedBySpell uint32
ComboPoints uint8
EndBytes2 update.ChunkPad
EndPadding update.ChunkPad
}
type UnitDescriptor ¶
type UnitDescriptor struct {
ObjectData
UnitData
}
Click to show internal directories.
Click to hide internal directories.