Last active
June 28, 2016 06:04
-
-
Save jocopa3/a69b4c4d0ce478f3df1dbf341d91d77e to your computer and use it in GitHub Desktop.
Entity structure in 0.15.0
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
struct Entity | |
{ | |
DWORD_PTR vtablePointer; //0x0000 | |
DWORD unkInt0; //0x0008 ? | |
Vec3 pos; //0x000C Position | |
Vec3 oldPos; //0x0018 Old Position? | |
Vec3 somePos; //0x0024 Old Old Position? | |
Vec3 vel; //0x0030 Velocity | |
Vec2 rot; //0x003C Rotation | |
Vec2 oldRot; //0x0044 Rotation Old? | |
Vec3 unkVec3_0; //0x004C ? | |
DWORD_PTR dataTable; //0x0058 Data Table | |
DWORD_PTR unkPtr0; //0x0060 Ptr 2 | |
DWORD_PTR unkPtr1; //0x0068 Ptr 3 | |
int unkInt1; //0x0070 Always 255? | |
int unkInt2; //0x0074 Always 0? | |
int unkInt3; //0x0078 ChunkX | |
int unkInt4; //0x007C ChunkZ | |
Vec3 unkVec3_1; //0x0080 ? | |
int unkInt5; //0x008C | |
DWORD_PTR level; //0x0090 Level Instance | |
int unkInt6; //0x0098 | |
Vec3 color; //0x009C Color | |
Vec3 unkVec3_2; //0x00A8 ? | |
Vec3 AABBLower; //0x00B4 AABB Lower | |
Vec3 AABBUpper; //0x00C0 AABB Upper | |
Vec3 unkVec3_3; //0x00CC ? | |
Vec3 unkVec3_4; //0x00D8 ? | |
Vec2 unkVec2_0; //0x00E4 ? | |
Vec3 unkVec3_5; //0x00EC ? | |
int age; //0x00F8 Age? | |
int unkInt7; //0x00FC Usually 0, Changes when entity is hurt or healed | |
int unkInt8; //0x0100 Always 300? | |
char pad_0x0104[0xC]; //0x0104 | |
int unkInt9; //0x0110 Always MAX_INT? | |
int unkInt10; //0x0114 Always MAX_INT? | |
int unkInt11; //0x0118 Always MAX_INT? | |
char pad_0x011C[0x8]; //0x011C | |
int unkInt12; //0x0124 Something to do with entity type | |
DWORD_PTR riders[6]; //0x0128 | |
char pad_0x0158[0x38]; //0x0158 | |
int unkInt13; //0x0190 | |
int unkInt14; //0x0194 | |
int unkInt15; //0x0198 Render Id | |
int unkInt16; //0x019C | |
DWORD_PTR unkPtr2; //0x01A0 | |
char pad_0x01A8[0x10]; //0x01A8 | |
int unkInt17; //0x01B8 | |
int unkInt18; //0x01BC | |
float unkFloat0; //0x01C0 | |
char pad_0x01C4[0x8]; //0x01C4 | |
float unkFloat1; //0x01CC | |
char pad_0x01D0[0x4]; //0x01D0 | |
int unkInt19; //0x01D4 | |
int unkInt20; //0x01D8 | |
int unkInt21; //0x01DC | |
DWORD_PTR unkPtr3; //0x01E0 | |
char pad_0x01E8[0x8]; //0x01E8 | |
DWORD_PTR region; //0x01F0 Region Instance | |
char pad_0x01F8[0x4]; //0x01F8 | |
int unkInt22; //0x01FC | |
char pad_0x0200[0x10]; //0x0200 | |
int unkInt23; //0x0210 | |
int invulnTime; //0x0214 Invulnerability | |
int unkInt24; //0x0218 | |
char pad_0x021C[0x20]; //0x021C | |
int unkInt25; //0x023C | |
int unkInt26; //0x0240 | |
int unkInt27; //0x0244 | |
float unkFloat1; //0x0248 | |
int mtArr[625]; //0x024C MT Array | |
int rngPos; //0x0C10 RNG Position | |
char pad_0x0C14[0x8C]; //0x0C14 | |
DWORD_PTR unkPtr4; //0x0CA0 | |
char pad_0x0CA8[0x60]; //0x0CA8 | |
};//Size=0x0D08 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment