Documentation
¶
Overview ¶
Descriptor module for protocol 5875 1.12.1 (Vanilla)
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 {
DuelArbiter guid.GUID
GroupLeader bool
AFK bool
DND bool
GM bool
Ghost bool
Resting bool
VoiceChat bool
FFAPVP bool
ContestedPVP bool
PVPDesired bool
HideHelm bool
HideCloak bool
PlayedLongTime bool
PlayedTooLong bool
OutOfBounds bool
GhostEffect bool
Sanctuary bool
TaxiBenchmark bool
PVPTimer bool
PadPlayerFlags update.ChunkPad
GuildID uint32
GuildRank uint32
Skin uint8
Face uint8
HairStyle uint8
HairColor uint8
FacialHair uint8
RestBits uint8
BankBagSlotCount uint8
RestState uint8
PlayerGender uint8
GenderUnk uint8
Drunkness uint8
PVPRank uint8
DuelTeam uint32
GuildTimestamp uint32
QuestLog [20]struct {
QuestID uint32
CountState uint32
Time uint32
}
VisibleItems [19]struct {
Creator guid.GUID
Entry uint32
Enchantments [7]uint32
Properties uint32
update.ChunkPad
}
InventorySlots [39]guid.GUID `update:"private"`
BankSlots [24]guid.GUID `update:"private"`
BankBagSlots [6]guid.GUID `update:"private"`
VendorBuybackSlots [12]guid.GUID `update:"private"`
KeyringSlots [32]guid.GUID `update:"private"`
FarSight guid.GUID
FieldComboTarget guid.GUID
XP uint32
NextLevelXP uint32
SkillInfos [128]struct {
ID uint16
Step uint16
SkillLevel uint16
SkillCap uint16
Bonus uint32
} `update:"private"`
CharacterPoints [2]uint32 `update:"private"`
TrackCreatures uint32 `update:"private"`
TrackResources uint32 `update:"private"`
BlockPercentage float32
DodgePercentage float32
ParryPercentage float32
CritPercentage float32
RangedCritPercentage float32
ExploredZones [64]uint32 // TODO: use Bitmask type with length tag to refer to this field.
RestStateExperience uint32
Coinage int32 `update:"private"`
UnitPosStats [5]uint32
UnitNegStats [5]uint32
UnitResistanceBuffModsPositive [7]uint32
UnitResistanceBuffModsNegative [7]uint32
ModDamageDonePositive [7]uint32
ModDamageDoneNegative [7]uint32
ModDamageDonePercentage [7]float32
// Flags
PlayerFieldBytes0UnkBit0 update.BitPad // (unknown value)
TrackStealthed bool
DisplaySpiritAutoReleaseTimer bool
HideSpiritReleaseWindow bool
RAFGrantableLevel uint8 // parser should automatically frame this to next byte.
ActionBarToggles uint8
LifetimeMaxPVPRank uint8
AmmoID uint32
SelfResSpell uint32
PVPMedals uint32
BuybackPrices [12]uint32 `update:"private"`
BuybackTimestamps [12]uint32 `update:"private"`
Kills uint32
YesterdayKills uint32
LastWeekKills uint32
ThisWeekKills uint32
ThisWeekContribution uint32
LifetimeHonorableKills uint32
LifetimeDishonorableKills uint32
YesterdayContribution uint32
LastWeekContribution uint32
LastWeekRank uint32
HonorRankPoints uint8
DetectionFlagUnk bool
DetectAmore0 bool
DetectAmore1 bool
DetectAmore2 bool
DetectAmore3 bool
DetectStealth bool
DetectInvisibilityGlow bool
WatchedFactionIndex int32
CombatRatings [20]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
Happiness uint32
MaxHealth uint32
MaxMana uint32
MaxRage uint32
MaxFocus uint32
MaxEnergy uint32
MaxHappiness uint32
Level uint32
FactionTemplate uint32
Race uint8
Class uint8
Gender uint8
Power uint8
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
Unk7 bool // 0x80
OOCNotAttackable bool // 0x100
Passive bool // 0x200
Unk10 bool // 0x400
Unk11 bool // 0x800
PVP bool // 0x1000
IsSilenced bool // 0x2000
IsPersuaded bool // 0x4000
Swimming bool // 0x8000
RemoveAttackIcon 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
Auras [48]uint32
AuraFlags [24]byte
AuraLevels [48]byte
AuraApplications [48]byte
AuraState uint32
BaseAttackTime uint32
OffhandAttackTime uint32
RangedAttackTime uint32
BoundingRadius float32
CombatReach float32
DisplayID uint32
NativeDisplayID uint32
MountDisplayID uint32
MinDamage float32
MaxDamage float32
MinOffhandDamage uint32
MaxOffhandDamage uint32
StandState uint8
LoyaltyLevel uint8
ShapeshiftForm uint8
StandMiscFlags uint8
PetNumber uint32
PetNameTimestamp uint32
PetExperience uint32
PetNextLevelExp uint32
Lootable bool
TrackUnit bool
Tapped bool
TappedByPlayer bool
SpecialInfo bool
VisuallyDead bool
ReferAFriend bool
TappedByAllThreatList bool
EndUnitDynamicFlags update.ChunkPad
ChannelSpell uint32
ModCastSpeed float32
CreatedBySpell uint32
Gossip bool
QuestGiver bool
Vendor bool
FlightMaster bool
Trainer bool
SpiritHealer bool
SpiritGuide bool
Innkeeper bool
Banker bool
Petitioner bool
TabardDesigner bool
BattleMaster bool
Auctioneer bool
StableMaster bool
Repairer bool
EndNPCFlags update.ChunkPad
NPCEmoteState uint32
TrainingPoints uint32
Stats [5]uint32
Resistances [7]uint32
BaseMana uint32
BaseHealth uint32
SheathState uint8
AuraByteFlags uint8
PetRename uint8
PetShapeshiftForm uint8
AttackPower int32
AttackPowerMods int32
AttackPowerMultiplier float32
RangedAttackPower int32
RangedAttackPowerMods int32
RangedAttackPowerMultiplier float32
MinRangedDamage float32
MaxRangedDamage float32
PowerCostModifier [7]uint32
PowerCostMultiplier [7]float32
update.ChunkPad
}
type UnitDescriptor ¶
type UnitDescriptor struct {
ObjectData
UnitData
}
Click to show internal directories.
Click to hide internal directories.