-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
1,027 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using SharpDX; | ||
|
||
namespace GameOffsets | ||
{ | ||
|
||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct ActionWrapperOffsets | ||
{ | ||
|
||
[FieldOffset(0x60)] public Vector2 Destination; | ||
[FieldOffset(0x38)] public long Target; | ||
[FieldOffset(0x18)] public long Skill; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using GameOffsets.Native; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct ActorComponentOffsets | ||
{ | ||
|
||
[FieldOffset(0x98)] public int ActionId; | ||
[FieldOffset(0x438)] public NativePtrArray HasMinionArray; | ||
[FieldOffset(0x440)] public NativePtrArray DeployedObjectArray; | ||
[FieldOffset(0x3D8)] public NativePtrArray ActorSkillsArray; | ||
[FieldOffset(0x408)] public NativePtrArray ActorVaalSkills; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct BuffOffsets | ||
{ | ||
[FieldOffset(0x8)] public long Name; | ||
[FieldOffset(0x10)] public byte IsInvisible; | ||
[FieldOffset(0x11)] public byte IsRemovable; | ||
[FieldOffset(0x2C)] public byte Charges; | ||
[FieldOffset(0x10)] public float MaxTime; | ||
[FieldOffset(0x14)] public float Timer; | ||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Sequential,Pack = 1)] | ||
public struct BuffStringOffsets | ||
{ | ||
public long String; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System.Numerics; | ||
using System.Runtime.InteropServices; | ||
using Vector3 = SharpDX.Vector3; | ||
using Matrix = SharpDX.Matrix; | ||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct CameraOffsets | ||
{ | ||
|
||
[FieldOffset(0x4)] public int Width; | ||
[FieldOffset(0x8)] public int Height; | ||
[FieldOffset(0x1C8)] public float ZFar; | ||
[FieldOffset(0xD4)] public Vector3 Position; | ||
[FieldOffset(0x5C)] public Matrix MatrixBytes; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct ChestComponentOffsets | ||
{ | ||
[FieldOffset(0x78)] public bool IsOpened; | ||
[FieldOffset(0x79)] public bool IsLocked; | ||
[FieldOffset(0xB8)] public bool IsStrongbox; | ||
[FieldOffset(0x7C)] public readonly byte quality; | ||
[FieldOffset(0x20)] public long StrongboxData; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Runtime.InteropServices; | ||
using GameOffsets.Native; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct CursorOffsets | ||
{ | ||
public const int OffsetBuffers = 0x6EC; | ||
|
||
[FieldOffset(0x0)] public int vTable; | ||
[FieldOffset(0x238)] public int Action; | ||
[FieldOffset(0x24C)] public int Clicks; | ||
[FieldOffset(0x2A0)] public NativeStringU ActionString; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
|
||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct DiagnosticElementArrayOffsets | ||
{ | ||
[FieldOffset(0x0), MarshalAs(UnmanagedType.ByValArray, SizeConst = 80)] | ||
public float[] Values; | ||
[FieldOffset(0x13C)] public float CurrValue; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct DiagnosticElementOffsets | ||
{ | ||
[FieldOffset(0x0)] public long DiagnosticArray; | ||
[FieldOffset(0x10)] public int X; | ||
[FieldOffset(0x14)] public int Y; | ||
[FieldOffset(0x18)] public int Width; | ||
[FieldOffset(0x1C)] public int Height; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using GameOffsets.Native; | ||
using SharpDX; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct ElementOffsets | ||
{ | ||
public const int OffsetBuffers = 0x6EC; | ||
|
||
// [FieldOffset(0x0)] public int vTable; | ||
/* [FieldOffset(0x3c + OffsetBuffers)] public long ChildStart; | ||
[FieldOffset(0x44 + OffsetBuffers)] public long ChildEnd; | ||
[FieldOffset(0x94 + OffsetBuffers)] public bool IsVisibleLocal; | ||
[FieldOffset(0xC4 + OffsetBuffers)] public long Root; | ||
[FieldOffset(0xCC + OffsetBuffers)] public long Parent; | ||
[FieldOffset(0xD4 + OffsetBuffers)] public float X; | ||
[FieldOffset(0xD8 + OffsetBuffers)] public float Y; | ||
[FieldOffset(0x104 + OffsetBuffers)] public long Tooltip; | ||
[FieldOffset(0x1D0 + OffsetBuffers)] public float Scale; | ||
[FieldOffset(0x21C + OffsetBuffers)] public float Width; | ||
[FieldOffset(0x220 + OffsetBuffers)] public float Height; | ||
[FieldOffset(0x264 + OffsetBuffers)] public bool isHighlighted; */ | ||
/* 3.5 | ||
[FieldOffset(0x3c)] public long ChildStart; | ||
[FieldOffset(0x44)] public long ChildEnd; | ||
[FieldOffset(0x94)] public bool IsVisibleLocal; | ||
[FieldOffset(0xC4)] public long Root; | ||
[FieldOffset(0xCC)] public long Parent; | ||
[FieldOffset(0xD4)] public float X; | ||
[FieldOffset(0xD8)] public float Y; | ||
[FieldOffset(0x104)] public long Tooltip; | ||
[FieldOffset(0x1D0)] public float Scale; | ||
[FieldOffset(0x21C )] public float Width; | ||
[FieldOffset(0x220 )] public float Height; | ||
[FieldOffset(0x264)] public bool isHighlighted; | ||
*/ | ||
|
||
[FieldOffset(0x18)] public long SelfPointer; //Usefull for valid check | ||
[FieldOffset(0x38)] public long ChildStart; | ||
[FieldOffset(0x38)] public NativePtrArray Childs; | ||
[FieldOffset(0x40)] public long ChildEnd; | ||
[FieldOffset(0x111)] public byte IsVisibleLocal; | ||
[FieldOffset(0x88)] public long Root; | ||
[FieldOffset(0x90)] public long Parent; //0x1C0 work only for items | ||
[FieldOffset(0x98)] public Vector2 Position; | ||
[FieldOffset(0x98)] public float X; | ||
[FieldOffset(0x9C)] public float Y; | ||
// [FieldOffset(0x338)] public long Tooltip; | ||
[FieldOffset(0x108)] public float Scale; | ||
[FieldOffset(0x130)] public float Width; | ||
[FieldOffset(0x134)] public float Height; | ||
[FieldOffset(0x178)] public bool isHighlighted; | ||
// [FieldOffset(0x3CB)] public byte isShadow; //0 | ||
// [FieldOffset(0x3C9)] public byte isShadow2; //1 | ||
|
||
// [FieldOffset(0x3B0)] public NativeStringU TestString; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct EntityLabelMapOffsets | ||
{ | ||
[FieldOffset(0x2A0)] public long EntityLabelMap; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct EntityListOffsets | ||
{ | ||
[FieldOffset(0x0)] public long FirstAddr; | ||
[FieldOffset(0x10)] public long SecondAddr; | ||
[FieldOffset(0x28)] public long Entity; | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct EntityOffsets | ||
{ | ||
[FieldOffset(0x8)] public ObjectHeaderOffsets Head; | ||
[FieldOffset(0x10)] public long ComponentList; | ||
// [FieldOffset(0x40)] public uint Id; | ||
// [FieldOffset(0x58)] public uint InventoryId; | ||
public override string ToString() { return $"Head: {Head} ComponentList:{ComponentList}"; } | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct Example | ||
{ | ||
|
||
[FieldOffset(0x0)] public int SomeField; | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using GameOffsets.Native; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct FilesOffsets | ||
{ | ||
[FieldOffset(0x10)] public long String; | ||
[FieldOffset(0x18)] public long MoreInformation; | ||
|
||
/*public string ToString(IMemory mem) { | ||
var size = mem.Read<FileInformation>(MoreInformation); | ||
if (size.Size < 512) | ||
return mem.ReadStringU(String.ToInt64(), (int) (size.Size * 2)); | ||
return mem.ReadStringU(String.ToInt64()); | ||
}*/ | ||
} | ||
|
||
|
||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct FileInformation | ||
{ | ||
[FieldOffset(0x18)] public NativeStringU String; | ||
[FieldOffset(0x28)] public long Size; | ||
[FieldOffset(0x30)] public long Capacity; | ||
[FieldOffset(0x38)] public int Test1; | ||
[FieldOffset(0x48)] public int AreaCount; | ||
[FieldOffset(0x4C)] public int Test2; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace GameOffsets | ||
{ | ||
public struct FlaskOffsets | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using GameOffsets.Native; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit, Pack = 1)] | ||
public struct IngameDataOffsets | ||
{ | ||
[FieldOffset(0x60)] public long CurrentArea; | ||
[FieldOffset(0x68)] public byte CurrentAreaLevel; | ||
[FieldOffset(0xE0)] public NativePtrArray MapStats; | ||
[FieldOffset(0xDC)] public uint CurrentAreaHash; | ||
[FieldOffset(0x408)] public long LocalPlayer; | ||
[FieldOffset(0x11C)] public long LabDataPtr; | ||
[FieldOffset(0x490)] public long EntityList; | ||
[FieldOffset(0x498)] public long EntitiesCount; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace GameOffsets | ||
{ | ||
[StructLayout(LayoutKind.Explicit,Pack = 1)] | ||
public struct IngameStateOffsets | ||
{ | ||
[FieldOffset(0x370)] public long Data; | ||
[FieldOffset(0x378)] public long ServerData; | ||
|
||
[FieldOffset(0x78)] public long IngameUi; | ||
[FieldOffset(0x4A0)] public long UIRoot; | ||
[FieldOffset(0x4E8)] public long UIHover; | ||
[FieldOffset(0x51C)] public float UIHoverX; | ||
[FieldOffset(0x520 )] public float UIHoverY; | ||
[FieldOffset(0x4E8 )] public long UIHoverTooltip; | ||
[FieldOffset(0x4E0 )] public float CurentUElementPosX; | ||
[FieldOffset(0x4E4 )] public float CurentUElementPosY; | ||
[FieldOffset(0x98)] public long EntityLabelMap; | ||
[FieldOffset(0x568)] public int DiagnosticInfoType; | ||
[FieldOffset(0x798)] public long LatencyRectangle; | ||
[FieldOffset(0xC28)] public long FrameTimeRectangle; | ||
[FieldOffset(0xE70)] public long FPSRectangle; | ||
[FieldOffset(0x554)] public float TimeInGame; | ||
[FieldOffset(0x558)] public float TimeInGameF; | ||
[FieldOffset(0xF4C)] public int Camera; | ||
[FieldOffset(0x524)] public int MouseXGlobal; | ||
[FieldOffset(0x524)] public int MouseYGlobal; | ||
[FieldOffset(0x524)] public float MouseXInGame; | ||
[FieldOffset(0x528)] public float MouseYInGame; | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.