Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace IDNLIB.Update
{
[Obfuscation(Feature = "renaming", ApplyToMembers = true)]
public class PublicPointers
{
//good
#region Globals enum
// good-33526
/// <summary>
/// classic
/// </summary>
public enum Globals
{
PlayerName = 0x2688828, // good
Realm = 0x2688058, // good
Realmoffset = 0x420,//good-33526
Account = 0x0000000, // just a filler offset
}
#endregion
// good-33526
#region InGame enum
/// <summary>
/// classic
/// </summary>
public enum InGame
{
InGame = 0x25A9E60, // good
LoadingScreen = 0x2275CF0, // good
}
#endregion
}
internal class Pointers
{
//good-33526
#region ActionBar & Macros enum
/// <summary>
/// classic
/// </summary>
public enum ActionBar
{
ActionBarFirstSlot = 0x25B5C90, // good
ActionBarBonus = ActionBarFirstSlot + 0x240, // good
CurrentActionBar = 0x25B62E4, // good
// Macro Actions Below
Next = 0x88, // good-33526
Name = 0x30, // good-33526
Icon = 0x60, //good-33526
Body = 0x179, // good-33526
MacroBase = 0x21E7E80, // good
nbGeneralMacros = 0x25BB040, // good
nbSpecificMacros = 0x25BB050, // good
}
#endregion
//good-33526
#region PartyEnum enum
/// <summary>
/// classic
/// </summary>
public enum Party
{
NumOfPlayers = 0x178, //0x17C
NumOfPlayers_SuBGroup = 0x17C, // 0x178
PlayerGuid = 0x10, // good
IsInGroupHome = 0x25B3F68, //good
IsInGroupInstance = 0x25B3F70,//good
}
#endregion
//good-33526
#region AuctionHouse enum
/// <summary>
/// classic
/// </summary>
public enum AuctionHouse
{
AuctionOwnerCount = 0x25F5AC8, // good
AuctionOwnerList = 0x25F5AD0, // good
CGAuctionHouse__m_canGetOwnerList = 0x25F5A4C,//good
AuctionBidderCount = 0x25F5AE8,//good
AuctionBidderList = 0x25F5AF0, // good
CGAuctionHouse__m_canGetBidderList = 0x25F5A50,// good
AuctionListCount = 0x25F5AA8,
AuctionList = 0x25F5AB0,
CGAuctionHouse__m_numOutbid = 0x25F5B10, // good
s_lastBidOffset = 0x25F5A74, // good
CGAuctionHouse__m_auctioneer = 0x25F5A78, //good
}
#endregion
//good-33526
#region Battleground enum
/// <summary>
/// classic
/// </summary>
public enum Battleground
{
BattlegroundStartTickcount = 0x25B40D4,//good
Timestamp = 0x22C740C, // //good
IsBattlegroundFinished = 0x25B437C,//good
BattlegroundWinner = 0x25B4380,//good
BattlegroundInfo = 0x21E4190,//good
UISelectedBattlegroundId = 0x00000000//Not Using This only on live
}
#endregion
//good-33526
#region AutoLoot enum
/// <summary>
/// classic
/// </summary>
public enum AutoLoot
{
Offset = 0x5C,
Pointer = 0x25A9A10, // good
}
#endregion
//good-33526
#region AutoSelfCast enum
/// <summary>
/// classic
/// </summary>
public enum AutoSelfCast
{
Offset = 0x5C,
Pointer = 0x25A9A20, //good
}
#endregion
//good-33526
#region ClickToMove enum
/// <summary>
/// classic
/// </summary>
public enum ClickToMove
{
Offset = 0x5C,
Pointer = 0x25A99F0, //good
}
#endregion
//good-33526
#region CgUnitCGetCreatureRank enum
/// <summary>
/// classic
/// Reversed from CGUnit_C__GetCreatureRank
/// </summary>
public enum CgUnitCGetCreatureRank
{
Offset1 = 0x17B8,
Offset2 = 0x34,
}
#endregion
//good-33526
#region CgUnitCGetCreatureType enum
/// <summary>
/// classic
/// reversed from CGUnit_C__GetCreatureType
/// </summary>
public enum CgUnitCGetCreatureType
{
Offset1 = 0x17B8,
Offset2 = 0x30,
}
#endregion
//good-33526
#region CgWorldFrameGetActiveCamera enum
/// <summary>
/// classic
/// reversed from CGWorldFrame__GetActiveCamera
/// </summary>
public enum CgWorldFrameGetActiveCamera
{
CameraX = 0x8, // good
CameraY = 0xC, //good
CameraZ = 0x10, // good
CameraMatrix = 0x14, // good
CameraPointer = 0x25AA9A0, // good
CameraOffset = 0x3330, // good
}
#endregion
// good-33526
#region Nested type: AutoAttack
/// <summary>
/// classic
/// reversed from CGActionBar__IsCurrentAction
/// </summary>
internal enum AutoAttack
{
IsAutoRepeatingSpell = 0x22e21f4, //good
IsInMelee = 0xAF6C, //good-33526
IsInMelee1 = 0x18A8,//good-33526
AutoAttackFlag = 0xEE8, //Old Method
AutoAttackMask = 0xEEC, //Old Method
//Address seems to show the GUID of the Auto Attack target
AutoAttackGUID = 0xAF6C , // 0xED8,
//Shows 0x06 when not wanding, 0x0C or 0x0E when wanding.
//Wanding = 0xEF8,
}
#endregion
// gotta Recheck sometime
#region Nested type: CastingInfo
/// <summary>
/// classic
/// Script_UnitCastingInfo
/// Script_UnitChannelInfo
/// </summary>
internal enum CastingInfo
{
IsCasting = 0x1990,
ChanneledCasting = 0x670,
}
#endregion
//good-33526
#region Nested type: Chat
/// <summary>
/// classic
/// </summary>
internal enum Chat : uint
{
ChatStart = 0x2577990,// good
chatBufferPos = 0x257798C, // ReCheck
OffsetToNextMsg = 0xCB8,// good-33526
MsgSenderGuid = 0x00, //good-33526
MsgSenderName = 0x34, // good-33526
MsgFullMessage = 0x0E6, // good-33526
MsgChatType = 0x0CA0, //good-33526
MsgChannelNum = 0xCA4, //good-33526
MsgTimeStamp = 0xCB0,//good-33526
ChatQueueDepth = 0x3C, // good-33526
//0CA8
}
#endregion
//good-33526
#region Nested type: SpellBook
/// <summary>
/// classic
/// </summary>
internal enum SpellBook : uint
{
SpellBookNumSpells = 0x25AAC90, //good
SpellBookSpellsPtr = 0x25AAC98, //good
}
#endregion
//good-33526
#region BlueChat
/// <summary>
/// classic
/// </summary>
internal enum Messages
{
EventMessage = 0x25A8CD0 // good
}
#endregion
//good-33526
#region Nested type: Container
/// <summary>
/// classic
/// </summary>
internal enum Container
{
EquippedBagGUID = 0x25B8BC0 // good
}
#endregion
// gotta add but lazy factor
#region Nested type: Death Info
/// <summary>
/// classic
/// </summary>
internal enum Death
{
SpiritHealer_X = 0x0, // good
SpiritHealer_Y = 0x0, // good
SpiritHealer_Z = 0x0, // good
//Todo Havent cared
Corpse_X = 0x000000000, // good-33526
Corpse_Y = Corpse_X + 0x8, // good
Corpse_Z = Corpse_X + 0x18, // good
}
#endregion
//good-33526
#region Nested type: Globals
/// <summary>
/// classic
/// </summary>
internal enum Globals
{
RedMessage = 0x25A8CD0, // good,
MouseOverGUID = 0x25A9E68, // good
LootWindow = 0x25B97E0, // good
ChatboxIsOpen = 0x22EC924, // good
CursorType = 0x2641A30, // good
CursorType2 = 0x2641A34, // good
SelectedSpellId = 0x25C8148,// good
CGGameUI__m_cursorItem = 0x25A8C60, // good
CGGameUI__m_cursorSpell = 0x25A8C70, //good
IsBobbing = 0x14C, // good-33526
ArchFacing = 0x198, // good-33526
ArchFacingOffset2 = 0x30, //good-33526
}
#endregion
//good-33526
#region Nested type: KeyBinding
/// <summary>
/// classic
/// </summary>
internal enum KeyBinding
{
NumKeyBindings = 0x25B7AA8, // good
First = 0x30, // good 10
Next = 0x48, //good 28
// Check These 2
Key = 0x80, //0x80
Command = 0x1C0, //1C0
}
#endregion
//good-33526
#region Nested type: ObjectManager
/// <summary>
/// classic
/// </summary>
internal enum ObjectManager
{
CurMgrPointer = 0x2387C88, //good
LocalPlayerGUID = 0x2688810,//good
TargetGUID = 0x21E28A0, // should be good
PetGUID = 0x25B8DAC,//good
StorageField = 0x10,//good-33526
ObjectType = 0x20,//good-33526
NextObject = 0x70,//good-33526
FirstObject = 0x18,//good-33526
LocalGUID = 0x58, //good-33526
}
#endregion
//good-33526
#region Nested type: InCombat
/// <summary>
/// Script_UnitAffectingCombat
/// classic
/// Reversed from Lua_UnitAffectingCombat
/// v4 = v2 && (*(_DWORD *)(*(_DWORD *)(v2 + 284) + 316) >> 19) & 1;
/// </summary>
public enum InCombat
{
Mask = 19, //good-33526
Offset2 = 0x158, // good-33526
Offset1 = 0x188 // good-33526
}
#endregion
//good-33526
#region Nested type: ShapeshiftForm
/// <summary>
/// classic Reversed from CGUnit_C__GetShapeshiftFormId
/// </summary>
internal enum ShapeshiftForm
{
BaseAddressOffset1 = 0x188, // good-33526
BaseAddressOffset2 = 0x27B, // good-33526
}
#endregion
//good-33526
#region Nested type: SpellCooldown
/// <summary>
/// classic
/// </summary>
internal enum SpellCooldown : uint
{
CooldPown = 0x21CF7E0, // good
}
#endregion
//good-33526
#region Nested type: PowerIndex
/// <summary>
/// classic Search for PowerTypePointer function in ida
/// </summary>
internal enum PowerIndex
{
PowerIndexArrays = 0x232E560, // good
Multiplicator = 13 // good-33526
}
#endregion
//good-33526
#region Nested type: Swimming
/// <summary>
/// classic Lua_IsSwimming
/// </summary>
internal enum Swimming
{
Pointer = 0x198,
Offset = 0x58,
Mask = 0x100000,
}
#endregion
//good-33526
#region IsFlying enum
/// <summary>
/// classic Lua_IsFlying
/// </summary>
public enum IsFlying
{
Pointer = 0x198,
Offset = 0x58,
Mask = 0x1000000
}
#endregion
//good-33526
#region IsFalling enum
/// <summary>
/// classic Lua_IsFalling
/// </summary>
public enum IsFalling
{
Pointer = 0x198,
Offset = 0x58,
Mask = 0x1000000
}
#endregion
//gotta play with haven't cared yet did a blah fix for time
#region Nested type: UnitAuras
/// <summary>
/// reversed from CGUnit_C__GetAura
/// </summary>
internal enum UnitAuras : uint
{
//AuraCount1 = 0x484,
//AuraCount2 = 0x1AD0,
AuraTable1 = 0x1AD0,
AuraTable2 = 0x1AC8,
AuraSize = 0xA8, // good
AuraSpellId = 0x88, // good
AuraStack = 0x39,
TimeLeft = 0x40,
OwnerGUID = 0x20,
AuraTableOffset = 0x00,
AuraFlags = 0x90,
AuraLevel = 0x92,
}
#endregion
//good-33526
#region Nested type: UnitName
/// <summary>
/// classic
/// </summary>
internal enum UnitName : uint
{
ObjectName1 = 0x478, // good
ObjectName2 = 0xE0, // good
PlayerNameGUIDOffset = 0x20, // good
PlayerNameStringOffset = 0x31, // good
PlayerNameCachePointer = 0x1FB0B18, // good
PlayerNameCacheNext = 0x0,
UnitName1 = 0x17B8, // good
UnitName2 = 0xE0, // good
}
#endregion
//good-33526
#region Nested type: UnitSpeed
/// <summary>
/// classic
/// </summary>
internal enum UnitSpeed
{
Pointer1 = 0x198, // good
Pointer2 = 164, // good
}
#endregion
//good-33526
#region Nested type: WowObject
/// <summary>
/// classic
/// </summary>
internal enum WowObject
{
X = 0x1600, // good ?
Y = X + 0x4,
Z = X + 0x8,
RotationOffset = X + 0x10,
Pitch = X + 0x14,
GameObjectX = 0x1B0,
GameObjectY = GameObjectX + 0x4,
GameObjectZ = GameObjectX + 0x8,
GameObjectRotation = GameObjectX + 0x10,
TransportGuid = 0x15F0
}
#endregion
//good-33526
#region Nested type: Zone
/// <summary>
/// classic
/// </summary>
internal enum Zone : uint
{
ZoneText = 0x25A8C40, // good
ZoneID = 0x25A988C, // good
GetSubZoneText = 0x25A8C30, //good
GetContinentID = 0x1FCB97C, // good
GetContinentIDOffset = 0x218,//good-33526
}
#endregion
//good-33526
#region Nested type: UiFrame
internal enum UiFrame
{
ScrWidth = 0x1FAF8B4, //good
ScrHeight = 0x1FAF8B8, //good
FrameBase = 0x22C7E58, // good
CurrentFramePtr = 0x22C7E58, // good
//GetMouseFocus
CurrentFrameOffset = 0x1A0, // Good
FirstFrame = 0xCD0, // Good
NextFrame = 0xCC0, // Good
LastFrame = 0x0CC8, // idn they added a extra check ?? reminder to test this
RegionsFirst = 0x1A8, //Good
RegionsNext = 0x198, //Good
//CSimpleSlider_IsShown_1 // Script_IsVisible_class2
Visible = 0xC8, //good
Visible1 = 0xA, //good one function uses 9 other 0xA
Visible2 = 1, // good
// CSimpleSlider_GetText
LabelText = 0x188, //good
Name = 0x20, // good
FrameBottom = 0x90,
FrameLeft = 0x94,
FrameTop = 0x98,
FrameRight = 0x9C,
// CSimpleSlider_GetEffectiveScale
EffectiveScale = 0xC0,
//Script_SetParent
ParentFrame = 0xD0, // good
// no fing clue
IconNumber = 0xF0,
//CSimpleSlider_IsEnabled
ButtonEnabledPointer = 0x210, //Good
ButtonEnabledMask = 0xF, //Good
//CSimpleSlider_GetChecked
ButtonChecked = 0x268, //Good
EditBoxText = 0x238 , // old 0x210
}
#endregion
}
}