Some of the offsets changed
I marked them with a +/- 0
Code:
// Wow x64 Version 8.1.5 29732 Mar 14 2019
internal class ObjectFields
{
public static uint EntryId = 0xd8;
public static uint DynamicFlags = 0xdc;
public static uint Scale = 0xe0;
public static uint Transport = 0x140;
}
internal class ItemFields
{
public static uint Owner = 0x1b0;
public static uint ContainedIn = 0x1c0;
public static uint StackCount = 0x1f0;
public static uint DynamicFlags = 0x1f8;
}
internal class ContainerFields
{
//29701 0x398 => 0x390
public static UInt32 Slots = 0x398 - 0x8;
//29701 0x3a0 => 0x398
public static UInt32 FirstSlot = 0x3A0 - 0x8;
}
internal class UnitFields
{
public static uint NPCFlags = 0x14C4;
public static uint Pet = 0x14e0;
public static uint SummonedBy = 0x1510;
public static uint CreatedBy = 0x1520;
public static uint DemonCreatedBy = 0x1530;
public static uint Target = 0x1550;
public static uint PowerIndex = 0x1585;
public static uint Health = 0x1590;
public static uint MaxHealth = 0x1598;
public static uint Level = 0x15a0;
public static uint FactionTemplate = 0x15c4;
public static uint Flags = 0x15c8;
public static uint Flags2 = 0x15cc;
public static uint Flags3 = 0x15d0;
public static uint BoundingRadius = 0x15dc;
public static uint CombatReach = 0x15e0;
//29701 0x1778 => 0x1780
public static uint Power = 0x1778 + 0x8;
//29701 0x1778 => 0x1780
public static uint PowerMax = 0x1790 + 0x8;
}
internal class PlayerFields
{
//29701 0x1aa8 => 0x1ab0
public static uint Flags = 0x1aa8 + 0x8;
//29701 0x1b34 => 0x1b3c
public static uint QuestBase = 0x1b34 + 0x8;
//29701 0x3434 => 0x343c
public static uint QuestMax = 0x3434 + 0x8;
}
internal class ActivePlayerFields
{
public static UInt32 Coinage = 0x3540 + ( 0x1 * 0x8 );
public static UInt32 XP = 0x3548 + ( 0x1 * 0x8 );
public static UInt32 NextXp = 0x354c + ( 0x1 * 0x8 );
public static UInt32 SkillId = 0x3554 + ( 0x1 * 0x8 );
public static UInt32 SkillLine = 0x3954 + ( 0x1 * 0x8 );
public static UInt32 SkillMax = 0x3d54 + ( 0x1 * 0x8);
public static UInt32 SkillBonus = 0x3f54 + ( 0x1 * 0x8 );
public static UInt32 SkillRacial = 0x4154 + ( 0x1 * 0x8 );
public static UInt32 InvSlots = 0x4748 + ( 0x4 * 0x10 );
}
internal class GameObjectFields
{
public static uint DisplayId = 0x1e8;
public static uint CreatedBy = 0x220;
public static uint Type = 0x25d;
}
internal class AreaTriggerFields
{
public static uint Location = 0x110;
public static uint Caster = 0x570;
public static uint SpellId = 0x590;
}