OldSchoolHack

Register / Login English

SWBF2 SDK

icon Thread: [Release] SWBF2 SDK

Join Date: Aug 2007

Posts: 1957

Kategorie: Sourcecode
Entwickler: Reunion, hitchhiker54

Beschreibung:
TEXT Code:
  1.        class TypeInfo : public MemberInfo
  2. {
  3. public:
  4. struct TypeInfoData : MemberInfoData
  5. {
  6. unsigned short m_TotalSize; //0x000A
  7. char _0x000C[4];
  8. ModuleInfo* m_Module; //0x0010
  9. // new for swbfII
  10. TypeInfo* m_pArrayTypeInfo; //0x0018
  11.  
  12. unsigned short m_Alignment; //0x0020
  13. unsigned short m_FieldCount; //0x0022
  14. char _0x001C[4]; //[6];
  15. };//Size=0x0028
  16.  
  17. TypeInfo* m_Next; //0x0008
  18. unsigned short m_RuntimeId; //0x0010
  19. unsigned short m_Flags; //0x0012
  20. char _0x0014[4];
  21.  
  22. TypeInfoData* GetTypeInfoData();
  23. };//Size=0x0018
  24.  
  25. class FieldInfo : public MemberInfo
  26. {
  27. public:
  28. struct FieldInfoData : MemberInfo::MemberInfoData
  29. {
  30. unsigned short m_FieldOffset; //0x000A
  31. char _0x000C[4];
  32. TypeInfo* m_FieldTypePtr; //0x0010
  33.  
  34. };//Size=0x0018
  35.  
  36. virtual TypeInfo* GetDeclaringType();
  37. virtual unsigned short GetFieldIndex();
  38.  
  39. TypeInfo* m_DeclaringType; //0x0010
  40.  
  41. FieldInfoData* GetFieldInfoData();
  42. };//Size=0x0018
  43.  
  44. class ClassInfo : public TypeInfo
  45. {
  46. public:
  47. struct ClassInfoData : TypeInfo::TypeInfoData
  48. {
  49. ClassInfo* m_SuperClass; //0x0028
  50. FieldInfo::FieldInfoData* m_Fields; //0x0030
  51. };//Size=0x0038
  52.  
  53. char pad_0018[32]; //0x0018
  54. ClassInfo* m_Super; //0x0038
  55. void* m_DefaultInstance; //0x0040
  56. unsigned short m_ClassId; //0x0048
  57. unsigned short m_LastSubClassId; //0x004A
  58.  
  59. ClassInfoData* GetClassInfoData();
  60.  
  61. };//Size=0x004C
  62.  
  63. class ArrayTypeInfo : public TypeInfo
  64. {
  65. public:
  66. struct ArrayTypeInfoData : TypeInfo::TypeInfoData
  67. {
  68. TypeInfo* m_ElementType; //0x0028
  69.  
  70. };//Size=0x0030
  71.  
  72. ArrayTypeInfoData* GetArrayTypeInfoData();
  73.  
  74. };//Size=0x0018
  75.  
  76. class EnumFieldInfo : public TypeInfo
  77. {
  78. public:
  79. struct EnumFieldInfoData : TypeInfo::TypeInfoData
  80. {
  81. FieldInfo::FieldInfoData* m_Fields; //0x0028    
  82.  
  83. };//Size=0x0030
  84.  
  85. EnumFieldInfoData* GetEnumInfoData();
  86.  
  87. };//Size=0x0018
  88.  
  89. class ValueTypeInfo : public TypeInfo
  90. {
  91. public:
  92. struct ValueTypeInfoData : TypeInfo::TypeInfoData
  93. {
  94.  
  95. char pad_0028[40]; //0x0028
  96. FieldInfo::FieldInfoData* m_Fields; //0x0050
  97.  
  98. };//Size=0x0030
  99.  
  100. ValueTypeInfoData* GetValueInfoData();
  101.  
  102. };//Size=0x0018
  103.  
  104. class ITypedObject
  105. {
  106. public:
  107. virtual TypeInfo* GetType();
  108.  
  109. };//Size=0x0008
  110.  



Download:
SWBF2 SDK