Code:
public enum Globals
{
PlayerName = 0x008A5C58, // 4.0.1 13164
CurrentAccount = 0x00D6D518, // 4.0.1 13164
CurrentRealm = 0x008A5ADE, // 4.0.1 13164
CurrentTargetGUID = 0x009816B0, // 4.0.1 13164
MouseOverGUID = 0x009816A0, // 4.0.1 13164
PetGUID = 0x009ED9A8, // 4.0.1 13164
FollowGUID = 0x008BD7F8, // 4.0.1 13164
ComboPoint = 0x00981751, // 4.0.1 13164
LootWindow = 0x009EE9E0, // 4.0.1 13164
SpellBookNumSpells = 0x9DDD7C, // 4.0.1 13164
SpellBookSpellsPtr = 0x9DDD80, // 4.0.1 13164
Movement_Field = 0x100, // 4.0.1 13164
SpellCooldownPtr = 0x00980968, // 4.0.1 13164
Timestamp = 0x008A7F54, // 4.0.1 13164
UnitName1 = 0xA0C, // 4.0.1 13164
UnitName2 = 0x60, // 4.0.1 13164
ObjName1 = 0x1CC, // 4.0.1 13164
ObjName2 = 0x94, // 4.0.1 13164
nbItemsSellByMerchant = 0x009F1848, // 4.0.1 13164
BuildNumber = 0x00958B54, // 4.0.1 13164
GetMinimapZoneText = 0x0098167C, // 4.0.1 13164
GetZoneText = 0x00981688, // 4.0.1 13164
GetSubZoneText = 0x00981684, // 4.0.1 13164
GetZoneID = 0x00981710, // 4.0.1 13164
IsBobbingOffset = 0xBC, // 4.0.1 13164 -- Guessed, just lazy ...
ChatboxIsOpen = 0x00978B48, // 4.0.1 13164
IsMouseButtonPressed = 0x0097A768, // 4.0.1 13164
MouseOverItemId_Ptr = 0x00981674, // 4.0.1 13164
MouseOverItemId_Offset = 0x2B8, // 4.0.1 13164
MouseOverSpellId_Offset = 0x2BC, // 4.0.1 13164
RuneState = 0x009DFFCC, // 4.0.1 13164
RuneType = 0x009DFF68, // 4.0.1 13164
IsInGame = 0x00981692, // 4.0.1 13164
MountsListPtr = 0x009DDDDC, // 4.0.1 13164
MountsCount = 0x009DDDD8, // 4.0.1 13164
IsIndoors = 0x0079FD21, // 4.0.1 13164
PlayerNameCache = 0x00881988, // 4.0.1 13164
NumUnspentTalents = 0x009F4524, // 4.0.1 13164
IsUsableAction = 0x009EDC58, // 4.0.1 13164
IsUsableActionNoMana = 0x009EDA18, // 4.0.1 13164
PlayerOffsetUnk1 = 0x1380, // 4.0.1 13164 lua_GetMoney
GetMoneyOffset = 0x1128, // 4.0.1 13164 lua_GetMoney
}
public enum BattleNet
{
NetClientPtr = 0x8A5C2C, // 4.0.1 13164
nbAccounts = 0x1144, // 4.0.1 13164 // lua_GetGameAccountInfo
AccountName1 = 0x1148, // 4.0.1 13164 // lua_GetGameAccountInfo
AccountName2 = 0x104, // 4.0.1 13164 // lua_GetGameAccountInfo
}
public enum Container
{
EquippedBagGUID = 0x009F84D0, // 4.0.1 13164
MaxSlot = 0x910, // 4.0.1 13164
ItemGUIDStart = 0x918, // 4.0.1 13164
}
public enum IsAutoAttacking
{
CGActionBar__IsCurrentAction = 0x0049AC50, // 4.0.1 13164
AutoAttackGUID = 0xAD8, // 4.0.1 13164
ActiveSpellsPtr = 0x007F9B80, // 4.0.1 13164
ActiveSpellsSpellId = 0x20, // 4.0.1 13164 -- Need testing
}
public enum ActionBar
{
CurrentActionBar = 0x009EE318, // 4.0.1 13164
ActionBarFirstSlot = 0x009EE0D8, // 4.0.1 13164
ActionBarBonus = 0x009EE31C, // 4.0.1 13164
TotemBarTotem1Id = 0x009EE2EC, // 4.0.1 13164
GetActionCount = 0x009EDE98, // 4.0.1 13164
}
public enum Battleground
{
BattlegroundStartTickcount = 0x009E06C0, // 4.0.1 13164
IsBattlegroundFinished = 0x009E06D0, // 4.0.1 13164
BattlegroundWinner = 0x009E06D4, // 4.0.1 13164
UISelectedBattlegroundId = 0x009E0684, // 4.0.1 13164
BattlegroundInfo = 0x009E0600, // 4.0.1 13164
BattlegroundInfo_Id = 0x0, // 4.0.1 13164
BattlegroundInfo_Status = 0x0C, // 4.0.1 13164
BattlegroundInfo_ArraySize = 0x40, // 4.0.1 13164
}
public enum CGUnit_C__GetCreatureType
{
CGUnit_C__GetCreatureType = 0x001BF1F0, // 4.0.1 13164
Offset1 = 0xA0C, // 4.0.1 13164
Offset2 = 0x10, // 4.0.1 13164
}
public enum Macros
{
nbGeneralMacros = 0x00A0BBA0, // 4.0.1 13164
nbSpecificMacros = 0x00A0BBA4, // 4.0.1 13164
Base = 0x00A0BBC4, // 4.0.1 13164
Next = 0x10, // 4.0.1 13164
Name = 0x20, // 4.0.1 13164
Icon = 0x60, // 4.0.1 13164
Body = 0x160, // 4.0.1 13164
IsCharSpecific = 0x1000000, // 4.0.1 13164
}
public enum Keybindings
{
Base = 0x009DDF24, // 4.0.1 13164
First = 0xC8, // 4.0.1 13164
Next = 0xC0, // 4.0.1 13164
KeyString = 0x14, // 4.0.1 13164
ActionString = 0x28, // 4.0.1 13164
}
public enum CGWorldFrame__GetActiveCamera
{
CGWorldFrame__GetActiveCamera = 0x432780, // 4.0.1 13164
Camera_Pointer = 0x00981C20, // 4.0.1 13164
Camera_Offset = 0x7F48, // 4.0.1 13164
Camera_X = 0x8, // 4.0.1 13164
Camera_Y = 0xC, // 4.0.1 13164
Camera_Z = 0x10, // 4.0.1 13164
Camera_Matrix = 0x14, // 4.0.1 13164
}
public enum ShapeshiftForm
{
CGUnit_C__GetShapeshiftFormId = 0x0071AF70, // 4.0.1 13164
BaseAddress_Offset1 = 0xF8, // 4.0.1 13164
BaseAddress_Offset2 = 0x213, // 4.0.1 13164
}
public enum ObjectManager
{
CurMgrPointer = 0x008A5C20, // 4.0.1 13164
CurMgrOffset = 0x4618, // 4.0.1 13164
NextObject = 0x3C, // 4.0.1 13164
FirstObject = 0xB4, // 4.0.1 13164
LocalGUID = 0xC8 // 4.0.1 13164
}
public enum Corpse
{
X = 0x009819BC, // 4.0.1 13164
Y = X + 0x4, // 4.0.1 13164
Z = X + 0x8, // 4.0.1 13164
}
public enum SpiritHealer
{
X = 0x009819C8, // 4.0.1 13164
Y = X + 0x4, // 4.0.1 13164
Z = X + 0x8, // 4.0.1 13164
}
public enum Party
{
s_LeaderGUID = 0x009DD4D8, // 4.0.1 13164
s_Member1GUID = 0x009DD4B8, // 4.0.1 13164
s_Member2GUID = s_Member1GUID + 0x8, // 4.0.1 13164
s_Member3GUID = s_Member2GUID + 0x8, // 4.0.1 13164
s_Member4GUID = s_Member3GUID + 0x8, // 4.0.1 13164
}
public enum UnitBaseGetUnitAura
{
CGUnit_Aura = 0x00061C70, // 4.0.1 13164
AURA_COUNT_1 = 0xF80, // 4.0.1 13164
AURA_COUNT_2 = 0xD04, // 4.0.1 13164
AURA_TABLE_1 = 0xD00, // 4.0.1 13164
AURA_TABLE_2 = 0xD08, // 4.0.1 13164
AURA_SIZE = 0x28, // 4.0.1 13164
AURA_SPELL_ID = 0x8 // 4.0.1 13164
}
public enum IsFlying
{
// Reversed from Lua_IsFlying
Offset = 0x44, // 4.0.1 13164
Mask = 0x2000000, // 4.0.1 13164
IsFlyingCapable_Mask = 0x1000000, // 4.0.1 13164
}
public enum IsSwimming
{
// Reversed from Lua_IsSwimming
Offset = 0xAE8, // 4.0.1 13164
Mask = 0x200000, // 4.0.1 13164
}
public enum InCombat
{
// Reversed from Lua_UnitAffectingCombat
Offset1 = 0xF8, // 4.0.1 13164
Offset2 = 0x114, // 4.0.1 13164
Mask = 0x13, // 4.0.1 13164
}
public enum AutoLoot
{
Pointer = 0x00981870, // 4.0.1 13164
Offset = 0x30, // 4.0.1 13164
}
public enum AutoSelfCast
{
Pointer = 0x00981878, // 4.0.1 13164
Offset = 0x30, // 4.0.1 13164
}
public enum ClickToMove
{
CGPlayer_C__ClickToMove = 0x1C7E20, // 4.0.1 13164
Pointer = 0x981850, // 4.0.1 13164
Offset = 0x30, // 4.0.1 13164
}
public enum WoWChat
{
ChatBufferStart = 0x00983358, // 4.0.1 13164
NextMessage = 0x17C0, // 4.0.1 13164
}
public enum WowObject
{
X = 0x880,
Y = 0x884,
Z = 0x888,
R = 0x890,
P = 0x894,
GameObjectX = 0x110,
GameObjectY = 0x114,
GameObjectZ = 0x118,
}
All tested and working, all offsets is relative.