Code:
#region
using System.Reflection;
#endregion
namespace LazyLib.Wow
{
[Obfuscation(Feature = "renaming", ApplyToMembers = true)]
public class PublicPointers
{
#region Globals enum
/// <summary>
/// 4.3.2
/// </summary>
public enum Globals
{
PlayerName = 0x9BD070,
}
#endregion
#region InGame enum
/// <summary>
/// 4.3.2
/// </summary>
public enum InGame
{
InGame = 0xAD5C76,
}
#endregion
}
internal class Pointers
{
#region ActionBar enum
/// <summary>
/// 4.3
/// </summary>
public enum ActionBar
{
ActionBarFirstSlot = 0xB440E0,
ActionBarBonus = 0xB44324,
}
#endregion
#region AutoLoot enum
/// <summary>
/// 4.3
/// </summary>
public enum AutoLoot
{
Pointer = 0xAD74A0,
Offset = 0x30,
}
#endregion
#region CgUnitCGetCreatureRank enum
/// <summary>
/// 4.3
/// </summary>
public enum CgUnitCGetCreatureRank
{
Offset1 = 0x91C,
Offset2 = 0x1C,
}
#endregion
#region CgUnitCGetCreatureType enum
/// <summary>
/// 4.3
/// </summary>
public enum CgUnitCGetCreatureType
{
Offset1 = 0x91C,
Offset2 = 0x14,
}
#endregion
#region CgWorldFrameGetActiveCamera enum
/// <summary>
/// 4.3
/// </summary>
public enum CgWorldFrameGetActiveCamera
{
CameraPointer = 0xAD7870,
CameraOffset = 0x80D0,
CameraX = 0x8,
CameraY = 0xC,
CameraZ = 0x10,
CameraMatrix = 0x14,
}
#endregion
/// <summary>
/// 4.3
/// </summary>
public enum Quests
{
ActiveQuests = 0x274,
SelectedQuestId = 0xB436F0,
TitleText = 0xB434D0,
GossipQuests = 0xB70F08,
GossipQuestNext = 0x214,
}
#region ClickToMove enum
/// <summary>
/// 4.3
/// </summary>
public enum ClickToMove
{
Pointer = 0xAD7480,
Offset = 0x30,
}
#endregion
#region IsFlying enum
/// <summary>
/// 4.3
/// </summary>
public enum IsFlying
{
// Reversed from Lua_IsFlying
Pointer = 0x100,
Offset = 0x38,
Mask = 0x1000000
}
#endregion
#region Nested type: AutoAttack
/// <summary>
/// 4.3
/// </summary>
internal enum AutoAttack
{
AutoAttackFlag = 0x9E8,
AutoAttackMask = 0x9EC,
}
#endregion
#region Nested type: CastingInfo
/// <summary>
/// 4.3
/// </summary>
internal enum CastingInfo
{
IsCasting = 0xA34,
ChanneledCasting = 0xA48,
}
#endregion
#region Nested type: Chat
/// <summary>
/// 4.3
/// </summary>
internal enum Chat : uint
{
ChatStart = 0xAD8FD0 + 0x3C,
OffsetToNextMsg = 0x17C0,
}
#endregion
#region BlueChat
/// <summary>
/// 4.2 - Not updated
/// </summary>
internal enum Messages
{
EventMessage = 0xA98068
}
#endregion
#region Nested type: ComboPoints
/// <summary>
/// 4.3
/// </summary>
internal enum ComboPoints
{
ComboPoints = 0xAD7361,
}
#endregion
#region Nested type: Container
/// <summary>
/// 4.3
/// </summary>
internal enum Container
{
EquippedBagGUID = 0xB4DC38,
}
#endregion
#region Nested type: Globals
/// <summary>
/// 4.3
/// </summary>
internal enum Globals
{
RedMessage = 0xAD6698,
MouseOverGUID = 0xAD72A8,
LootWindow = 0xB45088,
IsBobbing = 0xD4,
ArchFacing = 0x1c8,
ChatboxIsOpen = 0xAC6C58,
CursorType = 0x93D0E0,
}
#endregion
#region Nested type: Items
/// <summary>
/// 4.3
/// </summary>
internal enum Items : uint
{
Offset = 0x998580,
}
#endregion
#region Nested type: KeyBinding
/// <summary>
/// 4.3
/// </summary>
internal enum KeyBinding
{
NumKeyBindings = 0xB33D04,
First = 0xC8,
Next = 0xC0,
Key = 0x14,
Command = 0x28,
}
#endregion
#region Nested type: ObjectManager
/// <summary>
/// 4.3
/// </summary>
internal enum ObjectManager
{
CurMgrPointer = 0x9BE678,
CurMgrOffset = 0x463C,
NextObject = 0x3C, //4.3.0.15005
FirstObject = 0xC0, //4.3.0.15005
LocalGUID = 0xC8 //4.3.0.15005
}
#endregion
#region Nested type: Reaction
/// <summary>
/// 4.3
/// </summary>
internal enum Reaction : uint
{
FactionStartIndex = 0x998FB4,
FactionPointer = FactionStartIndex + 0xC,
FactionTotal = FactionStartIndex - 0x4,
HostileOffset1 = 0x14,
HostileOffset2 = 0x0C,
FriendlyOffset1 = 0x10,
FriendlyOffset2 = 0x0C,
}
#endregion
#region Nested type: Runes
/// <summary>
/// 4.3
/// </summary>
internal enum Runes
{
RunesOffset = 0xB35EB8,
}
#endregion
#region Nested type: ShapeshiftForm
/// <summary>
/// 4.3
/// </summary>
internal enum ShapeshiftForm
{
BaseAddressOffset1 = 0xF8,
BaseAddressOffset2 = 0x1B7,
}
#endregion
#region Nested type: SpellCooldown
/// <summary>
/// 4.3
/// </summary>
internal enum SpellCooldown : uint
{
CooldPown = 0xACD584,
}
#endregion
#region Nested type: Swimming
/// <summary>
/// 4.3
/// </summary>
internal enum Swimming
{
Pointer = 0x100,
Offset = 0x38,
Mask = 0x100000,
}
#endregion
#region Nested type: UnitAuras
/// <summary>
/// 4.3
/// </summary>
internal enum UnitAuras : uint
{
AuraCount1 = 0xE90,
AuraCount2 = 0xC14,
AuraTable1 = 0xC10,
AuraTable2 = 0xC18,
AuraSize = 0x28,
AuraSpellId = 0x8,
AuraStack = 0xF,
TimeLeft = 0x14,
} ;
#endregion
#region Nested type: UnitName
/// <summary>
/// 4.3
/// </summary>
internal enum UnitName : uint
{
ObjectName1 = 0x1CC,
ObjectName2 = 0xB4,
UnitName1 = 0x91C,
UnitName2 = 0x64,
PlayerNameCachePointer = 0x997F48,
PlayerNameMaskOffset = 0x024,
PlayerNameBaseOffset = 0x01c,
PlayerNameStringOffset = 0x020
}
#endregion
#region Nested type: UnitSpeed
/// <summary>
/// 4.3
/// </summary>
internal enum UnitSpeed
{
Pointer1 = 0x100,
Pointer2 = 0x80,
}
#endregion
#region Nested type: WowObject
/// <summary>
/// 4.3
/// </summary>
internal enum WowObject
{
X = 0x790,
Y = X + 0x4,
Z = X + 0x8,
RotationOffset = X + 0x10,
GameObjectX = 0x110,
GameObjectY = GameObjectX + 0x4,
GameObjectZ = GameObjectX + 0x8,
}
#endregion
#region Nested type: Zone
/// <summary>
/// 4.3
/// </summary>
internal enum Zone : uint
{
ZoneText = 0xAD7288,
ZoneID = 0xAD7320,
}
#endregion
#region Nested type: UiFrame
/// <summary>
/// 4.3
/// </summary>
internal enum UiFrame
{
ButtonEnabledPointer = 0x200,
ButtonEnabledMask = 0xF,
ButtonChecked = 0x238,
EditBoxText = 0x218,
FirstFrame = 0xce4,
FrameBottom = 0x68,
FrameLeft = 0x6c,
FrameTop = 0x70,
FrameRight = 0x74,
LabelText = 0xEC,
Name = 0x1C,
NextFrame = 0xCDC,
RegionsFirst = 0x170,
RegionsNext = 0x168,
FrameBase = 0x9D379C,
ScrHeight = 0x909A04,
ScrWidth = 0x909A00,
Visible = 0x64,
Visible1 = 0x1A,
Visible2 = 1,
CurrentFrameOffset = 0x88,
CurrentFramePtr = 0x9D379C,
}
#endregion
}
}