mirror of
https://github.com/EricPlayZ/EGameTools.git
synced 2025-07-18 17:37:53 +08:00
backup script changes
This commit is contained in:
@ -3,5 +3,47 @@
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CBaseCamera : public IBaseCamera {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_field;
|
||||
GAME_IMPORT static rtti::Type& m_RTTI;
|
||||
|
||||
VIRTUAL_CALL(0, uint64_t*, sub_405720, (char a1), a1);
|
||||
VIRTUAL_CALL(1, int64_t, sub_10E8140, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(2, int64_t, sub_10E8260, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(3, int64_t, sub_10E8390, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(4, int64_t, sub_10E8730, (__int128* a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(5, ttl::list<MED::CMaterialTemplate::FieldDefinition, ttl::allocator> const&, fields, ());
|
||||
VIRTUAL_CALL(6, SpawnMaskingPath const&, GetSpawnMaskingPath, ());
|
||||
VIRTUAL_CALL(7, CRTTIObject* const&, GetValueConstValue, (gui::CActionGraphInstance*), gui::CActionGraphInstance*);
|
||||
VIRTUAL_CALL(8, ttl::list<MED::CMaterialTemplate::FieldDefinition, ttl::allocator> const&, _fields1, ());
|
||||
VIRTUAL_CALL(9, int64_t, sub_10E8800, ());
|
||||
VIRTUAL_CALL(10, int64_t, sub_417620, ());
|
||||
VIRTUAL_CALL(11, int64_t, sub_42B070, ());
|
||||
VIRTUAL_CALL(12, int64_t, sub_43D650, ());
|
||||
VIRTUAL_CALL(13, double, sub_43B610, (int a1, int a2, int a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(14, int64_t, sub_43C1F0, (int a1), a1);
|
||||
VIRTUAL_CALL(15, int64_t, sub_43CAC0, ());
|
||||
VIRTUAL_CALL(16, const char*, sub_419DF0, ());
|
||||
VIRTUAL_CALL(17, int64_t, sub_40B260, ());
|
||||
VIRTUAL_CALL(18, void, sub_4136E0, (float a1, float a2, float a3, int a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(19, void, sub_4136A0, (float a1, float a2), a1, a2);
|
||||
VIRTUAL_CALL(20, void, sub_41FFA0, ());
|
||||
VIRTUAL_CALL(21, int64_t, sub_43D620, (float a1), a1);
|
||||
VIRTUAL_CALL(22, float, sub_41DD20, ());
|
||||
VIRTUAL_CALL(23, char*, sub_419B40, ());
|
||||
VIRTUAL_CALL(24, int64_t, sub_4461D0, (int64_t a1, int64_t a2), a1, a2);
|
||||
|
||||
GAME_IMPORT static rtti::Type& typeinfo();
|
||||
private:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
public:
|
||||
GAME_IMPORT static CRTTI* GetSTTI();
|
||||
private:
|
||||
GAME_IMPORT static rtti::Type& __INTERNAL_type_factory();
|
||||
GAME_IMPORT static CRTTI* __INTERNAL_crtti_factory();
|
||||
public:
|
||||
GAME_IMPORT static CBaseCamera::CBaseCameraMemento const* LoadMemento(fs::ifile&);
|
||||
#pragma endregion
|
||||
};
|
||||
}
|
@ -5,6 +5,70 @@
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CBulletPhysicsCharacter : IPhysicsCharacter {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, uint64_t*, sub_D0BDB0, (char a1), a1);
|
||||
VIRTUAL_CALL(1, int64_t, sub_E4E2B0, (int64_t a1, int64_t a2, int64_t a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(2, int64_t, sub_E3EAA0, ());
|
||||
VIRTUAL_CALL(3, int64_t, sub_D5BF50, ());
|
||||
VIRTUAL_CALL(4, int64_t, _sub_D5BF501, ());
|
||||
VIRTUAL_CALL(5, CLevel const*, ToCLevel, ());
|
||||
VIRTUAL_CALL(6, int64_t, sub_E64980, ());
|
||||
VIRTUAL_CALL(7, static int, min_verts_per_poly, ());
|
||||
VIRTUAL_CALL(8, bool, sub_D324A0, ());
|
||||
VIRTUAL_CALL(9, void, sub_E38BE0, (float* a1), a1);
|
||||
VIRTUAL_CALL(10, int64_t, sub_D5BF70, ());
|
||||
VIRTUAL_CALL(11, int64_t, sub_E75940, (float* a1), a1);
|
||||
VIRTUAL_CALL(12, uint64_t*, sub_E491E0, (uint64_t* a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(13, int64_t, sub_D5FF20, ());
|
||||
VIRTUAL_CALL(14, int64_t, sub_D44210, ());
|
||||
VIRTUAL_CALL(15, int64_t, sub_D58490, ());
|
||||
VIRTUAL_CALL(16, int64_t, sub_D5C0C0, ());
|
||||
VIRTUAL_CALL(17, int64_t, sub_E48A60, (uint32_t a1), a1);
|
||||
GAME_IMPORT virtual ttl::string_base<char> const& SampleCustomString(float, ttl::string_base<char> const&) const;
|
||||
VIRTUAL_CALL(19, int64_t, sub_D293A0, ());
|
||||
VIRTUAL_CALL(20, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(21, int64_t, sub_E31BC0, ());
|
||||
VIRTUAL_CALL(22, int64_t, sub_E2E5F0, ());
|
||||
VIRTUAL_CALL(23, void, SetPlatform, ());
|
||||
VIRTUAL_CALL(24, int64_t, sub_E572A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(25, int64_t, sub_E567D0, ());
|
||||
VIRTUAL_CALL(26, int64_t, sub_E72480, ());
|
||||
VIRTUAL_CALL(27, uint64_t*, sub_E71A30, (float a1), a1);
|
||||
VIRTUAL_CALL(28, int64_t, sub_E712A0, (float a1), a1);
|
||||
VIRTUAL_CALL(29, int64_t, sub_E54A10, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(30, int64_t, sub_21B530, ());
|
||||
VIRTUAL_CALL(31, int64_t, sub_D2D3C0, ());
|
||||
VIRTUAL_CALL(32, gui::IObject*, ToIObject, ());
|
||||
VIRTUAL_CALL(33, int64_t, sub_E52950, (char a1), a1);
|
||||
VIRTUAL_CALL(34, void, sub_E52700, (char a1), a1);
|
||||
VIRTUAL_CALL(35, bool, sub_D32EC0, ());
|
||||
VIRTUAL_CALL(36, void, _SetPlatform1, ());
|
||||
VIRTUAL_CALL(37, int64_t, sub_D5B270, ());
|
||||
VIRTUAL_CALL(38, int64_t, sub_D2AF10, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(39, void, _SetPlatform2, ());
|
||||
VIRTUAL_CALL(40, int64_t, sub_D2E200, ());
|
||||
VIRTUAL_CALL(41, int64_t, sub_D19600, ());
|
||||
VIRTUAL_CALL(42, int64_t, sub_D56390, ());
|
||||
VIRTUAL_CALL(43, void, sub_E33F10, (__m128* a1, int64_t a2, __m128* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(44, int64_t, sub_D3F110, ());
|
||||
VIRTUAL_CALL(45, int64_t, sub_E3C5B0, ());
|
||||
VIRTUAL_CALL(46, void, sub_E423A0, ());
|
||||
VIRTUAL_CALL(47, char, sub_E68740, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(48, void, sub_E75820, (char a1), a1);
|
||||
VIRTUAL_CALL(49, char, sub_E39970, (int a1), a1);
|
||||
VIRTUAL_CALL(50, void, sub_D24750, (char a1), a1);
|
||||
VIRTUAL_CALL(51, int64_t, sub_D24710, ());
|
||||
VIRTUAL_CALL(52, int64_t, _sub_D2D3C01, ());
|
||||
VIRTUAL_CALL(53, void, _SetPlatform3, ());
|
||||
VIRTUAL_CALL(54, static float, default_region_min_size, ());
|
||||
VIRTUAL_CALL(55, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(56, int64_t, sub_D554A0, ());
|
||||
VIRTUAL_CALL(57, float const&, GetStartFrameConstValue, (gui::CActionGraphInstance*), gui::CActionGraphInstance*);
|
||||
VIRTUAL_CALL(58, bool, sub_E4D520, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(59, _OWORD*, sub_E33D60, (_OWORD* a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(60, int64_t, sub_D2E160, ());
|
||||
#pragma endregion
|
||||
public:
|
||||
union {
|
||||
DynamicField(CBulletPhysicsCharacter, vec3, playerPos);
|
||||
|
@ -5,6 +5,169 @@ namespace EGSDK::Engine {
|
||||
class CLevel2;
|
||||
|
||||
class EGameSDK_API CGSObject {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_field;
|
||||
GAME_IMPORT static rtti::Type& m_RTTI;
|
||||
|
||||
VIRTUAL_CALL(0, int64_t, sub_7E9B40, (int64_t a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, IObject*, sub_7DC7A0, (char a1), a1);
|
||||
GAME_IMPORT virtual CRTTI const* GetRTTI() const;
|
||||
VIRTUAL_CALL(3, int64_t, sub_800A90, ());
|
||||
VIRTUAL_CALL(4, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(5, MED::SModelOutfitGroup const*, _unassigned8, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, gui::CPackage*, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, gui::CPackage*, _ToCPackage2, ());
|
||||
VIRTUAL_CALL(8, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, int64_t, _RunUnitTests8, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, MED::SModelOutfitGroup const*, _unassigned9, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
VIRTUAL_CALL(18, int64_t, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, int64_t, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned10, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform9, ());
|
||||
GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams14, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams15, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams16, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams17, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams18, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams19, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams20, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams21, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams22, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, int64_t, _RunUnitTests9, ());
|
||||
VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned11, ());
|
||||
VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned12, ());
|
||||
VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned13, ());
|
||||
VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned14, ());
|
||||
GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void, _SetPlatform10, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests10, ());
|
||||
GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void, _SetPlatform11, ());
|
||||
VIRTUAL_CALL(52, char, sub_1816B0, (const CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
VIRTUAL_CALL(56, int64_t, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, int64_t, sub_7F8F70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(58, int64_t, _RunUnitTests11, ());
|
||||
GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, int64_t, _RunUnitTests12, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
VIRTUAL_CALL(62, int64_t, sub_7E65C0, (_DWORD* a1), a1);
|
||||
VIRTUAL_CALL(63, int64_t, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, int64_t, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams23, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(67, int64_t, sub_806BC0, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
VIRTUAL_CALL(69, char, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void, sub_17D770, (CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams24, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(73, int64_t, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const*, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, uint64_t*, sub_8343A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams25, ());
|
||||
VIRTUAL_CALL(77, char, sub_81DA90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams26, ());
|
||||
VIRTUAL_CALL(79, bool, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, int64_t, _RunUnitTests13, ());
|
||||
VIRTUAL_CALL(81, int64_t, _RunUnitTests14, ());
|
||||
VIRTUAL_CALL(82, void, _SetPlatform12, ());
|
||||
GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
VIRTUAL_CALL(84, bool, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char, sub_15E050, ());
|
||||
VIRTUAL_CALL(88, static void, RegisterSTTI, (CRTTI*), CRTTI*);
|
||||
VIRTUAL_CALL(89, int64_t, sub_7ED0C0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(90, int64_t, sub_7F4540, ());
|
||||
VIRTUAL_CALL(91, void, sub_15FFC0, (int64_t a1, int a2), a1, a2);
|
||||
VIRTUAL_CALL(92, bool, sub_815110, (int64_t a1, __int16 a2, uint32_t a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(93, uint64_t*, sub_131260, (int64_t* a1, int a2, int a3, int64_t a4, CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(94, void, SetNextAction, (gui::CActionNode*), gui::CActionNode*);
|
||||
VIRTUAL_CALL(95, int64_t, sub_7F0310, ());
|
||||
VIRTUAL_CALL(96, void, _SetPlatform13, ());
|
||||
VIRTUAL_CALL(97, int64_t, sub_822BC0, ());
|
||||
GAME_IMPORT virtual void InitializeObject(CGSObject*);
|
||||
VIRTUAL_CALL(99, int64_t, sub_80C420, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(100, int64_t, sub_7F0AF0, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(101, int64_t, sub_7E9230, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(102, int64_t, sub_7E8D70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(103, int64_t, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, int64_t, sub_7E8F20, ());
|
||||
VIRTUAL_CALL(105, int64_t, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char, sub_7F97C0, (int64_t a1, uint64_t* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char, sub_8130B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(108, char, sub_813020, (uint64_t* * a1), a1);
|
||||
VIRTUAL_CALL(109, uint64_t*, sub_806400, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(110, int64_t, sub_831710, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(111, int64_t, sub_8316D0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(112, void, sub_8261B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(113, void, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, uint32_t64_t, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, int64_t, sub_8341B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(116, int64_t, sub_833F80, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(117, uint64_t*, sub_800900, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(118, uint64_t*, sub_802EE0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(119, int64_t, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, int64_t, sub_831870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(122, int64_t, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, int64_t, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, int64_t, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, int64_t, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, int64_t, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, int64_t, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, int64_t, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, int64_t, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, int64_t, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, int64_t, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, int64_t, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, int64_t, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, int64_t, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, int64_t, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, int64_t, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, int64_t, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, int64_t, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, int64_t, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, int64_t, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, int64_t, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, int64_t, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, int64_t, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool, sub_811980, ());
|
||||
VIRTUAL_CALL(145, uint64_t*, sub_7FE950, (uint64_t* a1), a1);
|
||||
|
||||
GAME_IMPORT static rtti::Type& typeinfo();
|
||||
private:
|
||||
GAME_IMPORT static CRTTI* __INTERNAL_crtti_factory();
|
||||
public:
|
||||
GAME_IMPORT static CRTTI* GetSTTI();
|
||||
private:
|
||||
GAME_IMPORT static rtti::Type& __INTERNAL_type_factory();
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
#pragma endregion
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x48, CLevel2*> pCLevel2;
|
||||
|
@ -11,6 +11,203 @@ namespace EGSDK {
|
||||
class CLevel;
|
||||
|
||||
class EGameSDK_API CGame {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT static rtti::Type& m_RTTI;
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_field;
|
||||
|
||||
VIRTUAL_CALL(0, int64_t, sub_7E9B40, (int64_t a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, IObject*, sub_7DC7E0, (char a1), a1);
|
||||
GAME_IMPORT virtual CRTTI const* GetRTTI() const;
|
||||
VIRTUAL_CALL(3, int64_t, sub_800AA0, ());
|
||||
VIRTUAL_CALL(4, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(5, MED::SModelOutfitGroup const*, _unassigned1, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, gui::CPackage*, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, gui::CPackage*, _ToCPackage1, ());
|
||||
VIRTUAL_CALL(8, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, int64_t, _RunUnitTests1, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, MED::SModelOutfitGroup const*, _unassigned2, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
VIRTUAL_CALL(18, int64_t, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, int64_t, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned3, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform4, ());
|
||||
GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams1, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams2, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams3, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams4, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams5, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams6, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams7, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams8, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams9, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, int64_t, _RunUnitTests2, ());
|
||||
VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned4, ());
|
||||
VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned5, ());
|
||||
VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned6, ());
|
||||
VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned7, ());
|
||||
GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void, _SetPlatform5, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests3, ());
|
||||
GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void, _SetPlatform6, ());
|
||||
VIRTUAL_CALL(52, char, sub_1816B0, (const CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
VIRTUAL_CALL(56, int64_t, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, int64_t, sub_7F8F70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(58, int64_t, _RunUnitTests4, ());
|
||||
GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, int64_t, _RunUnitTests5, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
VIRTUAL_CALL(62, int64_t, sub_7E65C0, (_DWORD* a1), a1);
|
||||
VIRTUAL_CALL(63, int64_t, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, int64_t, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams10, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(67, int64_t, sub_806BC0, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
VIRTUAL_CALL(69, char, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void, sub_17D770, (CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams11, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(73, int64_t, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const*, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, uint64_t*, sub_8343A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams12, ());
|
||||
VIRTUAL_CALL(77, char, sub_81DA90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams13, ());
|
||||
VIRTUAL_CALL(79, bool, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, int64_t, _RunUnitTests6, ());
|
||||
VIRTUAL_CALL(81, int64_t, _RunUnitTests7, ());
|
||||
VIRTUAL_CALL(82, void, _SetPlatform7, ());
|
||||
GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
VIRTUAL_CALL(84, bool, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char, sub_15E050, ());
|
||||
VIRTUAL_CALL(88, static void, RegisterSTTI, (CRTTI*), CRTTI*);
|
||||
VIRTUAL_CALL(89, int64_t, sub_7ED0C0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(90, int64_t, sub_7F4540, ());
|
||||
VIRTUAL_CALL(91, void, sub_15FFC0, (int64_t a1, int a2), a1, a2);
|
||||
VIRTUAL_CALL(92, char, sub_815470, (int64_t a1, __int16 a2, uint32_t a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(93, uint64_t*, sub_131260, (int64_t* a1, int a2, int a3, int64_t a4, CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(94, int64_t, sub_833BD0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(95, int64_t, sub_7F0310, ());
|
||||
VIRTUAL_CALL(96, void, _SetPlatform8, ());
|
||||
VIRTUAL_CALL(97, int64_t, sub_822BC0, ());
|
||||
GAME_IMPORT virtual void InitializeObject(CGSObject*);
|
||||
VIRTUAL_CALL(99, int64_t, sub_80C420, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(100, void, sub_7F0FE0, ());
|
||||
VIRTUAL_CALL(101, int64_t, sub_7E9230, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(102, int64_t, sub_7E8D70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(103, int64_t, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, int64_t, sub_7E9030, ());
|
||||
VIRTUAL_CALL(105, int64_t, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char, sub_7F97C0, (int64_t a1, uint64_t* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char, sub_8130B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(108, char, sub_813020, (uint64_t* * a1), a1);
|
||||
VIRTUAL_CALL(109, uint64_t*, sub_806400, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(110, int64_t, sub_831710, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(111, int64_t, sub_8316D0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(112, void, sub_8261B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(113, void, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, uint32_t64_t, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, int64_t, sub_8341B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(116, int64_t, sub_833F80, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(117, uint64_t*, sub_800900, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(118, uint64_t*, sub_802EE0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(119, int64_t, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, int64_t, sub_831870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(122, int64_t, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, int64_t, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, int64_t, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, int64_t, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, int64_t, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, int64_t, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, int64_t, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, int64_t, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, int64_t, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, int64_t, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, int64_t, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, int64_t, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, int64_t, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, int64_t, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, int64_t, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, int64_t, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, int64_t, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, int64_t, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, int64_t, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, int64_t, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, int64_t, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, int64_t, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool, sub_811980, ());
|
||||
VIRTUAL_CALL(145, uint64_t*, sub_7FE950, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(146, errno_t, sub_7EA3E0, ());
|
||||
VIRTUAL_CALL(147, int64_t, sub_81DB20, ());
|
||||
VIRTUAL_CALL(148, void, sub_81DAF0, ());
|
||||
VIRTUAL_CALL(149, int64_t, sub_81DB60, ());
|
||||
VIRTUAL_CALL(150, _BOOL8, sub_80C750, (int64_t a1, int64_t a2, int64_t a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(151, int64_t, sub_80C820, (int64_t a1, int a2, int64_t a3, int64_t a4, int64_t a5, int a6, int a7, int64_t a8), a1, a2, a3, a4, a5, a6, a7, a8);
|
||||
VIRTUAL_CALL(152, const char*, sub_802750, ());
|
||||
VIRTUAL_CALL(153, int64_t, sub_81D870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(154, int64_t, sub_83D020, ());
|
||||
VIRTUAL_CALL(155, int64_t, sub_81D7F0, ());
|
||||
VIRTUAL_CALL(156, void, sub_7DD710, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(157, int64_t, sub_8295F0, (int64_t* a1), a1);
|
||||
VIRTUAL_CALL(158, void, sub_829650, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(159, int64_t, sub_803060, ());
|
||||
VIRTUAL_CALL(160, void* *, sub_810F60, (int a1), a1);
|
||||
VIRTUAL_CALL(161, int64_t, sub_81A870, ());
|
||||
VIRTUAL_CALL(162, uint32_t64_t*, sub_7FF6E0, (uint32_t64_t* a1), a1);
|
||||
VIRTUAL_CALL(163, int64_t, sub_8121D0, ());
|
||||
VIRTUAL_CALL(164, double, sub_834890, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(165, float, sub_806860, ());
|
||||
VIRTUAL_CALL(166, void, sub_806910, (_DWORD* a1, _DWORD* a2), a1, a2);
|
||||
VIRTUAL_CALL(167, static float, default_region_min_size, ());
|
||||
|
||||
private:
|
||||
GAME_IMPORT static rtti::Type& __INTERNAL_type_factory();
|
||||
public:
|
||||
GAME_IMPORT void Benchmark_Start();
|
||||
GAME_IMPORT void UnloadDynamicPatchRpack(ttl::string_const<char>);
|
||||
GAME_IMPORT void SetBufferForModels(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1> const&);
|
||||
GAME_IMPORT void Benchmark_End();
|
||||
GAME_IMPORT ttl::string_base<char> ParseCmdLineValue(ttl::string_base<char> const&);
|
||||
GAME_IMPORT Performance::CBenchmarkSession* Benchmark_GetSession();
|
||||
GAME_IMPORT static rtti::Type& typeinfo();
|
||||
GAME_IMPORT void Benchmark_CreateSession();
|
||||
GAME_IMPORT bool IsLaunchedFromEditor() const;
|
||||
GAME_IMPORT void Benchmark_DestroySession();
|
||||
private:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
GAME_IMPORT static CRTTI* __INTERNAL_crtti_factory();
|
||||
public:
|
||||
GAME_IMPORT static CRTTI* GetSTTI();
|
||||
GAME_IMPORT ChromeSpy::IDataCollector* GetDataCollector() const;
|
||||
GAME_IMPORT bool LoadDynamicPatchRpack(ttl::string_const<char>);
|
||||
#pragma endregion
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x8, GamePH::GameDI_PH*> pGameDI_PH;
|
||||
|
@ -4,6 +4,12 @@
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CInput {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, void*, sub_AB9DC0, (char a1), a1);
|
||||
VIRTUAL_CALL(1, void, sub_ABA370, ());
|
||||
VIRTUAL_CALL(2, int64_t, sub_AE1710, ());
|
||||
#pragma endregion
|
||||
public:
|
||||
void UnlockGameInput();
|
||||
uint64_t BlockGameInput();
|
||||
|
@ -10,6 +10,255 @@ namespace EGSDK {
|
||||
class CGSObject;
|
||||
|
||||
class EGameSDK_API CLevel {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT static char const* const CB_REGION_DIR_PREFIX;
|
||||
GAME_IMPORT static rtti::Type& m_RTTI;
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_field;
|
||||
GAME_IMPORT static char const* const GENERATED_CONTENT_DIR_NAME;
|
||||
|
||||
VIRTUAL_CALL(0, int64_t, sub_7E9B40, (int64_t a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, IObject*, sub_AFCDB0, (char a1), a1);
|
||||
GAME_IMPORT virtual CRTTI const* GetRTTI() const;
|
||||
VIRTUAL_CALL(3, int64_t, sub_B122A0, ());
|
||||
VIRTUAL_CALL(4, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(5, MED::SModelOutfitGroup const*, _unassigned15, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, gui::CPackage*, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, gui::CPackage*, _ToCPackage3, ());
|
||||
VIRTUAL_CALL(8, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, int64_t, _RunUnitTests15, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, MED::SModelOutfitGroup const*, _unassigned16, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
VIRTUAL_CALL(18, int64_t, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, int64_t, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned17, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform14, ());
|
||||
GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams27, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams28, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams29, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams30, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams31, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams32, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams33, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams34, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams35, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, int64_t, _RunUnitTests16, ());
|
||||
VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned18, ());
|
||||
VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned19, ());
|
||||
VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned20, ());
|
||||
VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned21, ());
|
||||
GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void, _SetPlatform15, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests17, ());
|
||||
GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void, _SetPlatform16, ());
|
||||
VIRTUAL_CALL(52, char, sub_1816B0, (const CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
VIRTUAL_CALL(56, int64_t, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, int64_t, sub_7F8F70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(58, int64_t, _RunUnitTests18, ());
|
||||
GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, int64_t, _RunUnitTests19, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
VIRTUAL_CALL(62, int64_t, sub_B005E0, (_DWORD* a1), a1);
|
||||
VIRTUAL_CALL(63, int64_t, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, int64_t, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams36, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(67, int64_t, sub_806BC0, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
VIRTUAL_CALL(69, char, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void, sub_17D770, (CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams37, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(73, int64_t, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const*, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, uint64_t*, sub_8343A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams38, ());
|
||||
VIRTUAL_CALL(77, char, sub_81DA90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams39, ());
|
||||
VIRTUAL_CALL(79, bool, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, int64_t, _RunUnitTests20, ());
|
||||
VIRTUAL_CALL(81, int64_t, _RunUnitTests21, ());
|
||||
VIRTUAL_CALL(82, static void, RegisterSTTI, (CRTTI*), CRTTI*);
|
||||
GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
VIRTUAL_CALL(84, bool, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char, sub_15E050, ());
|
||||
VIRTUAL_CALL(88, static void, _RegisterSTTI1, (CRTTI* a1), a1);
|
||||
VIRTUAL_CALL(89, int64_t, sub_7ED0C0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(90, int64_t, sub_7F4540, ());
|
||||
VIRTUAL_CALL(91, int64_t, sub_B1E130, (int64_t a1, uint32_t a2), a1, a2);
|
||||
VIRTUAL_CALL(92, char, sub_B1E1C0, (int64_t* a1, int64_t a2, uint32_t a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(93, uint64_t*, sub_131260, (int64_t* a1, int a2, int a3, int64_t a4, CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(94, void, sub_B30960, (gui::CActionNode* a1), a1);
|
||||
VIRTUAL_CALL(95, int64_t, sub_7F0310, ());
|
||||
VIRTUAL_CALL(96, int64_t, GsDriverEntry_0, ());
|
||||
VIRTUAL_CALL(97, void, _SetPlatform17, ());
|
||||
VIRTUAL_CALL(98, void, sub_B1C6E0, (CGSObject* a1), a1);
|
||||
VIRTUAL_CALL(99, int64_t, sub_80C420, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(100, int, sub_B04E70, ());
|
||||
VIRTUAL_CALL(101, int64_t, sub_7E9230, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(102, int64_t, sub_7E8D70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(103, int64_t, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, int64_t, sub_B02400, ());
|
||||
VIRTUAL_CALL(105, int64_t, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char, sub_7F97C0, (int64_t a1, uint64_t* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char, sub_8130B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(108, char, sub_813020, (uint64_t* * a1), a1);
|
||||
VIRTUAL_CALL(109, uint64_t*, sub_806400, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(110, int64_t, sub_831710, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(111, int64_t, sub_8316D0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(112, void, sub_8261B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(113, void, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, uint32_t64_t, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, int64_t, sub_8341B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(116, int64_t, sub_833F80, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(117, uint32_t64_t*, sub_B120A0, (uint32_t64_t* a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(118, uint64_t*, sub_802EE0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(119, int64_t, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, int64_t, sub_831870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(122, int64_t, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, int64_t, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, int64_t, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, int64_t, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, int64_t, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, int64_t, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, int64_t, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, int64_t, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, int64_t, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, int64_t, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, int64_t, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, int64_t, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, int64_t, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, int64_t, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, int64_t, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, int64_t, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, int64_t, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, int64_t, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, int64_t, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, int64_t, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, int64_t, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, int64_t, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool, sub_811980, ());
|
||||
VIRTUAL_CALL(145, uint64_t*, sub_7FE950, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(146, int64_t, sub_B17A80, ());
|
||||
VIRTUAL_CALL(147, int64_t, _sub_B17A801, ());
|
||||
VIRTUAL_CALL(148, void, _SetPlatform18, ());
|
||||
VIRTUAL_CALL(149, void, _SetPlatform19, ());
|
||||
VIRTUAL_CALL(150, void, _SetPlatform20, ());
|
||||
VIRTUAL_CALL(151, void, _SetPlatform21, ());
|
||||
VIRTUAL_CALL(152, void, sub_B1D5B0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(153, int64_t, sub_B317B0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(154, const char*, sub_B17360, ());
|
||||
VIRTUAL_CALL(155, void, sub_B173B0, (MED::DebugPanel::Assets* a1), a1);
|
||||
VIRTUAL_CALL(156, int64_t, sub_B34690, ());
|
||||
VIRTUAL_CALL(157, int64_t, sub_B34990, ());
|
||||
VIRTUAL_CALL(158, int64_t, sub_B01150, (int64_t a1, float a2, float a3, float a4, int a5, int a6, char a7), a1, a2, a3, a4, a5, a6, a7);
|
||||
VIRTUAL_CALL(159, _DWORD*, sub_B31E40, (int* a1), a1);
|
||||
VIRTUAL_CALL(160, int64_t, sub_B17F00, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(161, int64_t, sub_B22340, ());
|
||||
VIRTUAL_CALL(162, void, sub_B24B20, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(163, int64_t, sub_AFCF70, ());
|
||||
VIRTUAL_CALL(164, int64_t, sub_B21770, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(165, void, _SetPlatform22, ());
|
||||
VIRTUAL_CALL(166, int64_t, sub_B30870, (unsigned __int8 a1), a1);
|
||||
VIRTUAL_CALL(167, void, sub_B1A6E0, ());
|
||||
VIRTUAL_CALL(168, int64_t, sub_B05C30, ());
|
||||
VIRTUAL_CALL(169, void, _SetPlatform23, ());
|
||||
VIRTUAL_CALL(170, void, sub_B1A730, ());
|
||||
VIRTUAL_CALL(171, int64_t, sub_B1D370, ());
|
||||
VIRTUAL_CALL(172, void, sub_AFF1C0, (char a1), a1);
|
||||
VIRTUAL_CALL(173, int64_t, sub_B04C10, ());
|
||||
VIRTUAL_CALL(174, void, sub_B1A090, ());
|
||||
VIRTUAL_CALL(175, void*, sub_B1C680, ());
|
||||
VIRTUAL_CALL(176, int64_t, sub_B11210, ());
|
||||
VIRTUAL_CALL(177, int64_t, sub_B124D0, ());
|
||||
VIRTUAL_CALL(178, int64_t, sub_B12290, ());
|
||||
VIRTUAL_CALL(179, bool, sub_B1D230, ());
|
||||
VIRTUAL_CALL(180, int64_t, sub_B15DE0, ());
|
||||
VIRTUAL_CALL(181, void, sub_B31F30, (float a1), a1);
|
||||
VIRTUAL_CALL(182, float, sub_B183D0, ());
|
||||
VIRTUAL_CALL(183, int64_t, sub_B22310, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(184, int64_t, sub_B22130, ());
|
||||
VIRTUAL_CALL(185, void, _SetPlatform24, ());
|
||||
VIRTUAL_CALL(186, char, sub_B2B0A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(187, void, sub_B30B40, (uint32_t64_t a1), a1);
|
||||
VIRTUAL_CALL(188, void, sub_B30F90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(189, uint32_t64_t*, sub_B03FE0, (uint32_t64_t* a1, char* a2, ... a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(190, int64_t, sub_B15200, (int a1), a1);
|
||||
VIRTUAL_CALL(191, uint32_t64_t*, sub_B13DC0, (uint32_t64_t* a1), a1);
|
||||
VIRTUAL_CALL(192, int64_t, sub_B144B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(193, physics_spec_walk*, sub_B13DF0, (physics_spec_walk* a1), a1);
|
||||
VIRTUAL_CALL(194, int64_t, sub_B111F0, ());
|
||||
VIRTUAL_CALL(195, int64_t, sub_B22040, ());
|
||||
VIRTUAL_CALL(196, int64_t, sub_B220F0, ());
|
||||
VIRTUAL_CALL(197, _DWORD*, sub_B0C760, ());
|
||||
VIRTUAL_CALL(198, int64_t, sub_B0D030, ());
|
||||
VIRTUAL_CALL(199, int64_t, sub_B0D040, ());
|
||||
VIRTUAL_CALL(200, int64_t, sub_B221D0, ());
|
||||
VIRTUAL_CALL(201, void, sub_B222C0, ());
|
||||
VIRTUAL_CALL(202, uint64_t*, sub_B02D00, ());
|
||||
VIRTUAL_CALL(203, int64_t, sub_B28550, (char a1, int64_t a2, int64_t a3, SExtCollInfo* a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(204, bool, sub_B281E0, (char a1, int64_t a2, int64_t a3, int64_t a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(205, uint32_t, sub_B21210, (char a1, int64_t a2, int64_t a3, MED::SModelOutfitItems* a4, int64_t a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(206, int64_t, sub_B07AE0, (char a1, uint32_t* a2, int64_t a3, int64_t a4, __int128* a5, char a6), a1, a2, a3, a4, a5, a6);
|
||||
VIRTUAL_CALL(207, void, sub_B07DD0, (char a1, int64_t a2, int64_t a3, int64_t a4, __int128* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(208, void, sub_AFD490, (int64_t a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(209, int64_t, sub_B2C870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(210, int64_t, sub_B2F0B0, (int64_t* a1), a1);
|
||||
VIRTUAL_CALL(211, int64_t, sub_B2ECF0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(212, uint32_t64_t*, sub_B16F10, (uint32_t64_t* a1), a1);
|
||||
VIRTUAL_CALL(213, void, _SetPlatform25, ());
|
||||
VIRTUAL_CALL(214, float, sub_B3EDC0, ());
|
||||
|
||||
GAME_IMPORT ttl::vector<cbs::CPointer<cbs::CEntity>, ttl::vector_allocators::heap_allocator<cbs::CPointer<cbs::CEntity>>, 0> const& GetAlwaysSpawnedEntities() const;
|
||||
GAME_IMPORT ttl::string_base<char> GetLevelGeneratedContentRegionPath(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT IVarlistMixer* GetVarlistMixer() const;
|
||||
GAME_IMPORT ttl::string_base<char> GetLevelGeneratedContentRegionPath(int) const;
|
||||
GAME_IMPORT IVarlistStack* GetVarlistStack() const;
|
||||
private:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
public:
|
||||
GAME_IMPORT static rtti::Type& typeinfo();
|
||||
private:
|
||||
GAME_IMPORT static rtti::Type& __INTERNAL_type_factory();
|
||||
public:
|
||||
GAME_IMPORT IAutoSoundEmitterMgr* GetAutoSoundEmitterManager();
|
||||
GAME_IMPORT void OnCameraPositionChangedOffline(CBaseCamera*);
|
||||
private:
|
||||
GAME_IMPORT static CRTTI* __INTERNAL_crtti_factory();
|
||||
public:
|
||||
GAME_IMPORT IVarlistManager* GetVarlistManager() const;
|
||||
GAME_IMPORT float GetCurrentDaytime() const;
|
||||
GAME_IMPORT CPostprocessBlendManager* GetPostprocessBlendManager() const;
|
||||
GAME_IMPORT ttl::string_base<char> GetLevelGeneratedContentPath() const;
|
||||
GAME_IMPORT static CRTTI* GetSTTI();
|
||||
GAME_IMPORT static char const* GetGeneratedContentDirName();
|
||||
#pragma endregion
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x20, GamePH::LevelDI*> pLevelDI;
|
||||
|
@ -5,6 +5,46 @@ namespace EGSDK::Engine {
|
||||
class CGame;
|
||||
|
||||
class EGameSDK_API CLobbySteam {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, char*, sub_1333280, (char a1), a1);
|
||||
VIRTUAL_CALL(1, char, sub_1335710, ());
|
||||
VIRTUAL_CALL(2, int64_t, sub_1355D10, ());
|
||||
VIRTUAL_CALL(3, int64_t, sub_1396450, ());
|
||||
VIRTUAL_CALL(4, int64_t, sub_13966D0, ());
|
||||
VIRTUAL_CALL(5, int64_t, sub_13713F0, ());
|
||||
VIRTUAL_CALL(6, void, sub_13964C0, ());
|
||||
VIRTUAL_CALL(7, int64_t, sub_1340C80, ());
|
||||
VIRTUAL_CALL(8, int64_t, sub_1377430, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(9, char, sub_1359CA0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(10, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(11, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(12, void, SetPlatform, ());
|
||||
VIRTUAL_CALL(13, void, _SetPlatform26, ());
|
||||
VIRTUAL_CALL(14, void, _SetPlatform27, ());
|
||||
VIRTUAL_CALL(15, void, _SetPlatform28, ());
|
||||
VIRTUAL_CALL(16, void, sub_13851D0, ());
|
||||
VIRTUAL_CALL(17, float const&, GetzConstValue, (gui::CActionGraphInstance*), gui::CActionGraphInstance*);
|
||||
VIRTUAL_CALL(18, int64_t, sub_1359D10, ());
|
||||
VIRTUAL_CALL(19, int64_t, sub_1359C80, ());
|
||||
VIRTUAL_CALL(20, void, _SetPlatform29, ());
|
||||
VIRTUAL_CALL(21, bool, _updateRttiParams40, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform30, ());
|
||||
VIRTUAL_CALL(23, void, _SetPlatform31, ());
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams41, ());
|
||||
VIRTUAL_CALL(25, int64_t, sub_13529A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(26, void, _SetPlatform32, ());
|
||||
VIRTUAL_CALL(27, int64_t, sub_1388780, ());
|
||||
VIRTUAL_CALL(28, int64_t, sub_1388A50, ());
|
||||
VIRTUAL_CALL(29, void, _SetPlatform33, ());
|
||||
VIRTUAL_CALL(30, void, sub_1341F70, ());
|
||||
VIRTUAL_CALL(31, void* *, sub_13711B0, ());
|
||||
VIRTUAL_CALL(32, void, sub_1396770, ());
|
||||
VIRTUAL_CALL(33, bool, sub_1359CC0, ());
|
||||
VIRTUAL_CALL(34, bool, _updateRttiParams42, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
VIRTUAL_CALL(36, int64_t, sub_1385F70, (uint32_t64_t* a1, int a2), a1, a2);
|
||||
#pragma endregion
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0xF8, CGame*> pCGame;
|
||||
|
@ -3,6 +3,13 @@
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CVideoSettings {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, char*, sub_7DCAB0, (char a1), a1);
|
||||
|
||||
GAME_IMPORT void SetIsSavingEnabled(bool);
|
||||
GAME_IMPORT bool IsSavingEnabled() const;
|
||||
#pragma endregion
|
||||
public:
|
||||
union {
|
||||
DynamicField(CVideoSettings, float, extraFOV);
|
||||
|
@ -4,6 +4,249 @@
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API IBaseCamera {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT virtual void ClassWriterSave(IClassWriter*, bool) const;
|
||||
VIRTUAL_CALL(1, IGSObject*, sub_11F290, (char a1), a1);
|
||||
VIRTUAL_CALL(2, static CRTTIGameScript<IGSObject>*, GetSTTI, ());
|
||||
GAME_IMPORT virtual CRTTI const* GetEngineRTTI() const;
|
||||
protected:
|
||||
VIRTUAL_CALL(4, gui::CPackage*, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(5, gui::CPackage*, _ToCPackage4, ());
|
||||
VIRTUAL_CALL(6, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(7, MED::SModelOutfitGroup const*, _unassigned22, ());
|
||||
VIRTUAL_CALL(8, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, int64_t, _RunUnitTests22, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, int64_t, _RunUnitTests23, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
VIRTUAL_CALL(18, void, _SetPlatform34, ());
|
||||
VIRTUAL_CALL(19, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(20, void, _SetPlatform35, ());
|
||||
VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned23, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform36, ());
|
||||
GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams43, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams44, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams45, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams46, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams47, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams48, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams49, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams50, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams51, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, int64_t, _RunUnitTests24, ());
|
||||
VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned24, ());
|
||||
VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned25, ());
|
||||
VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned26, ());
|
||||
VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned27, ());
|
||||
GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void, _SetPlatform37, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests25, ());
|
||||
GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void, _SetPlatform38, ());
|
||||
VIRTUAL_CALL(52, static bool, _ValidateVec41, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
GAME_IMPORT virtual IGSObject* FindObjectByID(int) const;
|
||||
GAME_IMPORT virtual IGSObject* FindObjectByNetPointer(SRttiNetPointer const&) const;
|
||||
GAME_IMPORT virtual cbs::CEntity* FindEntityByNetPointer(SRttiNetPointer const&) const;
|
||||
GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, int64_t, _RunUnitTests26, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
GAME_IMPORT virtual void CalcMemoryUsage(SObjectMemoryUsage&) const;
|
||||
VIRTUAL_CALL(63, void, _SetPlatform39, ());
|
||||
VIRTUAL_CALL(64, bool, _updateRttiParams52, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams53, ());
|
||||
VIRTUAL_CALL(66, static bool, _ValidateVec42, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(67, int64_t, _RunUnitTests27, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
GAME_IMPORT virtual bool IsFieldChanged(CRTTIField const*) const;
|
||||
GAME_IMPORT virtual void SetFieldChangedFlag(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams54, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(73, void, _SetPlatform40, ());
|
||||
GAME_IMPORT virtual char const* GetPresetsData() const;
|
||||
VIRTUAL_CALL(75, void, _SetPlatform41, ());
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams55, ());
|
||||
private:
|
||||
GAME_IMPORT virtual bool OnFieldChanged(CRTTIField const*, bool);
|
||||
public:
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams56, ());
|
||||
VIRTUAL_CALL(79, bool, _updateRttiParams57, ());
|
||||
VIRTUAL_CALL(80, int64_t, _RunUnitTests28, ());
|
||||
VIRTUAL_CALL(81, int64_t, _RunUnitTests29, ());
|
||||
VIRTUAL_CALL(82, void, _SetPlatform42, ());
|
||||
GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetEngineObject(CGSObject*);
|
||||
public:
|
||||
VIRTUAL_CALL(85, MED::SModelOutfitGroup const*, _unassigned28, ());
|
||||
VIRTUAL_CALL(86, MED::SModelOutfitGroup const*, _unassigned29, ());
|
||||
VIRTUAL_CALL(87, int64_t, _RunUnitTests30, ());
|
||||
VIRTUAL_CALL(88, int64_t, _RunUnitTests31, ());
|
||||
VIRTUAL_CALL(89, int64_t, _RunUnitTests32, ());
|
||||
VIRTUAL_CALL(90, int64_t, _RunUnitTests33, ());
|
||||
VIRTUAL_CALL(91, int64_t, _RunUnitTests34, ());
|
||||
VIRTUAL_CALL(92, int64_t, _RunUnitTests35, ());
|
||||
VIRTUAL_CALL(93, int64_t, _RunUnitTests36, ());
|
||||
VIRTUAL_CALL(94, int64_t, _RunUnitTests37, ());
|
||||
VIRTUAL_CALL(95, void, _SetPlatform43, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> toString() const;
|
||||
VIRTUAL_CALL(97, void, _SetPlatform44, ());
|
||||
VIRTUAL_CALL(98, void, _SetPlatform45, ());
|
||||
VIRTUAL_CALL(99, bool, _updateRttiParams58, ());
|
||||
VIRTUAL_CALL(100, void, _SetPlatform46, ());
|
||||
VIRTUAL_CALL(101, void, _SetPlatform47, ());
|
||||
VIRTUAL_CALL(102, void, _SetPlatform48, ());
|
||||
VIRTUAL_CALL(103, void, _SetPlatform49, ());
|
||||
VIRTUAL_CALL(104, void, _SetPlatform50, ());
|
||||
VIRTUAL_CALL(105, void, _SetPlatform51, ());
|
||||
VIRTUAL_CALL(106, void, _SetPlatform52, ());
|
||||
private:
|
||||
VIRTUAL_CALL(107, void, UnregisterInTimeHandlerManager, ());
|
||||
public:
|
||||
VIRTUAL_CALL(108, void, _UnregisterInTimeHandlerManager1, ());
|
||||
VIRTUAL_CALL(109, void, _SetPlatform53, ());
|
||||
VIRTUAL_CALL(110, void, _SetPlatform54, ());
|
||||
VIRTUAL_CALL(111, void, _SetPlatform55, ());
|
||||
VIRTUAL_CALL(112, void, _SetPlatform56, ());
|
||||
VIRTUAL_CALL(113, void, _SetPlatform57, ());
|
||||
VIRTUAL_CALL(114, void, _SetPlatform58, ());
|
||||
VIRTUAL_CALL(115, void, _SetPlatform59, ());
|
||||
VIRTUAL_CALL(116, void, _SetPlatform60, ());
|
||||
VIRTUAL_CALL(117, void, _SetPlatform61, ());
|
||||
VIRTUAL_CALL(118, void, _SetPlatform62, ());
|
||||
VIRTUAL_CALL(119, void, _SetPlatform63, ());
|
||||
VIRTUAL_CALL(120, void, _SetPlatform64, ());
|
||||
GAME_IMPORT virtual void OnActivateOnModule();
|
||||
VIRTUAL_CALL(122, void, _SetPlatform65, ());
|
||||
VIRTUAL_CALL(123, void, _SetPlatform66, ());
|
||||
VIRTUAL_CALL(124, void, _SetPlatform67, ());
|
||||
VIRTUAL_CALL(125, void, _SetPlatform68, ());
|
||||
VIRTUAL_CALL(126, void, _SetPlatform69, ());
|
||||
VIRTUAL_CALL(127, void, _SetPlatform70, ());
|
||||
VIRTUAL_CALL(128, void, _SetPlatform71, ());
|
||||
VIRTUAL_CALL(129, void, _SetPlatform72, ());
|
||||
VIRTUAL_CALL(130, void, _SetPlatform73, ());
|
||||
VIRTUAL_CALL(131, void, _SetPlatform74, ());
|
||||
VIRTUAL_CALL(132, void, _SetPlatform75, ());
|
||||
VIRTUAL_CALL(133, void, _SetPlatform76, ());
|
||||
VIRTUAL_CALL(134, void, _SetPlatform77, ());
|
||||
VIRTUAL_CALL(135, void, _SetPlatform78, ());
|
||||
VIRTUAL_CALL(136, void, _SetPlatform79, ());
|
||||
VIRTUAL_CALL(137, void, _SetPlatform80, ());
|
||||
VIRTUAL_CALL(138, void, _SetPlatform81, ());
|
||||
VIRTUAL_CALL(139, void, _SetPlatform82, ());
|
||||
VIRTUAL_CALL(140, bool, _updateRttiParams59, ());
|
||||
GAME_IMPORT virtual void SetHiddenByLogicEditor(bool);
|
||||
VIRTUAL_CALL(142, void, _SetPlatform83, ());
|
||||
VIRTUAL_CALL(143, static bool, _ValidateVec43, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(144, static bool, _ValidateVec44, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(145, static bool, _ValidateVec45, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(146, static bool, _ValidateVec46, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(147, static bool, _ValidateVec47, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(148, static bool, _ValidateVec48, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(149, static bool, _ValidateVec49, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(150, static bool, _ValidateVec410, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(151, static bool, _ValidateVec411, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(152, static bool, _ValidateVec412, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(153, static bool, _ValidateVec413, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(154, static bool, _ValidateVec414, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(155, static bool, _ValidateVec415, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(156, static bool, _ValidateVec416, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(157, static bool, _ValidateVec417, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(158, static bool, _ValidateVec418, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(159, static bool, _ValidateVec419, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(160, static bool, _ValidateVec420, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(161, static bool, _ValidateVec421, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(162, static bool, _ValidateVec422, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(163, static bool, _ValidateVec423, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(164, static bool, _ValidateVec424, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
GAME_IMPORT virtual void SetSerializable(bool);
|
||||
VIRTUAL_CALL(166, void, _SetPlatform84, ());
|
||||
VIRTUAL_CALL(167, bool, _updateRttiParams60, ());
|
||||
VIRTUAL_CALL(168, bool, _updateRttiParams61, ());
|
||||
GAME_IMPORT virtual void DeactivateOnModule();
|
||||
VIRTUAL_CALL(170, void, _SetPlatform85, ());
|
||||
VIRTUAL_CALL(171, ttl::list<SCommandParam, ttl::allocator>::const_reverse_iterator, rend, ());
|
||||
VIRTUAL_CALL(172, void, _SetPlatform86, ());
|
||||
GAME_IMPORT virtual bool ISharedObject_IsValid() const;
|
||||
GAME_IMPORT virtual float GetTime() const;
|
||||
GAME_IMPORT virtual float GetLastTime() const;
|
||||
GAME_IMPORT virtual float GetTimeDelta() const;
|
||||
GAME_IMPORT virtual int64_t GetTimeDeltaMiliseconds() const;
|
||||
VIRTUAL_CALL(178, void, _SetPlatform87, ());
|
||||
VIRTUAL_CALL(179, void, _SetPlatform88, ());
|
||||
GAME_IMPORT virtual void FromForwardUpPos(vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 const GetPosition() const;
|
||||
VIRTUAL_CALL(182, bool, _updateRttiParams62, ());
|
||||
VIRTUAL_CALL(183, void, _SetPlatform89, ());
|
||||
|
||||
GAME_IMPORT mtx34 const& GetInvCameraMatrix();
|
||||
protected:
|
||||
GAME_IMPORT IBaseCamera();
|
||||
public:
|
||||
GAME_IMPORT void SetPosition(vec3 const&);
|
||||
GAME_IMPORT bool IsInFrustum(IControlObject*) const;
|
||||
GAME_IMPORT vec3 const GetLeftVector() const;
|
||||
GAME_IMPORT void SetUserZoomScale(float);
|
||||
GAME_IMPORT vec3 GetListenerOffset() const;
|
||||
GAME_IMPORT vec2 const PointToScreen(vec3 const&);
|
||||
GAME_IMPORT vec3 const GetOnScreenPointF(float, float);
|
||||
GAME_IMPORT void SetCameraMatrix(mtx34 const&);
|
||||
GAME_IMPORT bool IsInFrustum(vec3 const&) const;
|
||||
GAME_IMPORT mtx44 const& GetCombinedMatrix();
|
||||
GAME_IMPORT vec3 const GetOnScreenPointNormalized(float, float) const;
|
||||
GAME_IMPORT float GetClipNear() const;
|
||||
GAME_IMPORT void SetClipFar(float);
|
||||
GAME_IMPORT void SetListenerOffset(vec3 const&);
|
||||
GAME_IMPORT void CopyCameraParams(IBaseCamera const&);
|
||||
GAME_IMPORT float GetClipFar() const;
|
||||
GAME_IMPORT bool GetObjectsInFrustum(ttl::vector<IControlObject*, ttl::vector_allocators::heap_allocator<IControlObject*>, 1>*, float);
|
||||
GAME_IMPORT vec3 const GetOnScreenVector(int, int);
|
||||
GAME_IMPORT mtx44 const& GetProjectionMatrix();
|
||||
GAME_IMPORT void FromLookAt(vec3 const&, vec3 const&, float);
|
||||
GAME_IMPORT static bool ParseCameraParams(ttl::string_base<char> const&, vec3&, vec3&, vec3&);
|
||||
GAME_IMPORT void Rotate(float, vec3 const&);
|
||||
GAME_IMPORT void SetClipNear(float);
|
||||
GAME_IMPORT void SetOrthoView(ECameraMode::TYPE);
|
||||
GAME_IMPORT bool IsInFrustum(IModelObject*, int);
|
||||
GAME_IMPORT vec3 const GetUpVector() const;
|
||||
GAME_IMPORT float GetFOV() const;
|
||||
GAME_IMPORT void SetFOV(float);
|
||||
GAME_IMPORT IBaseCamera& operator=(IBaseCamera const&);
|
||||
GAME_IMPORT vec3 const GetForwardVector() const;
|
||||
GAME_IMPORT vec3 const GetOnScreenPoint(int, int);
|
||||
GAME_IMPORT static ttl::string_base<char> FormatCameraPos(vec3 const&);
|
||||
GAME_IMPORT void SetInvCameraMatrix(mtx34 const&);
|
||||
GAME_IMPORT bool IsViewInitialized() const;
|
||||
GAME_IMPORT void ForceFrame();
|
||||
GAME_IMPORT static ttl::string_base<char> FormatCameraParams(vec3 const&, vec3 const&);
|
||||
GAME_IMPORT vec4a const* GetFrustumPlanes() const;
|
||||
GAME_IMPORT IBaseCamera(IBaseCamera const&);
|
||||
GAME_IMPORT vec3 const PointToScreenClampToFrustum(vec3 const&);
|
||||
GAME_IMPORT mtx34 const& GetViewMatrix();
|
||||
GAME_IMPORT void SetShakeable(bool);
|
||||
GAME_IMPORT float GetAspect();
|
||||
GAME_IMPORT float GetUserZoomScale() const;
|
||||
#pragma endregion
|
||||
public:
|
||||
float GetFOV();
|
||||
vec3* GetForwardVector(vec3* outForwardVec);
|
||||
|
@ -1,9 +1,171 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
#include <EGSDK\vec3.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API IControlObject {
|
||||
public:
|
||||
void SetLocalDir(const vec3* dir);
|
||||
};
|
||||
}
|
||||
class IControlObject {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetEngineObject(CGSObject*);
|
||||
public:
|
||||
VIRTUAL_CALL(1, uint64_t*, sub_11FD10, (char a1), a1);
|
||||
virtual void _StrippedVFunc1() = 0;
|
||||
virtual void _StrippedVFunc2() = 0;
|
||||
virtual void _StrippedVFunc3() = 0;
|
||||
virtual void _StrippedVFunc4() = 0;
|
||||
virtual void _StrippedVFunc5() = 0;
|
||||
virtual void _StrippedVFunc6() = 0;
|
||||
virtual void _StrippedVFunc7() = 0;
|
||||
VIRTUAL_CALL(9, void, SetPlatform, ());
|
||||
VIRTUAL_CALL(10, void, _SetPlatform90, ());
|
||||
VIRTUAL_CALL(11, void, _SetPlatform91, ());
|
||||
VIRTUAL_CALL(12, void, _SetPlatform92, ());
|
||||
VIRTUAL_CALL(13, void, _SetPlatform93, ());
|
||||
VIRTUAL_CALL(14, void, _SetPlatform94, ());
|
||||
VIRTUAL_CALL(15, void, _SetPlatform95, ());
|
||||
VIRTUAL_CALL(16, void, _SetPlatform96, ());
|
||||
VIRTUAL_CALL(17, void, _SetPlatform97, ());
|
||||
VIRTUAL_CALL(18, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(19, static bool, _ValidateVec425, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(20, void, _SetPlatform98, ());
|
||||
VIRTUAL_CALL(21, void, _SetPlatform99, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform100, ());
|
||||
VIRTUAL_CALL(23, void, _SetPlatform101, ());
|
||||
VIRTUAL_CALL(24, void, _SetPlatform102, ());
|
||||
VIRTUAL_CALL(25, void, _SetPlatform103, ());
|
||||
VIRTUAL_CALL(26, void, _SetPlatform104, ());
|
||||
VIRTUAL_CALL(27, void, _SetPlatform105, ());
|
||||
VIRTUAL_CALL(28, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams63, ());
|
||||
VIRTUAL_CALL(30, void, _SetPlatform106, ());
|
||||
virtual void _StrippedVFunc8() = 0;
|
||||
GAME_IMPORT virtual bool OnParentElementNotFound(ttl::string_base<char>);
|
||||
GAME_IMPORT virtual uint32_t AttachAudioEvent(ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&);
|
||||
VIRTUAL_CALL(34, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(35, static bool, _ValidateVec426, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
VIRTUAL_CALL(36, void, _SetPlatform107, ());
|
||||
VIRTUAL_CALL(37, void, _SetPlatform108, ());
|
||||
virtual void _StrippedVFunc9() = 0;
|
||||
virtual void _StrippedVFunc10() = 0;
|
||||
VIRTUAL_CALL(40, void, _SetPlatform109, ());
|
||||
VIRTUAL_CALL(41, void, _SetPlatform110, ());
|
||||
VIRTUAL_CALL(42, float, odb_GetLoadTime, (RLROD_Batch*), RLROD_Batch*);
|
||||
GAME_IMPORT virtual SRelevanceRanges GetRelevanceRanges(SRelevancePeerData const&) const;
|
||||
VIRTUAL_CALL(44, float, _odb_GetLoadTime1, (RLROD_Batch* a1), a1);
|
||||
VIRTUAL_CALL(45, static EServiceSessionType::TYPE, ServiceSessionType, ());
|
||||
VIRTUAL_CALL(46, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(47, float, _odb_GetLoadTime2, (RLROD_Batch* a1), a1);
|
||||
VIRTUAL_CALL(48, void, _SetPlatform111, ());
|
||||
VIRTUAL_CALL(49, void, _SetPlatform112, ());
|
||||
VIRTUAL_CALL(50, void, _SetPlatform113, ());
|
||||
virtual void _StrippedVFunc11() = 0;
|
||||
virtual void _StrippedVFunc12() = 0;
|
||||
virtual void _StrippedVFunc13() = 0;
|
||||
virtual void _StrippedVFunc14() = 0;
|
||||
GAME_IMPORT virtual ttl::string_base<char> ToString(CRTTIObject const*) const;
|
||||
GAME_IMPORT virtual uint32_t GetPhysicsNum();
|
||||
GAME_IMPORT virtual IPhysics* GetPhysics(int) const;
|
||||
GAME_IMPORT virtual void SetCollisionGroup(int64_t);
|
||||
GAME_IMPORT virtual void SetCollisionMask(int64_t);
|
||||
GAME_IMPORT virtual void SetCollisionCallbackMask(int64_t);
|
||||
GAME_IMPORT virtual CollisionScheme GetCollisionScheme() const;
|
||||
GAME_IMPORT virtual int64_t GetCollisionCallbackMask() const;
|
||||
VIRTUAL_CALL(63, static bool, _ValidateVec427, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
|
||||
GAME_IMPORT void RenderWorldExtents(vec4 const&, bool);
|
||||
GAME_IMPORT void DetachFromParent(bool);
|
||||
GAME_IMPORT bool HasChildrenAttachedToMeshElementEditor() const;
|
||||
GAME_IMPORT int64_t GetCollisionGroup() const;
|
||||
GAME_IMPORT float GetExtentsDistance2To(vec3 const&) const;
|
||||
GAME_IMPORT vec3 VectorWorldToLocal(vec3 const&) const;
|
||||
GAME_IMPORT vec3 GetLocalScale() const;
|
||||
protected:
|
||||
GAME_IMPORT void MatrixChangedFromEditor();
|
||||
public:
|
||||
GAME_IMPORT void GetChildren(ttl::vector<IControlObject*, ttl::vector_allocators::heap_allocator<IControlObject*>, 1>*) const;
|
||||
GAME_IMPORT void PhysicsClutch(vec3 const&);
|
||||
GAME_IMPORT void SetPreserveChildrenLoadData();
|
||||
GAME_IMPORT void SetCollFlags(uint32_t);
|
||||
protected:
|
||||
GAME_IMPORT IControlObject();
|
||||
public:
|
||||
GAME_IMPORT static IControlObject* GetControlObject(IGSObject*);
|
||||
GAME_IMPORT void SetWorldXformNoPropagate(mtx34 const&);
|
||||
GAME_IMPORT int GetParentMeshElement() const;
|
||||
GAME_IMPORT void PhysicsWakeUpNeighbours(vec3 const&) const;
|
||||
GAME_IMPORT vec3 GetLeftVector() const;
|
||||
GAME_IMPORT uint32_t GetCollType() const;
|
||||
GAME_IMPORT vec3 GetWorldPosition() const;
|
||||
GAME_IMPORT void RotateLocal(vec3 const&, float);
|
||||
GAME_IMPORT void AttachChild(IControlObject*, bool);
|
||||
GAME_IMPORT vec3 GetUpVector() const;
|
||||
GAME_IMPORT float GetCurrentObjectSize() const;
|
||||
GAME_IMPORT IControlObject* GetHierarchyChild() const;
|
||||
GAME_IMPORT IControlObject* GetHierarchyPrev() const;
|
||||
GAME_IMPORT void SetLocalScale(vec3 const&);
|
||||
GAME_IMPORT void SetWorldPosition(vec3 const&);
|
||||
GAME_IMPORT void ClearFlag(COFlags::TYPE);
|
||||
GAME_IMPORT IControlObject* GetParent() const;
|
||||
GAME_IMPORT void SetLocalXform(mtx34 const&);
|
||||
GAME_IMPORT COFlags::TYPE GetFlags() const;
|
||||
GAME_IMPORT bool GetObjectsAABB(ttl::vector<IControlObject*, ttl::vector_allocators::heap_allocator<IControlObject*>, 1> const&, vec3*, vec3*) const;
|
||||
GAME_IMPORT void AlignToGround();
|
||||
GAME_IMPORT void RecalcExtents();
|
||||
GAME_IMPORT void SetLocalPosition(vec3 const&);
|
||||
GAME_IMPORT vec3 GetForwardVector() const;
|
||||
GAME_IMPORT float GetExtentsDistanceTo(vec3 const&) const;
|
||||
GAME_IMPORT void ClearCollFlags(uint32_t);
|
||||
GAME_IMPORT static IControlObject const* GetControlObject(IGSObject const*);
|
||||
GAME_IMPORT bool RaytestFromMeToTarget(IControlObject const*, vec3 const*, vec3 const*, unsigned char);
|
||||
GAME_IMPORT void SetCollisionScheme(CollisionScheme);
|
||||
GAME_IMPORT vec3 PointLocalToWorld(vec3 const&) const;
|
||||
GAME_IMPORT void SetWorldPosDir(vec3 const&, vec3 const&);
|
||||
GAME_IMPORT void SaveWorldMatrix(ISGChunk*) const;
|
||||
GAME_IMPORT bool RaytestToTarget(IControlObject const*, vec3 const&, vec3 const&, unsigned char);
|
||||
GAME_IMPORT IControlObject* GetHierarchyParent() const;
|
||||
GAME_IMPORT void UpdateChildInGrid();
|
||||
GAME_IMPORT IControlObject* GetHierarchyNext() const;
|
||||
GAME_IMPORT void SetCollType(uint32_t);
|
||||
GAME_IMPORT extents const& GetExtentsLocal() const;
|
||||
GAME_IMPORT void GetInvWorldXform(mtx34&) const;
|
||||
GAME_IMPORT void ReplaceCollFlags(uint32_t);
|
||||
GAME_IMPORT void DeleteAllChildren();
|
||||
GAME_IMPORT float GetDistance2To(vec3 const&) const;
|
||||
GAME_IMPORT extents const& GetExtentsInWorld() const;
|
||||
GAME_IMPORT void SaveLocalMatrix(ISGChunk*) const;
|
||||
GAME_IMPORT void LoadWorldMatrix(ISGChunk*);
|
||||
GAME_IMPORT float GetDistanceTo(vec3 const&) const;
|
||||
GAME_IMPORT mtx34 const& GetLocalXform() const;
|
||||
GAME_IMPORT void SetWorldDir(vec3 const&);
|
||||
GAME_IMPORT void PhysicsSynchroClutch(vec3 const&);
|
||||
GAME_IMPORT bool IsVisible() const;
|
||||
GAME_IMPORT void SetFlag(COFlags::TYPE);
|
||||
GAME_IMPORT vec3 PointWorldToLocal(vec3 const&) const;
|
||||
GAME_IMPORT float GetDistanceTo(IControlObject const*) const;
|
||||
GAME_IMPORT void LoadLocalMatrix(ISGChunk*);
|
||||
GAME_IMPORT mtx34 const& GetWorldXform() const;
|
||||
GAME_IMPORT void DetachChild(IControlObject*, bool);
|
||||
GAME_IMPORT uint32_t GetCollFlags() const;
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetControlObjectPoseElement() const;
|
||||
GAME_IMPORT void PhysicsUnclutch();
|
||||
GAME_IMPORT vec3 const GetClosestExtentPoint(vec3 const&) const;
|
||||
GAME_IMPORT ttl::string_base<char> PhysicsGetClutchInfo() const;
|
||||
GAME_IMPORT void SetWorldXform(mtx34 const&);
|
||||
GAME_IMPORT void FromUpForwardPos(vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT bool IsFlagSet(COFlags::TYPE) const;
|
||||
GAME_IMPORT bool HasChildrenEditor() const;
|
||||
GAME_IMPORT int64_t GetCollisionMask() const;
|
||||
GAME_IMPORT void RestoreHierarchyFromChildrenLoadData();
|
||||
GAME_IMPORT void SetLocalDir(vec3 const&);
|
||||
GAME_IMPORT bool IsFlagCleared(COFlags::TYPE) const;
|
||||
GAME_IMPORT IControlObject(IControlObject const&);
|
||||
GAME_IMPORT ttl::string_base<char> GetParentMeshElementName();
|
||||
GAME_IMPORT static COFlags::TYPE GetDefaultCOFlags();
|
||||
GAME_IMPORT float GetDistance2To(IControlObject const*) const;
|
||||
GAME_IMPORT vec3 VectorLocalToWorld(vec3 const&) const;
|
||||
GAME_IMPORT static IControlObject* GetControlObject(cbs::CEntity const*);
|
||||
GAME_IMPORT int GetLastVisibleFrame() const;
|
||||
GAME_IMPORT vec3 GetLocalPosition() const;
|
||||
#pragma endregion
|
||||
public:
|
||||
void SetLocalDir(const vec3* dir);
|
||||
};
|
@ -1,316 +1,62 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
#include <EGSDK\Exports.h>
|
||||
#include <EGSDK\Engine\ttl.h>
|
||||
|
||||
namespace Anim {
|
||||
class IPoseElement;
|
||||
}
|
||||
|
||||
namespace Audio {
|
||||
struct SAudioEventExtraData;
|
||||
struct SAudioEventExtraDataID;
|
||||
}
|
||||
|
||||
namespace COFlags {
|
||||
enum TYPE;
|
||||
}
|
||||
|
||||
namespace EBones {
|
||||
enum TYPE;
|
||||
}
|
||||
|
||||
namespace EObjectToSimpleObjectsQueryResult {
|
||||
enum TYPE;
|
||||
}
|
||||
|
||||
namespace LodDissolves {
|
||||
union SState;
|
||||
}
|
||||
|
||||
namespace cbs {
|
||||
class CEntity;
|
||||
template <typename T>
|
||||
class CPointer;
|
||||
}
|
||||
|
||||
struct AnimEventInfo;
|
||||
class CHierarchyElement;
|
||||
class CModelObject;
|
||||
class CRTTI;
|
||||
class IAnimBind;
|
||||
class ICoSkeleton;
|
||||
class IGSObject;
|
||||
class IMpc;
|
||||
class ISGChunk;
|
||||
struct SCollision;
|
||||
struct SMeshVisibilityParams;
|
||||
struct SSurfParams;
|
||||
struct TAnimId;
|
||||
class aabb;
|
||||
class extents;
|
||||
struct uint4;
|
||||
|
||||
class vec3;
|
||||
class vec4;
|
||||
class mtx34;
|
||||
class CGSObject;
|
||||
class IControlObject;
|
||||
struct RLROD_Batch;
|
||||
struct SCommandParam;
|
||||
//namespace Anim {
|
||||
// class IPoseElement;
|
||||
//}
|
||||
//
|
||||
//namespace Audio {
|
||||
// struct SAudioEventExtraData;
|
||||
// struct SAudioEventExtraDataID;
|
||||
//}
|
||||
//
|
||||
//namespace COFlags {
|
||||
// enum TYPE;
|
||||
//}
|
||||
//
|
||||
//namespace EBones {
|
||||
// enum TYPE;
|
||||
//}
|
||||
//
|
||||
//namespace EObjectToSimpleObjectsQueryResult {
|
||||
// enum TYPE;
|
||||
//}
|
||||
//
|
||||
//namespace LodDissolves {
|
||||
// union SState;
|
||||
//}
|
||||
//
|
||||
//namespace cbs {
|
||||
// class CEntity;
|
||||
// template <typename T>
|
||||
// class CPointer;
|
||||
//}
|
||||
//
|
||||
//struct AnimEventInfo;
|
||||
//class CHierarchyElement;
|
||||
//class CModelObject;
|
||||
//class CRTTI;
|
||||
//class IAnimBind;
|
||||
//class ICoSkeleton;
|
||||
//class IGSObject;
|
||||
//class IMpc;
|
||||
//class ISGChunk;
|
||||
//struct SCollision;
|
||||
//struct SMeshVisibilityParams;
|
||||
//struct SSurfParams;
|
||||
//struct TAnimId;
|
||||
//class aabb;
|
||||
//class extents;
|
||||
//struct uint4;
|
||||
//
|
||||
//class vec3;
|
||||
//class vec4;
|
||||
//class mtx34;
|
||||
//class CGSObject;
|
||||
//class IControlObject;
|
||||
//struct RLROD_Batch;
|
||||
//struct SCommandParam;
|
||||
|
||||
class IModelObject {
|
||||
public:
|
||||
VIRTUAL_CALL(0, uint64_t*, sub_1203B0, (char a1), a1);
|
||||
GAME_IMPORT virtual IAnimBind const* GetAnimBind() const;
|
||||
VIRTUAL_CALL(2, IAnimBind const*, _GetAnimBind1, ());
|
||||
GAME_IMPORT virtual vec3 VectorLocalToWorld(int, vec3 const&) const;
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetAnimationFile(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT virtual TAnimId GetAnimationId(ttl::string_const<char>, bool) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(TAnimId) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT float odb_GetLoadTime(RLROD_Batch*);
|
||||
GAME_IMPORT virtual mtx34 const& GetWorldXform() const;
|
||||
GAME_IMPORT virtual int GetElementIndex(char const*) const;
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetElementName(int) const;
|
||||
GAME_IMPORT virtual int GetElementsNumber() const;
|
||||
GAME_IMPORT virtual uint32_t GetElementFlags(int) const;
|
||||
GAME_IMPORT virtual mtx34 GetElementWorldMtx(int) const;
|
||||
GAME_IMPORT virtual vec3 GetElementWorldPos(int) const;
|
||||
GAME_IMPORT virtual int GetMeshElemFromBoneID(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual extents GetElementExtentsInWorld(int) const;
|
||||
VIRTUAL_CALL(18, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual void ExecuteAnimActions(int, int, TAnimId, void const*, uint32_t);
|
||||
GAME_IMPORT virtual void StopAnimActions(int, TAnimId, void const*, float);
|
||||
VIRTUAL_CALL(21, int64_t, RunUnitTests, ());
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetEngineObject(CGSObject*);
|
||||
public:
|
||||
virtual void _StrippedVFunc1() = 0;
|
||||
virtual void _StrippedVFunc2() = 0;
|
||||
virtual void _StrippedVFunc3() = 0;
|
||||
virtual void _StrippedVFunc4() = 0;
|
||||
virtual void _StrippedVFunc5() = 0;
|
||||
virtual void _StrippedVFunc6() = 0;
|
||||
virtual void _StrippedVFunc7() = 0;
|
||||
virtual void _StrippedVFunc8() = 0;
|
||||
virtual void _StrippedVFunc9() = 0;
|
||||
virtual void _StrippedVFunc10() = 0;
|
||||
GAME_IMPORT virtual int GetChildrenElementsNumber(int) const;
|
||||
GAME_IMPORT virtual int GetElementParent(int) const;
|
||||
GAME_IMPORT virtual int GetElementChild(int) const;
|
||||
GAME_IMPORT virtual int GetElementNext(int) const;
|
||||
GAME_IMPORT virtual void SetMeshName(ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void SetInitializeMesh(bool);
|
||||
GAME_IMPORT virtual ttl::string_const<char> GetMeshName() const;
|
||||
virtual void _StrippedVFunc11() = 0;
|
||||
GAME_IMPORT virtual void SetSkinName(ttl::string_const<char>);
|
||||
virtual void _StrippedVFunc12() = 0;
|
||||
GAME_IMPORT virtual void GetSkinName(uint32_t, ttl::string_base<char>&) const;
|
||||
GAME_IMPORT virtual ttl::string_const<char> GetSkinName() const;
|
||||
GAME_IMPORT virtual void SetSkinSeed(int);
|
||||
GAME_IMPORT virtual int GetSkinSeed() const;
|
||||
GAME_IMPORT virtual int64_t GetSkinMustHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustHaveTags(int64_t);
|
||||
GAME_IMPORT virtual int64_t GetSkinMustNotHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustNotHaveTags(int64_t);
|
||||
GAME_IMPORT virtual uint32_t GetSkinCount() const;
|
||||
GAME_IMPORT virtual void SetCharacterNames(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual bool CharacterPresetExists(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT virtual void GetCharacterNames(ttl::string_base<char>&, ttl::string_base<char>&);
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetCharacterName(uint32_t) const;
|
||||
GAME_IMPORT virtual void SetMeshColor(uint4 const&);
|
||||
GAME_IMPORT virtual void SetMeshColor(uint32_t, vec4 const&);
|
||||
GAME_IMPORT virtual uint4 const& GetMeshColor() const;
|
||||
GAME_IMPORT virtual vec4 const& GetMeshColor(uint32_t) const;
|
||||
GAME_IMPORT virtual void SetMeshAttribute(uint32_t, vec4 const&);
|
||||
GAME_IMPORT virtual void SetMeshAttributeMtx(uint32_t, mtx34 const&);
|
||||
GAME_IMPORT virtual vec4 const& GetMeshAttribute(uint32_t) const;
|
||||
GAME_IMPORT virtual mtx34 const& GetMeshAttributeMtx(uint32_t) const;
|
||||
GAME_IMPORT virtual uint32_t GetMeshAttributesCount() const;
|
||||
GAME_IMPORT virtual extents GetElementReferenceExtents(int) const;
|
||||
GAME_IMPORT virtual extents GetElementExtentsLocal(int) const;
|
||||
GAME_IMPORT virtual void SetElementExtentsLocal(extents const&, int);
|
||||
GAME_IMPORT virtual int GetElementID(uint32_t) const;
|
||||
GAME_IMPORT virtual int GetElementIDByLowercaseName(char const*) const;
|
||||
VIRTUAL_CALL(70, int, _GetElementIndex1, (char const* a1), a1);
|
||||
GAME_IMPORT virtual char const* GetElementNameCStr(int) const;
|
||||
GAME_IMPORT virtual bool IsBiped() const;
|
||||
GAME_IMPORT virtual bool IsRenderable() const;
|
||||
GAME_IMPORT virtual void SetElementWorldPos(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 GetElementLocalPos(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalPos(int, vec3 const&);
|
||||
virtual void _StrippedVFunc13() = 0;
|
||||
virtual void _StrippedVFunc14() = 0;
|
||||
GAME_IMPORT virtual mtx34 const& GetElementLocalMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalMatrix(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrixNoPropagate(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void GetElementLocalMatrices(int const*, uint32_t, mtx34*);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrices(int const*, uint32_t, mtx34 const*);
|
||||
GAME_IMPORT virtual mtx34 const& GetElementWorldMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementWorldMatrix(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void SetElementWorldMatrixNoPropagate(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void GetElementInvWorldMatrix(int, mtx34&) const;
|
||||
virtual void _StrippedVFunc15() = 0;
|
||||
GAME_IMPORT virtual void RotateElement(int, vec3 const&, float);
|
||||
GAME_IMPORT virtual void ElementSetWorldMatrixFromQuatPos(int, vec3 const&, float, vec3 const&);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementLocal(int, vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementWorld(int, vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void SetPivotPointFromElement(int);
|
||||
GAME_IMPORT virtual float GetAnimTimeDelta() const;
|
||||
GAME_IMPORT virtual float GetLastAnimUpdateTime() const;
|
||||
GAME_IMPORT virtual float GetLastAnimApplyTime() const;
|
||||
GAME_IMPORT virtual bool InitAnimSeqFile(ttl::string_base<char> const&);
|
||||
VIRTUAL_CALL(98, void, _SetPlatform1, ());
|
||||
GAME_IMPORT virtual vec3 GetBoneDirVector(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual vec3 GetBonePerpVector(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual vec3 GetBoneJointPos(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual EBones::TYPE GetBoneIDFromMeshElem(int) const;
|
||||
GAME_IMPORT virtual void AttachChildToMeshElement(IControlObject*, int, bool);
|
||||
GAME_IMPORT virtual CHierarchyElement* GetHElement(int) const;
|
||||
GAME_IMPORT virtual void EnableRendering(bool);
|
||||
GAME_IMPORT virtual void DebugRenderElementBoxes();
|
||||
GAME_IMPORT virtual void ForceUpdateAnimations();
|
||||
GAME_IMPORT virtual uint32_t AttachAudioEvent(int, ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&);
|
||||
GAME_IMPORT virtual uint32_t PlayAudioEvent(uint32_t, Audio::SAudioEventExtraDataID const*, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual uint32_t PlayAudioEvent(ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void SetAudioEventSwitch(uint32_t, ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual vec3 PointLocalToWorld(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 PointWorldToLocal(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 VectorWorldToLocal(int, vec3 const&);
|
||||
GAME_IMPORT virtual void HideElementsByMask(bool, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual bool HideElement(int);
|
||||
GAME_IMPORT virtual bool UnhideElement(int);
|
||||
GAME_IMPORT virtual bool IsElementHidden(int) const;
|
||||
virtual void _StrippedVFunc16() = 0;
|
||||
virtual void _StrippedVFunc17() = 0;
|
||||
virtual void _StrippedVFunc18() = 0;
|
||||
virtual void _StrippedVFunc19() = 0;
|
||||
virtual void _StrippedVFunc20() = 0;
|
||||
virtual void _StrippedVFunc21() = 0;
|
||||
virtual void _StrippedVFunc22() = 0;
|
||||
virtual void _StrippedVFunc23() = 0;
|
||||
virtual void _StrippedVFunc24() = 0;
|
||||
virtual void _StrippedVFunc25() = 0;
|
||||
virtual void _StrippedVFunc26() = 0;
|
||||
GAME_IMPORT virtual void UnlockAnimationUpdateAbility(bool&, ttl::vector<bool, ttl::vector_allocators::heap_allocator<bool>, 8>&);
|
||||
GAME_IMPORT virtual void RestoreAnimationUpdateAbility(bool const&, ttl::vector<bool, ttl::vector_allocators::heap_allocator<bool>, 8> const&);
|
||||
GAME_IMPORT virtual bool EnableCollisionsElement(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementCollsionsEnabled(int);
|
||||
GAME_IMPORT virtual bool AreSkinsAllowedToModifyElementFlags(int) const;
|
||||
GAME_IMPORT virtual void AllowSkinsToModifyElementFlags(int, bool);
|
||||
GAME_IMPORT virtual bool EnableElementTraceColl(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementTraceCollEnabled(int);
|
||||
GAME_IMPORT virtual bool IsElementABone(int);
|
||||
GAME_IMPORT virtual void SetupMeshPartClothSet(bool, bool, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>*);
|
||||
VIRTUAL_CALL(140, void, _SetPlatform2, ());
|
||||
virtual void _StrippedVFunc27() = 0;
|
||||
VIRTUAL_CALL(142, float, _odb_GetLoadTime1, (RLROD_Batch* a1), a1);
|
||||
GAME_IMPORT virtual void DissolveObjectProgress(float, bool);
|
||||
GAME_IMPORT virtual void GatherMeshAndSkinName(ttl::string_base<char>&, ttl::string_base<char>&) const;
|
||||
GAME_IMPORT virtual void EnableMotionBlur(bool);
|
||||
VIRTUAL_CALL(146, void, _SetPlatform3, ());
|
||||
GAME_IMPORT virtual bool GetMeshDataForSimpleObjectsEditor(ttl::string_base<char>*, ttl::string_base<char>*, int64_t*, int64_t*, int*);
|
||||
VIRTUAL_CALL(148, int64_t, _RunUnitTests1, ());
|
||||
GAME_IMPORT ttl::list<SCommandParam, ttl::allocator>::const_reverse_iterator rend() const;
|
||||
|
||||
protected:
|
||||
GAME_IMPORT IModelObject();
|
||||
public:
|
||||
GAME_IMPORT IModelObject(IModelObject const&);
|
||||
protected:
|
||||
//GAME_IMPORT ~IModelObject();
|
||||
public:
|
||||
GAME_IMPORT void AdjustExtentsToAllElements(bool, bool);
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetMeshPoseElement() const;
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetModelObjectMorphPoseElement() const;
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetModelObjectPoseElement() const;
|
||||
GAME_IMPORT bool AnimReInit(ttl::string_base<char> const&);
|
||||
GAME_IMPORT static void CollectMeshSkins(ttl::string_base<char> const&, bool, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
GAME_IMPORT void CollectUsedTextures(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
GAME_IMPORT void CopyElementsPosition(IModelObject*);
|
||||
GAME_IMPORT void DumpAnims();
|
||||
GAME_IMPORT bool EnableElementPhysics(int, bool, bool);
|
||||
GAME_IMPORT void EnableHierarchySerialization(bool);
|
||||
GAME_IMPORT void EnableRenderingRayTracing(bool);
|
||||
GAME_IMPORT void EnableRenderingScene(bool);
|
||||
GAME_IMPORT void EnableRenderingShadows(bool);
|
||||
GAME_IMPORT void EnableUpdateExtents(bool);
|
||||
GAME_IMPORT aabb const& GetAABBExtents() const;
|
||||
GAME_IMPORT void GetAnimationNames(ttl::map<ttl::string_base<char>, TAnimId, ttl::less<ttl::string_base<char>>, ttl::allocator>&);
|
||||
GAME_IMPORT static COFlags::TYPE GetDefaultCOFlags();
|
||||
GAME_IMPORT int GetCurrentLOD() const;
|
||||
GAME_IMPORT LodDissolves::SState GetCurrentLodState() const;
|
||||
GAME_IMPORT char GetForcedAnimLod() const;
|
||||
GAME_IMPORT float GetLodDissolveStep() const;
|
||||
GAME_IMPORT void GetMeshElementsMatrices(ttl::vector<mtx34, ttl::vector_allocators::heap_allocator<mtx34>, 0>&) const;
|
||||
GAME_IMPORT uint32_t GetMeshElementsMatricesCount() const;
|
||||
GAME_IMPORT int GetMeshElementsState(ttl::vector<unsigned char, ttl::vector_allocators::heap_allocator<unsigned char>, 8>&, ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&) const;
|
||||
GAME_IMPORT int GetMeshElementsStateSize(ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&) const;
|
||||
GAME_IMPORT float GetMeshLodDistance(int) const;
|
||||
GAME_IMPORT SMeshVisibilityParams const* GetMeshVisibilityParams() const;
|
||||
GAME_IMPORT float GetMeshVisibilityRange();
|
||||
GAME_IMPORT static IModelObject* GetModelObject(IGSObject*);
|
||||
GAME_IMPORT static IModelObject* GetModelObject(cbs::CEntity const*);
|
||||
GAME_IMPORT static IModelObject const* GetModelObject(IGSObject const*);
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullFaces() const;
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullPrimitives() const;
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullVertices() const;
|
||||
GAME_IMPORT uint32_t GetNumSurfaceParams() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullFaces() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullPrimitives() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullVertices() const;
|
||||
GAME_IMPORT ttl::string_const<char> GetSkin() const;
|
||||
GAME_IMPORT static int64_t GetSkinTagsFromStr(char const*);
|
||||
GAME_IMPORT SSurfParams* GetSurfaceParams() const;
|
||||
GAME_IMPORT int GetTraceCollType() const;
|
||||
GAME_IMPORT bool GetValidSkinsEditor(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&) const;
|
||||
GAME_IMPORT bool IsDefaultMeshLoaded();
|
||||
private:
|
||||
GAME_IMPORT bool IsElementIDValid(int) const;
|
||||
public:
|
||||
GAME_IMPORT bool IsElementPhysicsEnabled(int);
|
||||
GAME_IMPORT bool IsObjectDissolved() const;
|
||||
GAME_IMPORT void LoadMesh(bool);
|
||||
GAME_IMPORT void LoadMeshElements(ISGChunk*);
|
||||
GAME_IMPORT int MT_GetCount();
|
||||
GAME_IMPORT char const* MT_GetName(uint32_t);
|
||||
GAME_IMPORT float MT_WeightGet(uint32_t);
|
||||
GAME_IMPORT static bool MeshAndSkinExists(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT static bool MeshExist(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void MeshUseDefaultVisibilityParameters();
|
||||
GAME_IMPORT void MoveElementBoxSide(int, int, float);
|
||||
GAME_IMPORT void MoveElementBoxSides(int, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT void MoveElementBoxSides(int, float, float, float, float, float, float);
|
||||
GAME_IMPORT bool RaytestMe(vec3 const&, vec3&, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT bool RaytraceMe(SCollision*, vec3 const&, vec3&, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT bool ReplaceMaterial(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ResetBoneAndDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT void ResetBonesExtentsToReferenceFrame();
|
||||
GAME_IMPORT void ResetBonesToReferenceFrame(bool);
|
||||
GAME_IMPORT void ResetElementsDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT void SaveMeshElements(ISGChunk*);
|
||||
GAME_IMPORT void SetBestGeomLods();
|
||||
GAME_IMPORT void SetDontApplyAnim(bool);
|
||||
GAME_IMPORT void SetExtentsLocal(extents const&);
|
||||
GAME_IMPORT void SetForcedAnimLod(char);
|
||||
GAME_IMPORT void SetLodDissolveStep(float);
|
||||
GAME_IMPORT void SetLodStateForSpawnedObjects(LodDissolves::SState);
|
||||
GAME_IMPORT void SetMeshCullSizeEnable(bool);
|
||||
GAME_IMPORT bool SetMeshElementsMatrices(ttl::vector<mtx34, ttl::vector_allocators::heap_allocator<mtx34>, 0> const&);
|
||||
GAME_IMPORT int SetMeshElementsState(ttl::vector<unsigned char, ttl::vector_allocators::heap_allocator<unsigned char>, 8> const&, ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&, bool, bool);
|
||||
GAME_IMPORT void SetMeshLodDistance(int, float);
|
||||
GAME_IMPORT void SetMeshVisibilityRange(float);
|
||||
GAME_IMPORT bool SetSkin();
|
||||
GAME_IMPORT bool SetSkinNoCharacterPreset();
|
||||
GAME_IMPORT void SetTraceCollType(int);
|
||||
GAME_IMPORT bool ShouldApplyAnim() const;
|
||||
GAME_IMPORT void ShowCollisionHull(bool);
|
||||
GAME_IMPORT void ShowElementBox(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxes(bool);
|
||||
GAME_IMPORT void ShowElementBoxesFrom(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxesFromTo(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxesTo(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowExtents(bool);
|
||||
GAME_IMPORT bool SkinExists(ttl::string_base<char> const&);
|
||||
};
|
@ -4,5 +4,201 @@
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API IPhysicsCharacter {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, uint64_t*, sub_120610, (char a1), a1);
|
||||
VIRTUAL_CALL(1, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(2, int64_t, _RunUnitTests39, ());
|
||||
VIRTUAL_CALL(3, int64_t, _RunUnitTests40, ());
|
||||
virtual void _StrippedVFunc42() = 0;
|
||||
VIRTUAL_CALL(5, void, SetPlatform, ());
|
||||
VIRTUAL_CALL(6, void, _SetPlatform117, ());
|
||||
VIRTUAL_CALL(7, void, _SetPlatform118, ());
|
||||
VIRTUAL_CALL(8, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(9, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(10, void, _SetPlatform119, ());
|
||||
VIRTUAL_CALL(11, bool, _updateRttiParams64, ());
|
||||
VIRTUAL_CALL(12, bool, _updateRttiParams65, ());
|
||||
VIRTUAL_CALL(13, void, _SetPlatform120, ());
|
||||
VIRTUAL_CALL(14, void, _SetPlatform121, ());
|
||||
VIRTUAL_CALL(15, void, _SetPlatform122, ());
|
||||
VIRTUAL_CALL(16, void, _SetPlatform123, ());
|
||||
VIRTUAL_CALL(17, void, _SetPlatform124, ());
|
||||
VIRTUAL_CALL(18, void, _SetPlatform125, ());
|
||||
VIRTUAL_CALL(19, bool, _updateRttiParams66, ());
|
||||
VIRTUAL_CALL(20, bool, _updateRttiParams67, ());
|
||||
VIRTUAL_CALL(21, int64_t, _RunUnitTests41, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform126, ());
|
||||
VIRTUAL_CALL(23, void, _SetPlatform127, ());
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams68, ());
|
||||
VIRTUAL_CALL(25, void, _SetPlatform128, ());
|
||||
VIRTUAL_CALL(26, void, _SetPlatform129, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams69, ());
|
||||
VIRTUAL_CALL(28, void, _SetPlatform130, ());
|
||||
VIRTUAL_CALL(29, void, _SetPlatform131, ());
|
||||
VIRTUAL_CALL(30, void, _SetPlatform132, ());
|
||||
VIRTUAL_CALL(31, void, _SetPlatform133, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams70, ());
|
||||
VIRTUAL_CALL(33, void, _SetPlatform134, ());
|
||||
VIRTUAL_CALL(34, void, _SetPlatform135, ());
|
||||
GAME_IMPORT virtual aabb const& GetAABB(char const*) const;
|
||||
VIRTUAL_CALL(36, void, _SetPlatform136, ());
|
||||
VIRTUAL_CALL(37, void, _SetPlatform137, ());
|
||||
GAME_IMPORT virtual float GetWaterLevel(vec3 const&) const;
|
||||
VIRTUAL_CALL(39, int64_t, _RunUnitTests42, ());
|
||||
VIRTUAL_CALL(40, int64_t, _RunUnitTests43, ());
|
||||
VIRTUAL_CALL(41, int64_t, _RunUnitTests44, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests45, ());
|
||||
VIRTUAL_CALL(43, int64_t, _RunUnitTests46, ());
|
||||
VIRTUAL_CALL(44, int64_t, _RunUnitTests47, ());
|
||||
VIRTUAL_CALL(45, int64_t, _RunUnitTests48, ());
|
||||
VIRTUAL_CALL(46, int64_t, _RunUnitTests49, ());
|
||||
GAME_IMPORT virtual int dataVersion();
|
||||
VIRTUAL_CALL(48, int, _dataVersion1, ());
|
||||
VIRTUAL_CALL(49, int, _dataVersion2, ());
|
||||
VIRTUAL_CALL(50, int64_t, _RunUnitTests50, ());
|
||||
VIRTUAL_CALL(51, int64_t, _RunUnitTests51, ());
|
||||
VIRTUAL_CALL(52, int64_t, _RunUnitTests52, ());
|
||||
VIRTUAL_CALL(53, void, _SetPlatform138, ());
|
||||
GAME_IMPORT virtual vec3 const& Ode_GetWantedSpeed() const;
|
||||
VIRTUAL_CALL(55, void, _SetPlatform139, ());
|
||||
VIRTUAL_CALL(56, int, _dataVersion3, ());
|
||||
VIRTUAL_CALL(57, void, _SetPlatform140, ());
|
||||
GAME_IMPORT virtual vec3 WheelBodyGetContactPos(IPhBody*) const;
|
||||
VIRTUAL_CALL(59, static float, min_region_merge_size, ());
|
||||
VIRTUAL_CALL(60, static float, _min_region_merge_size1, ());
|
||||
VIRTUAL_CALL(61, vec3, _WheelBodyGetContactPos1, (IPhBody* a1), a1);
|
||||
VIRTUAL_CALL(62, vec3, _WheelBodyGetContactPos2, (IPhBody* a1), a1);
|
||||
VIRTUAL_CALL(63, void, _SetPlatform141, ());
|
||||
VIRTUAL_CALL(64, static float, _min_region_merge_size2, ());
|
||||
VIRTUAL_CALL(65, void, _SetPlatform142, ());
|
||||
VIRTUAL_CALL(66, static float, _min_region_merge_size3, ());
|
||||
VIRTUAL_CALL(67, void, _SetPlatform143, ());
|
||||
VIRTUAL_CALL(68, void, _SetPlatform144, ());
|
||||
VIRTUAL_CALL(69, void, _SetPlatform145, ());
|
||||
VIRTUAL_CALL(70, void, _SetPlatform146, ());
|
||||
VIRTUAL_CALL(71, void, _SetPlatform147, ());
|
||||
VIRTUAL_CALL(72, int64_t, _RunUnitTests53, ());
|
||||
VIRTUAL_CALL(73, void, _SetPlatform148, ());
|
||||
VIRTUAL_CALL(74, int64_t, _RunUnitTests54, ());
|
||||
VIRTUAL_CALL(75, void, _SetPlatform149, ());
|
||||
VIRTUAL_CALL(76, void, _SetPlatform150, ());
|
||||
VIRTUAL_CALL(77, void, _SetPlatform151, ());
|
||||
VIRTUAL_CALL(78, void, _SetPlatform152, ());
|
||||
VIRTUAL_CALL(79, void, _SetPlatform153, ());
|
||||
VIRTUAL_CALL(80, void, _SetPlatform154, ());
|
||||
VIRTUAL_CALL(81, static float, _min_region_merge_size4, ());
|
||||
VIRTUAL_CALL(82, void, _SetPlatform155, ());
|
||||
VIRTUAL_CALL(83, void, _SetPlatform156, ());
|
||||
VIRTUAL_CALL(84, bool, _updateRttiParams71, ());
|
||||
VIRTUAL_CALL(85, void, _SetPlatform157, ());
|
||||
VIRTUAL_CALL(86, bool, _updateRttiParams72, ());
|
||||
VIRTUAL_CALL(87, void, _SetPlatform158, ());
|
||||
VIRTUAL_CALL(88, static float, _min_region_merge_size5, ());
|
||||
VIRTUAL_CALL(89, vec3, _WheelBodyGetContactPos3, (IPhBody* a1), a1);
|
||||
VIRTUAL_CALL(90, int64_t, _RunUnitTests55, ());
|
||||
VIRTUAL_CALL(91, int64_t, _RunUnitTests56, ());
|
||||
VIRTUAL_CALL(92, void, _SetPlatform159, ());
|
||||
VIRTUAL_CALL(93, int64_t, _RunUnitTests57, ());
|
||||
VIRTUAL_CALL(94, int64_t, _RunUnitTests58, ());
|
||||
VIRTUAL_CALL(95, int64_t, _RunUnitTests59, ());
|
||||
VIRTUAL_CALL(96, void, _SetPlatform160, ());
|
||||
VIRTUAL_CALL(97, void, _SetPlatform161, ());
|
||||
VIRTUAL_CALL(98, static float, _min_region_merge_size6, ());
|
||||
VIRTUAL_CALL(99, bool, _updateRttiParams73, ());
|
||||
GAME_IMPORT virtual ttl::vector<ICoPhysics*, ttl::vector_allocators::heap_allocator<ICoPhysics*>, 1> GetControlledPhysicsComponents() const;
|
||||
VIRTUAL_CALL(101, ttl::vector<ICoPhysics*, ttl::vector_allocators::heap_allocator<ICoPhysics*>, 1>, _GetControlledPhysicsComponents1, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> const& SampleCustomString(float, ttl::string_base<char> const&) const;
|
||||
VIRTUAL_CALL(103, int64_t, _RunUnitTests60, ());
|
||||
VIRTUAL_CALL(104, void, _SetPlatform162, ());
|
||||
VIRTUAL_CALL(105, void, _SetPlatform163, ());
|
||||
VIRTUAL_CALL(106, void, _SetPlatform164, ());
|
||||
VIRTUAL_CALL(107, void, _SetPlatform165, ());
|
||||
VIRTUAL_CALL(108, void, _SetPlatform166, ());
|
||||
VIRTUAL_CALL(109, void, _SetPlatform167, ());
|
||||
VIRTUAL_CALL(110, void, _SetPlatform168, ());
|
||||
VIRTUAL_CALL(111, void, _SetPlatform169, ());
|
||||
VIRTUAL_CALL(112, void, _SetPlatform170, ());
|
||||
VIRTUAL_CALL(113, void, _SetPlatform171, ());
|
||||
VIRTUAL_CALL(114, void, _SetPlatform172, ());
|
||||
VIRTUAL_CALL(115, void, _SetPlatform173, ());
|
||||
VIRTUAL_CALL(116, void, _SetPlatform174, ());
|
||||
VIRTUAL_CALL(117, void, _SetPlatform175, ());
|
||||
VIRTUAL_CALL(118, void, _SetPlatform176, ());
|
||||
VIRTUAL_CALL(119, ttl::string_base<char> const&, _SampleCustomString1, (float a1, ttl::string_base<char> const& a2), a1, a2);
|
||||
VIRTUAL_CALL(120, void, _SetPlatform177, ());
|
||||
VIRTUAL_CALL(121, int64_t, _RunUnitTests61, ());
|
||||
VIRTUAL_CALL(122, int64_t, _RunUnitTests62, ());
|
||||
VIRTUAL_CALL(123, void, _SetPlatform178, ());
|
||||
VIRTUAL_CALL(124, int64_t, _RunUnitTests63, ());
|
||||
VIRTUAL_CALL(125, void, _SetPlatform179, ());
|
||||
VIRTUAL_CALL(126, vec3 const&, _Ode_GetWantedSpeed1, ());
|
||||
VIRTUAL_CALL(127, bool, _updateRttiParams74, ());
|
||||
VIRTUAL_CALL(128, void, _SetPlatform180, ());
|
||||
VIRTUAL_CALL(129, void, _SetPlatform181, ());
|
||||
VIRTUAL_CALL(130, void, _SetPlatform182, ());
|
||||
VIRTUAL_CALL(131, float, odb_GetLoadTime, (RLROD_Batch*), RLROD_Batch*);
|
||||
VIRTUAL_CALL(132, void, _SetPlatform183, ());
|
||||
VIRTUAL_CALL(133, static float, _min_region_merge_size7, ());
|
||||
VIRTUAL_CALL(134, bool, _updateRttiParams75, ());
|
||||
VIRTUAL_CALL(135, void, _SetPlatform184, ());
|
||||
VIRTUAL_CALL(136, bool, _updateRttiParams76, ());
|
||||
VIRTUAL_CALL(137, int64_t, _RunUnitTests64, ());
|
||||
VIRTUAL_CALL(138, void, _SetPlatform185, ());
|
||||
VIRTUAL_CALL(139, void, _SetPlatform186, ());
|
||||
VIRTUAL_CALL(140, void, _SetPlatform187, ());
|
||||
VIRTUAL_CALL(141, void, _SetPlatform188, ());
|
||||
VIRTUAL_CALL(142, void, _SetPlatform189, ());
|
||||
VIRTUAL_CALL(143, void, _SetPlatform190, ());
|
||||
VIRTUAL_CALL(144, void, _SetPlatform191, ());
|
||||
VIRTUAL_CALL(145, void, _SetPlatform192, ());
|
||||
VIRTUAL_CALL(146, void, _SetPlatform193, ());
|
||||
VIRTUAL_CALL(147, void, _SetPlatform194, ());
|
||||
VIRTUAL_CALL(148, void, _SetPlatform195, ());
|
||||
VIRTUAL_CALL(149, void, _SetPlatform196, ());
|
||||
VIRTUAL_CALL(150, vec3, _WheelBodyGetContactPos4, (IPhBody* a1), a1);
|
||||
VIRTUAL_CALL(151, void, _SetPlatform197, ());
|
||||
VIRTUAL_CALL(152, int64_t, _RunUnitTests65, ());
|
||||
VIRTUAL_CALL(153, void, _SetPlatform198, ());
|
||||
VIRTUAL_CALL(154, vec3 const&, _Ode_GetWantedSpeed2, ());
|
||||
VIRTUAL_CALL(155, vec3 const&, _Ode_GetWantedSpeed3, ());
|
||||
VIRTUAL_CALL(156, vec3 const&, _Ode_GetWantedSpeed4, ());
|
||||
VIRTUAL_CALL(157, vec3 const&, _Ode_GetWantedSpeed5, ());
|
||||
VIRTUAL_CALL(158, void, _SetPlatform199, ());
|
||||
VIRTUAL_CALL(159, void, _SetPlatform200, ());
|
||||
VIRTUAL_CALL(160, vec3 const&, _Ode_GetWantedSpeed6, ());
|
||||
VIRTUAL_CALL(161, void, _SetPlatform201, ());
|
||||
VIRTUAL_CALL(162, void, _SetPlatform202, ());
|
||||
VIRTUAL_CALL(163, vec3 const&, _Ode_GetWantedSpeed7, ());
|
||||
VIRTUAL_CALL(164, static float, _min_region_merge_size8, ());
|
||||
VIRTUAL_CALL(165, void, _SetPlatform203, ());
|
||||
VIRTUAL_CALL(166, vec3 const&, _Ode_GetWantedSpeed8, ());
|
||||
VIRTUAL_CALL(167, float, _odb_GetLoadTime4, (RLROD_Batch* a1), a1);
|
||||
VIRTUAL_CALL(168, float, _odb_GetLoadTime5, (RLROD_Batch* a1), a1);
|
||||
VIRTUAL_CALL(169, void, _SetPlatform204, ());
|
||||
VIRTUAL_CALL(170, bool, _updateRttiParams77, ());
|
||||
VIRTUAL_CALL(171, bool, _updateRttiParams78, ());
|
||||
VIRTUAL_CALL(172, vec3, _WheelBodyGetContactPos5, (IPhBody* a1), a1);
|
||||
GAME_IMPORT virtual mtx34 const& GetPlayerWorldXForm() const;
|
||||
VIRTUAL_CALL(174, bool, _updateRttiParams79, ());
|
||||
VIRTUAL_CALL(175, vec3 const&, _Ode_GetWantedSpeed9, ());
|
||||
VIRTUAL_CALL(176, void, _SetPlatform205, ());
|
||||
VIRTUAL_CALL(177, bool, _updateRttiParams80, ());
|
||||
VIRTUAL_CALL(178, bool, _updateRttiParams81, ());
|
||||
VIRTUAL_CALL(179, void, _SetPlatform206, ());
|
||||
VIRTUAL_CALL(180, void, _SetPlatform207, ());
|
||||
VIRTUAL_CALL(181, void, _SetPlatform208, ());
|
||||
VIRTUAL_CALL(182, void, _SetPlatform209, ());
|
||||
VIRTUAL_CALL(183, void, _SetPlatform210, ());
|
||||
VIRTUAL_CALL(184, bool, _updateRttiParams82, ());
|
||||
VIRTUAL_CALL(185, void, _SetPlatform211, ());
|
||||
VIRTUAL_CALL(186, void, _SetPlatform212, ());
|
||||
VIRTUAL_CALL(187, void, _SetPlatform213, ());
|
||||
VIRTUAL_CALL(188, void, _SetPlatform214, ());
|
||||
VIRTUAL_CALL(189, void, _SetPlatform215, ());
|
||||
VIRTUAL_CALL(190, int64_t, _RunUnitTests66, ());
|
||||
|
||||
GAME_IMPORT IPhysicsCharacter();
|
||||
#pragma endregion
|
||||
};
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"PROJECT_INCLUDES_PATH": "D:\\PROJECTS\\Visual Studio\\EGameSDK\\EGameSDK\\include",
|
||||
"OUTPUT_PATH": "D:\\PROJECTS\\Visual Studio\\EGameSDK\\EGameSDK\\proxies\\engine_x64_rwdi\\scripts"
|
||||
}
|
@ -3,18 +3,20 @@ import re
|
||||
import struct
|
||||
import idc
|
||||
import idaapi
|
||||
import ida_kernwin
|
||||
import ida_hexrays
|
||||
import ida_bytes
|
||||
import ida_ida
|
||||
import pickle
|
||||
import importlib
|
||||
import json
|
||||
from typing import Optional
|
||||
|
||||
idaapi.require("ExportClassToCPPH")
|
||||
import ExportClassToCPPH.ClassDefs
|
||||
from ExportClassToCPPH import Utils, Config
|
||||
from ExportClassToCPPH.ClassDefs import ClassName, ParsedFunction, ParsedClassVar
|
||||
|
||||
CONFIG_FILE = os.path.join(os.path.dirname(__file__), "ExportClassToCPPH.json")
|
||||
|
||||
# Global caches
|
||||
parsedClassVarsByClass: dict[str, list[ParsedClassVar]] = {} # Cache of parsed class vars by class name
|
||||
parsedVTableFuncsByClass: dict[str, list[ParsedFunction]] = {} # Cache of parsed functions by class name
|
||||
@ -616,7 +618,7 @@ def UpdateExistingHeaderFile(targetClass: ClassName, filePath: str, generatedCod
|
||||
|
||||
if startRegion != -1 and endRegion != -1:
|
||||
# Replace existing region
|
||||
updatedLines = lines[:startRegion] + [generatedCode + '\n'] + lines[endRegion+1:]
|
||||
updatedLines = lines[:startRegion] + [generatedCode + ('\n' if endRegion + 1 < len(lines) and lines[endRegion + 1].strip() == "};" else '\n\n')] + lines[endRegion+1:]
|
||||
|
||||
with open(filePath, 'w', encoding='utf-8') as f:
|
||||
f.writelines(updatedLines)
|
||||
@ -659,9 +661,8 @@ def ProcessExistingHeaders():
|
||||
Scan PROJECT_PATH for header files, find matching class definitions,
|
||||
and update them with generated code.
|
||||
"""
|
||||
projectPath = r"D:\PROJECTS\Visual Studio\EGameSDK\EGameSDK\proxies\engine_x64_rwdi\scripts\include_test"
|
||||
print(f"Scanning {projectPath} for header files...")
|
||||
classFiles = FindExistingHeaderFiles(projectPath)
|
||||
print(f"Scanning {Config.PROJECT_INCLUDES_PATH} for header files...")
|
||||
classFiles = FindExistingHeaderFiles(Config.PROJECT_INCLUDES_PATH)
|
||||
print(f"Found {len(classFiles)} header files.")
|
||||
|
||||
processedCount = 0
|
||||
@ -688,7 +689,7 @@ def ProcessExistingHeaders():
|
||||
#object.__setattr__(targetClass, "type", class_type)
|
||||
|
||||
# Generate and insert the code
|
||||
generatedContent = f"{GenerateClassContent(targetClass, allParsedClassVarsAndFuncs, indent)}\n"
|
||||
generatedContent = f"{GenerateClassContent(targetClass, allParsedClassVarsAndFuncs, indent)}"
|
||||
if generatedContent:
|
||||
success = UpdateExistingHeaderFile(targetClass, filePath, generatedContent)
|
||||
if success:
|
||||
@ -783,20 +784,140 @@ def ExportClassHeader(targetClass: ClassName):
|
||||
nonCleanedHeaderCode: str = GenerateHeaderCode(targetClass, allParsedClassVarsAndFuncs, False)
|
||||
WriteHeaderToFile(targetClass, nonCleanedHeaderCode, f"{targetClass.name}-unclean.h")
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# UI Integration
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# Load settings from file
|
||||
def load_settings():
|
||||
if os.path.exists(CONFIG_FILE):
|
||||
with open(CONFIG_FILE, "r") as f:
|
||||
return json.load(f)
|
||||
return Config.DEFAULT_CONFIG
|
||||
|
||||
# Save settings to file
|
||||
def save_settings(settings):
|
||||
with open(CONFIG_FILE, "w") as f:
|
||||
json.dump(settings, f, indent=4)
|
||||
|
||||
class SettingsDialog(ida_kernwin.Form):
|
||||
def __init__(self, current_config):
|
||||
self.config = current_config
|
||||
ida_kernwin.Form.__init__(self, r"""STARTITEM 0
|
||||
BUTTON YES* Save
|
||||
BUTTON CANCEL Cancel
|
||||
Settings
|
||||
|
||||
Modify the paths below:
|
||||
|
||||
<##Project Includes Path:{i_project_path}>
|
||||
<##Output Path:{i_output_path}>
|
||||
""", {
|
||||
'i_project_path': ida_kernwin.Form.StringInput(swidth=50, value=self.config["PROJECT_INCLUDES_PATH"]),
|
||||
'i_output_path': ida_kernwin.Form.StringInput(swidth=50, value=self.config["OUTPUT_PATH"]),
|
||||
})
|
||||
|
||||
def GetValues(self):
|
||||
return {
|
||||
"PROJECT_INCLUDES_PATH": self.i_project_path.value,
|
||||
"OUTPUT_PATH": self.i_output_path.value
|
||||
}
|
||||
|
||||
def OnFormChange(self, fid):
|
||||
return 1 # Required for form functionality
|
||||
|
||||
class MainDialog(ida_kernwin.Form):
|
||||
def __init__(self):
|
||||
ida_kernwin.Form.__init__(self, r"""STARTITEM 0
|
||||
BUTTON YES* OK
|
||||
BUTTON CANCEL Cancel
|
||||
Export Class to C++ Header
|
||||
|
||||
{FormChangeCb}
|
||||
|
||||
<##Update Project Code:{r_update}>
|
||||
<##Generate Class Code:{r_generate}>
|
||||
<##Settings:{r_settings}>{radioGroup}>
|
||||
""", {
|
||||
'radioGroup': ida_kernwin.Form.RadGroupControl(("r_update", "r_generate", "r_settings")),
|
||||
'FormChangeCb': ida_kernwin.Form.FormChangeCb(self.OnFormChange),
|
||||
})
|
||||
|
||||
def OnFormChange(self, fid):
|
||||
return 1 # Required for form functionality
|
||||
|
||||
def open_settings_dialog():
|
||||
"""Opens the Settings Dialog and returns to Main Dialog on Cancel"""
|
||||
settings = load_settings()
|
||||
settingsDlg = SettingsDialog(settings)
|
||||
settingsDlg.Compile()
|
||||
result = settingsDlg.Execute()
|
||||
|
||||
if result == 1: # Save clicked
|
||||
new_settings = settingsDlg.GetValues()
|
||||
save_settings(new_settings) # Save new settings to file
|
||||
print("[INFO] Settings saved successfully!")
|
||||
|
||||
settingsDlg.Free()
|
||||
|
||||
# Always return to the main dialog after closing settings
|
||||
open_main_dialog()
|
||||
|
||||
def open_main_dialog():
|
||||
"""Reopens the Main Dialog"""
|
||||
mainDlg = MainDialog()
|
||||
mainDlg.Compile()
|
||||
result = mainDlg.Execute()
|
||||
|
||||
if result == 1: # OK clicked
|
||||
selectedOption = mainDlg.radioGroup.value
|
||||
|
||||
if selectedOption == 0:
|
||||
print("[INFO] Update Project Code selected!")
|
||||
ProcessExistingHeaders()
|
||||
elif selectedOption == 1:
|
||||
print("[INFO] Generate Class Code selected!")
|
||||
targetClassName = ida_kernwin.ask_str("", 0, "Enter target class name:")
|
||||
if not targetClassName:
|
||||
print("No target class specified. Aborting.")
|
||||
return
|
||||
ExportClassHeader(ClassName(targetClassName))
|
||||
elif selectedOption == 2:
|
||||
print("[INFO] Settings selected!")
|
||||
open_settings_dialog() # Open settings when selected
|
||||
else:
|
||||
print("[INFO] User clicked Cancel. No action taken.")
|
||||
|
||||
mainDlg.Free()
|
||||
|
||||
def Main():
|
||||
"""Main entry point for the script."""
|
||||
ProcessExistingHeaders()
|
||||
# Ask user for target class
|
||||
#targetClass = ida_kernwin.ask_str("IModelObject", 0, "Enter target class name (supports namespaces and templates):")
|
||||
# targetClassName: str = "CLevel"
|
||||
# if not targetClassName:
|
||||
# print("No target class specified. Aborting.")
|
||||
# return
|
||||
# targetClass: ClassName = ClassName(targetClassName)
|
||||
open_main_dialog()
|
||||
|
||||
# Reload modules to apply any changes
|
||||
|
||||
# breakpoint()
|
||||
# ExportClassHeader(targetClass)
|
||||
import importlib
|
||||
import ExportClassToCPPH.ClassDefs
|
||||
import ExportClassToCPPH.Config
|
||||
import ExportClassToCPPH.Utils
|
||||
importlib.reload(ExportClassToCPPH.ClassDefs)
|
||||
importlib.reload(ExportClassToCPPH.Config)
|
||||
importlib.reload(ExportClassToCPPH.Utils)
|
||||
|
||||
# def Main():
|
||||
# """Main entry point for the script."""
|
||||
# ProcessExistingHeaders()
|
||||
# # Ask user for target class
|
||||
# #targetClass = ida_kernwin.ask_str("IModelObject", 0, "Enter target class name (supports namespaces and templates):")
|
||||
# # targetClassName: str = "CLevel"
|
||||
# # if not targetClassName:
|
||||
# # print("No target class specified. Aborting.")
|
||||
# # return
|
||||
# # targetClass: ClassName = ClassName(targetClassName)
|
||||
|
||||
# # breakpoint()
|
||||
# # ExportClassHeader(targetClass)
|
||||
# importlib.reload(ExportClassToCPPH.ClassDefs)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# IDA plugin integration
|
||||
|
@ -1,9 +1,14 @@
|
||||
import os
|
||||
|
||||
INTERNAL_SCRIPT_NAME = "ExportClassToCPPH"
|
||||
PROJECT_PATH = r"D:\PROJECTS\Visual Studio\EGameSDK\EGameSDK\include"
|
||||
PROJECT_INCLUDES_PATH = r"D:\PROJECTS\Visual Studio\EGameSDK\EGameSDK\include"
|
||||
OUTPUT_PATH = r"D:\PROJECTS\Visual Studio\EGameSDK\EGameSDK\proxies\engine_x64_rwdi\scripts"
|
||||
HEADER_OUTPUT_PATH = os.path.join(OUTPUT_PATH, "generated")
|
||||
CACHE_OUTPUT_PATH = os.path.join(OUTPUT_PATH, "cache")
|
||||
PARSED_VARS_CACHE_FILENAME = os.path.join(CACHE_OUTPUT_PATH, "parsedClassVarsByClass.cache")
|
||||
PARSED_FUNCS_CACHE_FILENAME = os.path.join(CACHE_OUTPUT_PATH, "parsedFuncsByClass.cache")
|
||||
PARSED_FUNCS_CACHE_FILENAME = os.path.join(CACHE_OUTPUT_PATH, "parsedFuncsByClass.cache")
|
||||
|
||||
DEFAULT_CONFIG = {
|
||||
"PROJECT_INCLUDES_PATH": PROJECT_INCLUDES_PATH,
|
||||
"OUTPUT_PATH": OUTPUT_PATH
|
||||
}
|
@ -1,254 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CLevel {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT static char const * const CB_REGION_DIR_PREFIX;
|
||||
GAME_IMPORT static class rtti::Type & m_RTTI;
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_field;
|
||||
GAME_IMPORT static char const * const GENERATED_CONTENT_DIR_NAME;
|
||||
|
||||
VIRTUAL_CALL(0, __int64 __fastcall, sub_7E9B40, (__int64 a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, IObject *__fastcall, sub_AFCDB0, (char a1), a1);
|
||||
GAME_IMPORT virtual class CRTTI const * GetRTTI() const;
|
||||
VIRTUAL_CALL(3, __int64, sub_B122A0, ());
|
||||
VIRTUAL_CALL(4, struct MED::SModelOutfitGroup const *, unassigned, ());
|
||||
VIRTUAL_CALL(5, struct MED::SModelOutfitGroup const *, _unassigned8, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, class gui::CPackage *, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, class gui::CPackage *, _ToCPackage2, ());
|
||||
VIRTUAL_CALL(8, __int64, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, __int64, _RunUnitTests8, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(class ttl::list<class IGSObject *, class ttl::allocator> *, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, struct MED::SModelOutfitGroup const *, _unassigned9, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(class ttl::vector<class IGSObject *, class ttl::vector_allocators::heap_allocator<class IGSObject *>, 1> &, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(class ttl::set<class CRTTIObject *, struct ttl::less<class CRTTIObject *>, class ttl::allocator> &, class ttl::set<class CRTTIObject *, struct ttl::less<class CRTTIObject *>, class ttl::allocator> &, bool, class std::optional<class ttl::function_ref<bool (class CRTTIObject *)>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void __fastcall, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const * GetString(char const *) const;
|
||||
VIRTUAL_CALL(18, __int64 __fastcall, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char __fastcall, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, __int64 __fastcall, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, struct MED::SModelOutfitGroup const *, _unassigned10, ());
|
||||
VIRTUAL_CALL(22, void __fastcall, _SetPlatform13, ());
|
||||
GAME_IMPORT virtual class Uid const & GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams14, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams15, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams16, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams17, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams18, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams19, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams20, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams21, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams22, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const *, ...);
|
||||
GAME_IMPORT virtual class cbs::msg::IMessagePipeSet const & GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, __int64, _RunUnitTests9, ());
|
||||
VIRTUAL_CALL(36, struct MED::SModelOutfitGroup const *, _unassigned11, ());
|
||||
VIRTUAL_CALL(37, struct MED::SModelOutfitGroup const *, _unassigned12, ());
|
||||
VIRTUAL_CALL(38, struct MED::SModelOutfitGroup const *, _unassigned13, ());
|
||||
VIRTUAL_CALL(39, struct MED::SModelOutfitGroup const *, _unassigned14, ());
|
||||
GAME_IMPORT virtual class cbs::prop::IPropertySet const & GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void __fastcall, _SetPlatform14, ());
|
||||
VIRTUAL_CALL(42, __int64, _RunUnitTests10, ());
|
||||
GAME_IMPORT virtual bool LoadField(class CRTTIField const *, unsigned char, class fs::ifile &, class IPtrResolver &, bool);
|
||||
GAME_IMPORT virtual void LoadFields(class dom::IReader::Object const &, class IPtrResolver &, bool, bool (*)(char const *, class CRTTIObject *));
|
||||
GAME_IMPORT virtual void LoadFields(class ITextDeserializer &, class IPtrResolver &, bool);
|
||||
GAME_IMPORT virtual void LoadFields(class fs::ifile &, class IPtrResolver &, bool);
|
||||
GAME_IMPORT virtual void SaveFields(class dom::IWriter &, enum ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char *, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char *, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void __fastcall, _SetPlatform15, ());
|
||||
VIRTUAL_CALL(52, char __fastcall, sub_1816B0, (const struct CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(class CRTTIObject const *, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(class CRTTIObject const *);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(class CRTTIObject *);
|
||||
VIRTUAL_CALL(56, __int64 __fastcall, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, __int64 __fastcall, sub_7F8F70, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(58, __int64, _RunUnitTests11, ());
|
||||
GAME_IMPORT virtual struct SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, __int64, _RunUnitTests12, ());
|
||||
GAME_IMPORT virtual class ttl::string_base<char> GetDebugDescription() const;
|
||||
VIRTUAL_CALL(62, __int64 __fastcall, sub_B005E0, (_DWORD* a1), a1);
|
||||
VIRTUAL_CALL(63, __int64 __fastcall, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, __int64 __fastcall, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams23, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (class IGSObject const *, class vec4 const &), *, &);
|
||||
VIRTUAL_CALL(67, __int64 __fastcall, sub_806BC0, ());
|
||||
GAME_IMPORT virtual class ttl::string_base<char> ValueToString(class CRTTIObject * const &) const;
|
||||
VIRTUAL_CALL(69, char __fastcall, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void __fastcall, sub_17D770, (struct CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams24, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(class CRTTIField const *, bool);
|
||||
VIRTUAL_CALL(73, __int64 __fastcall, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const *, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, _QWORD *__fastcall, sub_8343A0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams25, ());
|
||||
VIRTUAL_CALL(77, char __fastcall, sub_81DA90, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams26, ());
|
||||
VIRTUAL_CALL(79, bool __fastcall, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, __int64, _RunUnitTests13, ());
|
||||
VIRTUAL_CALL(81, __int64, _RunUnitTests14, ());
|
||||
VIRTUAL_CALL(82, static void, RegisterSTTI, (class CRTTI *), *);
|
||||
GAME_IMPORT virtual void Query(class IBaseValidator &, class ttl::vector<class CRTTIObject *, class ttl::vector_allocators::heap_allocator<class CRTTIObject *>, 1> &) const;
|
||||
VIRTUAL_CALL(84, bool __fastcall, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char __fastcall, sub_15E050, ());
|
||||
VIRTUAL_CALL(88, static void, _RegisterSTTI2, (class CRTTI* a1), a1);
|
||||
VIRTUAL_CALL(89, __int64 __fastcall, sub_7ED0C0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(90, __int64 __fastcall, sub_7F4540, ());
|
||||
VIRTUAL_CALL(91, __int64 __fastcall, sub_B1E130, (__int64 a1, unsigned int a2), a1, a2);
|
||||
VIRTUAL_CALL(92, char __fastcall, sub_B1E1C0, (__int64* a1, __int64 a2, unsigned int a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(93, _QWORD *__fastcall, sub_131260, (__int64* a1, int a2, int a3, __int64 a4, struct CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(94, void __fastcall, sub_B30960, (struct gui::CActionNode* a1), a1);
|
||||
VIRTUAL_CALL(95, __int64 __fastcall, sub_7F0310, ());
|
||||
VIRTUAL_CALL(96, __int64 __fastcall, GsDriverEntry_0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(97, void __fastcall, _SetPlatform16, ());
|
||||
VIRTUAL_CALL(98, void __fastcall, sub_B1C6E0, (struct CGSObject* a1), a1);
|
||||
VIRTUAL_CALL(99, __int64 __fastcall, sub_80C420, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(100, int __fastcall, sub_B04E70, ());
|
||||
VIRTUAL_CALL(101, __int64 __fastcall, sub_7E9230, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(102, __int64 __fastcall, sub_7E8D70, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(103, __int64 __fastcall, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, __int64 __fastcall, sub_B02400, ());
|
||||
VIRTUAL_CALL(105, __int64 __fastcall, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char __fastcall, sub_7F97C0, (__int64 a1, _QWORD* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char __fastcall, sub_8130B0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(108, char __fastcall, sub_813020, (_QWORD* * a1), a1);
|
||||
VIRTUAL_CALL(109, _QWORD *__fastcall, sub_806400, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(110, __int64 __fastcall, sub_831710, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(111, __int64 __fastcall, sub_8316D0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(112, void __fastcall, sub_8261B0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(113, void __fastcall, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, unsigned __int64 __fastcall, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, __int64 __fastcall, sub_8341B0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(116, __int64 __fastcall, sub_833F80, (__int64 a1, __int64 a2), a1, a2);
|
||||
VIRTUAL_CALL(117, unsigned __int64 *__fastcall, sub_B120A0, (unsigned __int64* a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(118, _QWORD *__fastcall, sub_802EE0, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(119, __int64 __fastcall, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void __fastcall, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, __int64 __fastcall, sub_831870, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(122, __int64 __fastcall, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, __int64 __fastcall, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, __int64 __fastcall, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, __int64 __fastcall, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, __int64 __fastcall, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, __int64 __fastcall, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, __int64 __fastcall, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, __int64 __fastcall, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, __int64 __fastcall, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, __int64 __fastcall, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, __int64 __fastcall, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, __int64 __fastcall, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, __int64 __fastcall, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, __int64 __fastcall, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, __int64 __fastcall, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, __int64 __fastcall, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, __int64 __fastcall, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, __int64 __fastcall, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, __int64 __fastcall, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, __int64 __fastcall, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, __int64 __fastcall, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, __int64 __fastcall, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool __fastcall, sub_811980, ());
|
||||
VIRTUAL_CALL(145, _QWORD *__fastcall, sub_7FE950, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(146, __int64 __fastcall, sub_B17A80, ());
|
||||
VIRTUAL_CALL(147, __int64 __fastcall, _sub_B17A802, ());
|
||||
VIRTUAL_CALL(148, void __fastcall, _SetPlatform17, ());
|
||||
VIRTUAL_CALL(149, void __fastcall, _SetPlatform18, ());
|
||||
VIRTUAL_CALL(150, void __fastcall, _SetPlatform19, ());
|
||||
VIRTUAL_CALL(151, void __fastcall, _SetPlatform20, ());
|
||||
VIRTUAL_CALL(152, void __fastcall, sub_B1D5B0, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(153, __int64 __fastcall, sub_B317B0, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(154, const char *__fastcall, sub_B17360, ());
|
||||
VIRTUAL_CALL(155, void __fastcall, sub_B173B0, (MED::DebugPanel::Assets* a1), a1);
|
||||
VIRTUAL_CALL(156, __int64 __fastcall, sub_B34690, ());
|
||||
VIRTUAL_CALL(157, __int64 __fastcall, sub_B34990, ());
|
||||
VIRTUAL_CALL(158, __int64 __fastcall, sub_B01150, (__int64 a1, float a2, float a3, float a4, int a5, int a6, char a7), a1, a2, a3, a4, a5, a6, a7);
|
||||
VIRTUAL_CALL(159, _DWORD *__fastcall, sub_B31E40, (int* a1), a1);
|
||||
VIRTUAL_CALL(160, __int64 __fastcall, sub_B17F00, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(161, __int64 __fastcall, sub_B22340, ());
|
||||
VIRTUAL_CALL(162, void __fastcall, sub_B24B20, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(163, __int64 __fastcall, sub_AFCF70, ());
|
||||
VIRTUAL_CALL(164, __int64 __fastcall, sub_B21770, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(165, void __fastcall, _SetPlatform21, ());
|
||||
VIRTUAL_CALL(166, __int64 __fastcall, sub_B30870, (unsigned __int8 a1), a1);
|
||||
VIRTUAL_CALL(167, void __fastcall, sub_B1A6E0, ());
|
||||
VIRTUAL_CALL(168, __int64 __fastcall, sub_B05C30, ());
|
||||
VIRTUAL_CALL(169, void __fastcall, _SetPlatform22, ());
|
||||
VIRTUAL_CALL(170, void __fastcall, sub_B1A730, ());
|
||||
VIRTUAL_CALL(171, __int64 __fastcall, sub_B1D370, ());
|
||||
VIRTUAL_CALL(172, void __fastcall, sub_AFF1C0, (char a1), a1);
|
||||
VIRTUAL_CALL(173, __int64 __fastcall, sub_B04C10, ());
|
||||
VIRTUAL_CALL(174, void __fastcall, sub_B1A090, ());
|
||||
VIRTUAL_CALL(175, void *__fastcall, sub_B1C680, ());
|
||||
VIRTUAL_CALL(176, __int64 __fastcall, sub_B11210, ());
|
||||
VIRTUAL_CALL(177, __int64 __fastcall, sub_B124D0, ());
|
||||
VIRTUAL_CALL(178, __int64 __fastcall, sub_B12290, ());
|
||||
VIRTUAL_CALL(179, bool __fastcall, sub_B1D230, ());
|
||||
VIRTUAL_CALL(180, __int64, sub_B15DE0, ());
|
||||
VIRTUAL_CALL(181, void __fastcall, sub_B31F30, (float a1), a1);
|
||||
VIRTUAL_CALL(182, float __fastcall, sub_B183D0, ());
|
||||
VIRTUAL_CALL(183, __int64 __fastcall, sub_B22310, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(184, __int64 __fastcall, sub_B22130, ());
|
||||
VIRTUAL_CALL(185, void __fastcall, _SetPlatform23, ());
|
||||
VIRTUAL_CALL(186, char __fastcall, sub_B2B0A0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(187, void __fastcall, sub_B30B40, (unsigned __int64 a1), a1);
|
||||
VIRTUAL_CALL(188, void __fastcall, sub_B30F90, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(189, unsigned __int64 *, sub_B03FE0, (unsigned __int64* a1, char* a2, ... a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(190, __int64 __fastcall, sub_B15200, (int a1), a1);
|
||||
VIRTUAL_CALL(191, unsigned __int64 *__fastcall, sub_B13DC0, (unsigned __int64* a1), a1);
|
||||
VIRTUAL_CALL(192, __int64 __fastcall, sub_B144B0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(193, physics_spec_walk *__fastcall, sub_B13DF0, (physics_spec_walk* a1), a1);
|
||||
VIRTUAL_CALL(194, __int64 __fastcall, sub_B111F0, ());
|
||||
VIRTUAL_CALL(195, __int64 __fastcall, sub_B22040, ());
|
||||
VIRTUAL_CALL(196, __int64 __fastcall, sub_B220F0, ());
|
||||
VIRTUAL_CALL(197, _DWORD *__fastcall, sub_B0C760, ());
|
||||
VIRTUAL_CALL(198, __int64, sub_B0D030, ());
|
||||
VIRTUAL_CALL(199, __int64 __fastcall, sub_B0D040, ());
|
||||
VIRTUAL_CALL(200, __int64 __fastcall, sub_B221D0, ());
|
||||
VIRTUAL_CALL(201, void __fastcall, sub_B222C0, ());
|
||||
VIRTUAL_CALL(202, _QWORD *__fastcall, sub_B02D00, ());
|
||||
VIRTUAL_CALL(203, __int64 __fastcall, sub_B28550, (char a1, __int64 a2, __int64 a3, SExtCollInfo* a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(204, bool __fastcall, sub_B281E0, (char a1, __int64 a2, __int64 a3, __int64 a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(205, unsigned int __fastcall, sub_B21210, (char a1, __int64 a2, __int64 a3, MED::SModelOutfitItems* a4, __int64 a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(206, __int64 __fastcall, sub_B07AE0, (char a1, unsigned int* a2, __int64 a3, __int64 a4, __int128* a5, char a6), a1, a2, a3, a4, a5, a6);
|
||||
VIRTUAL_CALL(207, void __fastcall, sub_B07DD0, (char a1, __int64 a2, __int64 a3, __int64 a4, __int128* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(208, void __fastcall, sub_AFD490, (__int64 a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(209, __int64 __fastcall, sub_B2C870, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(210, __int64 __fastcall, sub_B2F0B0, (__int64* a1), a1);
|
||||
VIRTUAL_CALL(211, __int64 __fastcall, sub_B2ECF0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(212, unsigned __int64 *__fastcall, sub_B16F10, (unsigned __int64* a1), a1);
|
||||
VIRTUAL_CALL(213, void __fastcall, _SetPlatform24, ());
|
||||
VIRTUAL_CALL(214, float __fastcall, sub_B3EDC0, ());
|
||||
|
||||
GAME_IMPORT class ttl::vector<class cbs::CPointer<class cbs::CEntity>, class ttl::vector_allocators::heap_allocator<class cbs::CPointer<class cbs::CEntity>>, 0> const & GetAlwaysSpawnedEntities() const;
|
||||
GAME_IMPORT class ttl::string_base<char> GetLevelGeneratedContentRegionPath(class ttl::string_base<char> const &) const;
|
||||
GAME_IMPORT class IVarlistMixer * GetVarlistMixer() const;
|
||||
GAME_IMPORT class ttl::string_base<char> GetLevelGeneratedContentRegionPath(int) const;
|
||||
GAME_IMPORT class IVarlistStack * GetVarlistStack() const;
|
||||
private:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
public:
|
||||
GAME_IMPORT static class rtti::Type & typeinfo();
|
||||
private:
|
||||
GAME_IMPORT static class rtti::Type & __INTERNAL_type_factory();
|
||||
public:
|
||||
GAME_IMPORT class IAutoSoundEmitterMgr * GetAutoSoundEmitterManager();
|
||||
GAME_IMPORT void OnCameraPositionChangedOffline(class CBaseCamera *);
|
||||
private:
|
||||
GAME_IMPORT static class CRTTI * __INTERNAL_crtti_factory();
|
||||
public:
|
||||
GAME_IMPORT class IVarlistManager * GetVarlistManager() const;
|
||||
GAME_IMPORT float GetCurrentDaytime() const;
|
||||
GAME_IMPORT class CPostprocessBlendManager * GetPostprocessBlendManager() const;
|
||||
GAME_IMPORT class ttl::string_base<char> GetLevelGeneratedContentPath() const;
|
||||
GAME_IMPORT static class CRTTI * GetSTTI();
|
||||
GAME_IMPORT static char const * GetGeneratedContentDirName();
|
||||
#pragma endregion
|
||||
};
|
@ -1,254 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CLevel {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
GAME_IMPORT static char const* const CB_REGION_DIR_PREFIX;
|
||||
GAME_IMPORT static rtti::Type& m_RTTI;
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_field;
|
||||
GAME_IMPORT static char const* const GENERATED_CONTENT_DIR_NAME;
|
||||
|
||||
VIRTUAL_CALL(0, int64_t, sub_7E9B40, (int64_t a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, IObject*, sub_AFCDB0, (char a1), a1);
|
||||
GAME_IMPORT virtual CRTTI const* GetRTTI() const;
|
||||
VIRTUAL_CALL(3, int64_t, sub_B122A0, ());
|
||||
VIRTUAL_CALL(4, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(5, MED::SModelOutfitGroup const*, _unassigned8, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, gui::CPackage*, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, gui::CPackage*, _ToCPackage2, ());
|
||||
VIRTUAL_CALL(8, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, int64_t, _RunUnitTests8, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, MED::SModelOutfitGroup const*, _unassigned9, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
VIRTUAL_CALL(18, int64_t, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, int64_t, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned10, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform13, ());
|
||||
GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams14, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams15, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams16, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams17, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams18, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams19, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams20, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams21, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams22, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, int64_t, _RunUnitTests9, ());
|
||||
VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned11, ());
|
||||
VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned12, ());
|
||||
VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned13, ());
|
||||
VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned14, ());
|
||||
GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void, _SetPlatform14, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests10, ());
|
||||
GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void, _SetPlatform15, ());
|
||||
VIRTUAL_CALL(52, char, sub_1816B0, (const CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
VIRTUAL_CALL(56, int64_t, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, int64_t, sub_7F8F70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(58, int64_t, _RunUnitTests11, ());
|
||||
GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, int64_t, _RunUnitTests12, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
VIRTUAL_CALL(62, int64_t, sub_B005E0, (_DWORD* a1), a1);
|
||||
VIRTUAL_CALL(63, int64_t, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, int64_t, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams23, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(67, int64_t, sub_806BC0, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
VIRTUAL_CALL(69, char, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void, sub_17D770, (CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams24, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(73, int64_t, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const*, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, uint64_t*, sub_8343A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams25, ());
|
||||
VIRTUAL_CALL(77, char, sub_81DA90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams26, ());
|
||||
VIRTUAL_CALL(79, bool, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, int64_t, _RunUnitTests13, ());
|
||||
VIRTUAL_CALL(81, int64_t, _RunUnitTests14, ());
|
||||
VIRTUAL_CALL(82, static void, RegisterSTTI, (CRTTI*), CRTTI*);
|
||||
GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
VIRTUAL_CALL(84, bool, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char, sub_15E050, ());
|
||||
VIRTUAL_CALL(88, static void, _RegisterSTTI2, (CRTTI* a1), a1);
|
||||
VIRTUAL_CALL(89, int64_t, sub_7ED0C0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(90, int64_t, sub_7F4540, ());
|
||||
VIRTUAL_CALL(91, int64_t, sub_B1E130, (int64_t a1, uint32_t a2), a1, a2);
|
||||
VIRTUAL_CALL(92, char, sub_B1E1C0, (int64_t* a1, int64_t a2, uint32_t a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(93, uint64_t*, sub_131260, (int64_t* a1, int a2, int a3, int64_t a4, CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(94, void, sub_B30960, (gui::CActionNode* a1), a1);
|
||||
VIRTUAL_CALL(95, int64_t, sub_7F0310, ());
|
||||
VIRTUAL_CALL(96, int64_t, GsDriverEntry_0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(97, void, _SetPlatform16, ());
|
||||
VIRTUAL_CALL(98, void, sub_B1C6E0, (CGSObject* a1), a1);
|
||||
VIRTUAL_CALL(99, int64_t, sub_80C420, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(100, int, sub_B04E70, ());
|
||||
VIRTUAL_CALL(101, int64_t, sub_7E9230, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(102, int64_t, sub_7E8D70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(103, int64_t, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, int64_t, sub_B02400, ());
|
||||
VIRTUAL_CALL(105, int64_t, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char, sub_7F97C0, (int64_t a1, uint64_t* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char, sub_8130B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(108, char, sub_813020, (uint64_t* * a1), a1);
|
||||
VIRTUAL_CALL(109, uint64_t*, sub_806400, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(110, int64_t, sub_831710, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(111, int64_t, sub_8316D0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(112, void, sub_8261B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(113, void, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, uint32_t64_t, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, int64_t, sub_8341B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(116, int64_t, sub_833F80, (int64_t a1, int64_t a2), a1, a2);
|
||||
VIRTUAL_CALL(117, uint32_t64_t*, sub_B120A0, (uint32_t64_t* a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(118, uint64_t*, sub_802EE0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(119, int64_t, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, int64_t, sub_831870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(122, int64_t, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, int64_t, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, int64_t, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, int64_t, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, int64_t, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, int64_t, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, int64_t, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, int64_t, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, int64_t, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, int64_t, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, int64_t, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, int64_t, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, int64_t, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, int64_t, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, int64_t, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, int64_t, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, int64_t, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, int64_t, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, int64_t, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, int64_t, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, int64_t, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, int64_t, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool, sub_811980, ());
|
||||
VIRTUAL_CALL(145, uint64_t*, sub_7FE950, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(146, int64_t, sub_B17A80, ());
|
||||
VIRTUAL_CALL(147, int64_t, _sub_B17A802, ());
|
||||
VIRTUAL_CALL(148, void, _SetPlatform17, ());
|
||||
VIRTUAL_CALL(149, void, _SetPlatform18, ());
|
||||
VIRTUAL_CALL(150, void, _SetPlatform19, ());
|
||||
VIRTUAL_CALL(151, void, _SetPlatform20, ());
|
||||
VIRTUAL_CALL(152, void, sub_B1D5B0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(153, int64_t, sub_B317B0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(154, const char*, sub_B17360, ());
|
||||
VIRTUAL_CALL(155, void, sub_B173B0, (MED::DebugPanel::Assets* a1), a1);
|
||||
VIRTUAL_CALL(156, int64_t, sub_B34690, ());
|
||||
VIRTUAL_CALL(157, int64_t, sub_B34990, ());
|
||||
VIRTUAL_CALL(158, int64_t, sub_B01150, (int64_t a1, float a2, float a3, float a4, int a5, int a6, char a7), a1, a2, a3, a4, a5, a6, a7);
|
||||
VIRTUAL_CALL(159, _DWORD*, sub_B31E40, (int* a1), a1);
|
||||
VIRTUAL_CALL(160, int64_t, sub_B17F00, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(161, int64_t, sub_B22340, ());
|
||||
VIRTUAL_CALL(162, void, sub_B24B20, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(163, int64_t, sub_AFCF70, ());
|
||||
VIRTUAL_CALL(164, int64_t, sub_B21770, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(165, void, _SetPlatform21, ());
|
||||
VIRTUAL_CALL(166, int64_t, sub_B30870, (unsigned __int8 a1), a1);
|
||||
VIRTUAL_CALL(167, void, sub_B1A6E0, ());
|
||||
VIRTUAL_CALL(168, int64_t, sub_B05C30, ());
|
||||
VIRTUAL_CALL(169, void, _SetPlatform22, ());
|
||||
VIRTUAL_CALL(170, void, sub_B1A730, ());
|
||||
VIRTUAL_CALL(171, int64_t, sub_B1D370, ());
|
||||
VIRTUAL_CALL(172, void, sub_AFF1C0, (char a1), a1);
|
||||
VIRTUAL_CALL(173, int64_t, sub_B04C10, ());
|
||||
VIRTUAL_CALL(174, void, sub_B1A090, ());
|
||||
VIRTUAL_CALL(175, void*, sub_B1C680, ());
|
||||
VIRTUAL_CALL(176, int64_t, sub_B11210, ());
|
||||
VIRTUAL_CALL(177, int64_t, sub_B124D0, ());
|
||||
VIRTUAL_CALL(178, int64_t, sub_B12290, ());
|
||||
VIRTUAL_CALL(179, bool, sub_B1D230, ());
|
||||
VIRTUAL_CALL(180, int64_t, sub_B15DE0, ());
|
||||
VIRTUAL_CALL(181, void, sub_B31F30, (float a1), a1);
|
||||
VIRTUAL_CALL(182, float, sub_B183D0, ());
|
||||
VIRTUAL_CALL(183, int64_t, sub_B22310, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(184, int64_t, sub_B22130, ());
|
||||
VIRTUAL_CALL(185, void, _SetPlatform23, ());
|
||||
VIRTUAL_CALL(186, char, sub_B2B0A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(187, void, sub_B30B40, (uint32_t64_t a1), a1);
|
||||
VIRTUAL_CALL(188, void, sub_B30F90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(189, uint32_t64_t*, sub_B03FE0, (uint32_t64_t* a1, char* a2, ... a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(190, int64_t, sub_B15200, (int a1), a1);
|
||||
VIRTUAL_CALL(191, uint32_t64_t*, sub_B13DC0, (uint32_t64_t* a1), a1);
|
||||
VIRTUAL_CALL(192, int64_t, sub_B144B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(193, physics_spec_walk*, sub_B13DF0, (physics_spec_walk* a1), a1);
|
||||
VIRTUAL_CALL(194, int64_t, sub_B111F0, ());
|
||||
VIRTUAL_CALL(195, int64_t, sub_B22040, ());
|
||||
VIRTUAL_CALL(196, int64_t, sub_B220F0, ());
|
||||
VIRTUAL_CALL(197, _DWORD*, sub_B0C760, ());
|
||||
VIRTUAL_CALL(198, int64_t, sub_B0D030, ());
|
||||
VIRTUAL_CALL(199, int64_t, sub_B0D040, ());
|
||||
VIRTUAL_CALL(200, int64_t, sub_B221D0, ());
|
||||
VIRTUAL_CALL(201, void, sub_B222C0, ());
|
||||
VIRTUAL_CALL(202, uint64_t*, sub_B02D00, ());
|
||||
VIRTUAL_CALL(203, int64_t, sub_B28550, (char a1, int64_t a2, int64_t a3, SExtCollInfo* a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(204, bool, sub_B281E0, (char a1, int64_t a2, int64_t a3, int64_t a4), a1, a2, a3, a4);
|
||||
VIRTUAL_CALL(205, uint32_t, sub_B21210, (char a1, int64_t a2, int64_t a3, MED::SModelOutfitItems* a4, int64_t a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(206, int64_t, sub_B07AE0, (char a1, uint32_t* a2, int64_t a3, int64_t a4, __int128* a5, char a6), a1, a2, a3, a4, a5, a6);
|
||||
VIRTUAL_CALL(207, void, sub_B07DD0, (char a1, int64_t a2, int64_t a3, int64_t a4, __int128* a5), a1, a2, a3, a4, a5);
|
||||
VIRTUAL_CALL(208, void, sub_AFD490, (int64_t a1, char a2), a1, a2);
|
||||
VIRTUAL_CALL(209, int64_t, sub_B2C870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(210, int64_t, sub_B2F0B0, (int64_t* a1), a1);
|
||||
VIRTUAL_CALL(211, int64_t, sub_B2ECF0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(212, uint32_t64_t*, sub_B16F10, (uint32_t64_t* a1), a1);
|
||||
VIRTUAL_CALL(213, void, _SetPlatform24, ());
|
||||
VIRTUAL_CALL(214, float, sub_B3EDC0, ());
|
||||
|
||||
GAME_IMPORT ttl::vector<cbs::CPointer<cbs::CEntity>, ttl::vector_allocators::heap_allocator<cbs::CPointer<cbs::CEntity>>, 0> const& GetAlwaysSpawnedEntities() const;
|
||||
GAME_IMPORT ttl::string_base<char> GetLevelGeneratedContentRegionPath(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT IVarlistMixer* GetVarlistMixer() const;
|
||||
GAME_IMPORT ttl::string_base<char> GetLevelGeneratedContentRegionPath(int) const;
|
||||
GAME_IMPORT IVarlistStack* GetVarlistStack() const;
|
||||
private:
|
||||
GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
public:
|
||||
GAME_IMPORT static rtti::Type& typeinfo();
|
||||
private:
|
||||
GAME_IMPORT static rtti::Type& __INTERNAL_type_factory();
|
||||
public:
|
||||
GAME_IMPORT IAutoSoundEmitterMgr* GetAutoSoundEmitterManager();
|
||||
GAME_IMPORT void OnCameraPositionChangedOffline(CBaseCamera*);
|
||||
private:
|
||||
GAME_IMPORT static CRTTI* __INTERNAL_crtti_factory();
|
||||
public:
|
||||
GAME_IMPORT IVarlistManager* GetVarlistManager() const;
|
||||
GAME_IMPORT float GetCurrentDaytime() const;
|
||||
GAME_IMPORT CPostprocessBlendManager* GetPostprocessBlendManager() const;
|
||||
GAME_IMPORT ttl::string_base<char> GetLevelGeneratedContentPath() const;
|
||||
GAME_IMPORT static CRTTI* GetSTTI();
|
||||
GAME_IMPORT static char const* GetGeneratedContentDirName();
|
||||
#pragma endregion
|
||||
};
|
@ -1,244 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CModelObject {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, __int64 __fastcall, sub_7E9B40, (__int64 a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, CModelObject *__fastcall, sub_663A40, (char a1), a1);
|
||||
GAME_IMPORT virtual class CRTTI const * GetRTTI() const;
|
||||
GAME_IMPORT virtual class CRTTI const * GetEngineRTTI() const;
|
||||
VIRTUAL_CALL(4, struct MED::SModelOutfitGroup const *, unassigned, ());
|
||||
VIRTUAL_CALL(5, struct MED::SModelOutfitGroup const *, _unassigned1, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, class gui::CPackage *, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, class gui::CPackage *, _ToCPackage1, ());
|
||||
VIRTUAL_CALL(8, __int64, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, __int64, _RunUnitTests1, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(class ttl::list<class IGSObject *, class ttl::allocator> *, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, struct MED::SModelOutfitGroup const *, _unassigned2, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(class ttl::vector<class IGSObject *, class ttl::vector_allocators::heap_allocator<class IGSObject *>, 1> &, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(class ttl::set<class CRTTIObject *, struct ttl::less<class CRTTIObject *>, class ttl::allocator> &, class ttl::set<class CRTTIObject *, struct ttl::less<class CRTTIObject *>, class ttl::allocator> &, bool, class std::optional<class ttl::function_ref<bool (class CRTTIObject *)>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void __fastcall, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const * GetString(char const *) const;
|
||||
VIRTUAL_CALL(18, __int64 __fastcall, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char __fastcall, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, __int64 __fastcall, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, struct MED::SModelOutfitGroup const *, _unassigned3, ());
|
||||
VIRTUAL_CALL(22, void __fastcall, _SetPlatform1, ());
|
||||
GAME_IMPORT virtual class Uid const & GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams1, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams2, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams3, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams4, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams5, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams6, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams7, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams8, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams9, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const *, ...);
|
||||
GAME_IMPORT virtual class cbs::msg::IMessagePipeSet const & GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, __int64, _RunUnitTests2, ());
|
||||
VIRTUAL_CALL(36, struct MED::SModelOutfitGroup const *, _unassigned4, ());
|
||||
VIRTUAL_CALL(37, struct MED::SModelOutfitGroup const *, _unassigned5, ());
|
||||
VIRTUAL_CALL(38, struct MED::SModelOutfitGroup const *, _unassigned6, ());
|
||||
VIRTUAL_CALL(39, struct MED::SModelOutfitGroup const *, _unassigned7, ());
|
||||
GAME_IMPORT virtual class cbs::prop::IPropertySet const & GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void __fastcall, _SetPlatform2, ());
|
||||
VIRTUAL_CALL(42, __int64, _RunUnitTests3, ());
|
||||
GAME_IMPORT virtual bool LoadField(class CRTTIField const *, unsigned char, class fs::ifile &, class IPtrResolver &, bool);
|
||||
GAME_IMPORT virtual void LoadFields(class dom::IReader::Object const &, class IPtrResolver &, bool, bool (*)(char const *, class CRTTIObject *));
|
||||
GAME_IMPORT virtual void LoadFields(class ITextDeserializer &, class IPtrResolver &, bool);
|
||||
GAME_IMPORT virtual void LoadFields(class fs::ifile &, class IPtrResolver &, bool);
|
||||
GAME_IMPORT virtual void SaveFields(class dom::IWriter &, enum ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char *, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char *, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void __fastcall, _SetPlatform3, ());
|
||||
VIRTUAL_CALL(52, char __fastcall, sub_1816B0, (const struct CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(class CRTTIObject const *, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(class CRTTIObject const *);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(class CRTTIObject *);
|
||||
VIRTUAL_CALL(56, __int64 __fastcall, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, __int64 __fastcall, sub_7F8F70, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(58, __int64, _RunUnitTests4, ());
|
||||
GAME_IMPORT virtual struct SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, __int64, _RunUnitTests5, ());
|
||||
GAME_IMPORT virtual class ttl::string_base<char> GetDebugDescription() const;
|
||||
GAME_IMPORT virtual void CalcMemoryUsage(struct SObjectMemoryUsage &) const;
|
||||
VIRTUAL_CALL(63, __int64 __fastcall, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, __int64 __fastcall, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams10, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (class IGSObject const *, class vec4 const &), *, &);
|
||||
VIRTUAL_CALL(67, __int64 __fastcall, sub_806BC0, ());
|
||||
GAME_IMPORT virtual class ttl::string_base<char> ValueToString(class CRTTIObject * const &) const;
|
||||
VIRTUAL_CALL(69, char __fastcall, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void __fastcall, sub_17D770, (struct CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams11, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(class CRTTIField const *, bool);
|
||||
VIRTUAL_CALL(73, __int64 __fastcall, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const *, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, _QWORD *__fastcall, sub_8343A0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams12, ());
|
||||
VIRTUAL_CALL(77, char __fastcall, sub_81DA90, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams13, ());
|
||||
VIRTUAL_CALL(79, bool __fastcall, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, __int64, _RunUnitTests6, ());
|
||||
VIRTUAL_CALL(81, __int64, _RunUnitTests7, ());
|
||||
VIRTUAL_CALL(82, void __fastcall, _SetPlatform4, ());
|
||||
GAME_IMPORT virtual void Query(class IBaseValidator &, class ttl::vector<class CRTTIObject *, class ttl::vector_allocators::heap_allocator<class CRTTIObject *>, 1> &) const;
|
||||
VIRTUAL_CALL(84, bool __fastcall, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char __fastcall, sub_15E050, ());
|
||||
GAME_IMPORT virtual void OnDeleteObjectEditor();
|
||||
GAME_IMPORT virtual void CopyObjectEditor(class CGameObject *);
|
||||
GAME_IMPORT virtual void EnableVisualizationEditor(bool);
|
||||
GAME_IMPORT virtual void Load(class fs::ifile &, int);
|
||||
GAME_IMPORT virtual bool LoadChunk(class fs::ifile &, unsigned short, int);
|
||||
VIRTUAL_CALL(93, _QWORD *__fastcall, sub_131260, (__int64* a1, int a2, int a3, __int64 a4, struct CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetGameScriptObject(class IGSObject *);
|
||||
public:
|
||||
VIRTUAL_CALL(95, __int64 __fastcall, sub_7F0310, ());
|
||||
GAME_IMPORT virtual void ConstructObject(class CGSObject *);
|
||||
VIRTUAL_CALL(97, __int64 __fastcall, sub_822BC0, ());
|
||||
GAME_IMPORT virtual void InitializeObject(class CGSObject *);
|
||||
VIRTUAL_CALL(99, __int64 __fastcall, sub_80C420, (__int64 a1), a1);
|
||||
GAME_IMPORT virtual void DestroyObject();
|
||||
VIRTUAL_CALL(101, __int64 __fastcall, sub_7E9230, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(102, __int64 __fastcall, sub_7E8D70, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(103, __int64 __fastcall, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, __int64 __fastcall, sub_7E8F20, ());
|
||||
VIRTUAL_CALL(105, __int64 __fastcall, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char __fastcall, sub_7F97C0, (__int64 a1, _QWORD* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char __fastcall, sub_8130B0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(108, char __fastcall, sub_813020, (_QWORD* * a1), a1);
|
||||
VIRTUAL_CALL(109, _QWORD *__fastcall, sub_806400, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(110, __int64 __fastcall, sub_831710, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(111, __int64 __fastcall, sub_8316D0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(112, void __fastcall, sub_8261B0, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(113, void __fastcall, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, unsigned __int64 __fastcall, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, __int64 __fastcall, sub_8341B0, (__int64 a1), a1);
|
||||
GAME_IMPORT virtual void SetLevel(class CLevel *, bool);
|
||||
VIRTUAL_CALL(117, _QWORD *__fastcall, sub_800900, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(118, _QWORD *__fastcall, sub_802EE0, (_QWORD* a1), a1);
|
||||
VIRTUAL_CALL(119, __int64 __fastcall, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void __fastcall, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, __int64 __fastcall, sub_831870, (__int64 a1), a1);
|
||||
VIRTUAL_CALL(122, __int64 __fastcall, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, __int64 __fastcall, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, __int64 __fastcall, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, __int64 __fastcall, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, __int64 __fastcall, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, __int64 __fastcall, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, __int64 __fastcall, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, __int64 __fastcall, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, __int64 __fastcall, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, __int64 __fastcall, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, __int64 __fastcall, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, __int64 __fastcall, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, __int64 __fastcall, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, __int64 __fastcall, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, __int64 __fastcall, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, __int64 __fastcall, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, __int64 __fastcall, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, __int64 __fastcall, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, __int64 __fastcall, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, __int64 __fastcall, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, __int64 __fastcall, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, __int64 __fastcall, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool __fastcall, sub_811980, ());
|
||||
VIRTUAL_CALL(145, _QWORD *__fastcall, sub_7FE950, (_QWORD* a1), a1);
|
||||
GAME_IMPORT virtual void SetActiveOnLevel(bool);
|
||||
GAME_IMPORT virtual void EnableRendering(bool);
|
||||
GAME_IMPORT virtual void EnableRenderingScene(bool);
|
||||
GAME_IMPORT virtual void EnableRenderingShadows(bool);
|
||||
GAME_IMPORT virtual void EnableRenderingRayTracing(bool);
|
||||
GAME_IMPORT virtual void EnableExtentsRendering(bool);
|
||||
GAME_IMPORT virtual void EnableExtentOnlyRendering(bool);
|
||||
VIRTUAL_CALL(153, static enum COFlags::TYPE, GetDefaultCOFlags, ());
|
||||
GAME_IMPORT virtual void SetLodCoarseObjectHierarchy(bool);
|
||||
GAME_IMPORT virtual void OnObjectMoved(unsigned char, enum FOnObjectMovedPropagate::FLAGS);
|
||||
GAME_IMPORT virtual void OnChildMoved(unsigned char);
|
||||
GAME_IMPORT virtual void GetChildren(class ttl::vector<class CControlObject *, class ttl::vector_allocators::heap_allocator<class CControlObject *>, 1> &);
|
||||
GAME_IMPORT virtual void AttachChild(class CControlObject *, bool);
|
||||
GAME_IMPORT virtual void DetachChild(class CControlObject *, bool);
|
||||
GAME_IMPORT virtual void DetachFromParent(bool);
|
||||
protected:
|
||||
GAME_IMPORT virtual void OnNewParent(class CControlObject *);
|
||||
public:
|
||||
VIRTUAL_CALL(162, void __fastcall, _SetPlatform5, ());
|
||||
VIRTUAL_CALL(163, void __fastcall, _SetPlatform6, ());
|
||||
GAME_IMPORT virtual void PreRenderObject(struct SPreRender *);
|
||||
GAME_IMPORT virtual void PreRenderShadowMap(struct SPreRender *);
|
||||
GAME_IMPORT virtual void OnObjectPut();
|
||||
GAME_IMPORT virtual bool Raytrace(class vec3 const &, class vec3 &, struct SExtCollInfo *);
|
||||
GAME_IMPORT virtual bool Raytest(class vec3 const &, class vec3 const &, struct SExtCollInfo const *);
|
||||
GAME_IMPORT virtual void ExtractFaces(struct extract_faces_params const &, class ttl::vector<class coll_tri, class ttl::vector_allocators::heap_allocator<class coll_tri>, 0> *, class ttl::vector<struct coll_primitive, class ttl::vector_allocators::heap_allocator<struct coll_primitive>, 0> *, struct extract_faces_info *);
|
||||
GAME_IMPORT virtual class cbs::CEntity * GetEntity();
|
||||
GAME_IMPORT virtual void SetWorldXformEditor(class mtx34 const &);
|
||||
GAME_IMPORT virtual void SetLocalXformEditor(class mtx34 const &);
|
||||
GAME_IMPORT virtual void SetWorldPosEditor(class vec3 const &);
|
||||
GAME_IMPORT virtual void SetLocalPosEditor(class vec3 const &);
|
||||
GAME_IMPORT virtual void SetWorldDirEditor(class vec3 const &);
|
||||
GAME_IMPORT virtual class mtx34 const & GetLocalXformEditor();
|
||||
GAME_IMPORT virtual class mtx34 const & GetWorldXformEditor();
|
||||
GAME_IMPORT virtual void GetInvWorldXformEditor(class mtx34 &);
|
||||
GAME_IMPORT virtual class vec3 const GetWorldPosEditor();
|
||||
GAME_IMPORT virtual class vec3 const GetLocalPosEditor();
|
||||
GAME_IMPORT virtual class vec3 const GetWorldDirEditor();
|
||||
GAME_IMPORT virtual class vec3 const GetLocalScaleEditor();
|
||||
GAME_IMPORT virtual void Physics_Clutch(class vec3 const &);
|
||||
GAME_IMPORT virtual void Physics_Unclutch();
|
||||
GAME_IMPORT virtual void Physics_SynchroClutch(class vec3 const &);
|
||||
GAME_IMPORT virtual class ttl::string_base<char> Physics_GetClutchInfo();
|
||||
GAME_IMPORT virtual void SetCollType(int);
|
||||
GAME_IMPORT virtual class extents const & GetExtents();
|
||||
GAME_IMPORT virtual void SetExtents(class extents const &);
|
||||
GAME_IMPORT virtual void RecalcExtents();
|
||||
GAME_IMPORT virtual class extents const & GetExtentsInWorldEditor();
|
||||
VIRTUAL_CALL(192, void __fastcall, _SetPlatform7, ());
|
||||
GAME_IMPORT virtual void SetMeshName(class ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void LoadMesh(class ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void LoadMesh(bool);
|
||||
GAME_IMPORT virtual void ResetBonesToReferenceFrame(unsigned int, unsigned int const *);
|
||||
GAME_IMPORT virtual void ResetBonesToReferenceFrame(bool);
|
||||
GAME_IMPORT virtual void ResetBonesExtentsToReferenceFrame(unsigned int, unsigned int const *);
|
||||
GAME_IMPORT virtual void ResetBonesExtentsToReferenceFrame();
|
||||
GAME_IMPORT virtual void ResetBoneAndDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT virtual void ResetElementsDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT virtual bool IsBipedEditor() const;
|
||||
GAME_IMPORT virtual void AdjustExtentsToAllElements(bool, bool);
|
||||
GAME_IMPORT virtual void AnimUpdate(unsigned int);
|
||||
GAME_IMPORT virtual void AnimUpdate(class CMeshElement *);
|
||||
GAME_IMPORT virtual bool AnimInit(char const *, char const *);
|
||||
GAME_IMPORT virtual void AnimShutdown();
|
||||
GAME_IMPORT virtual bool AnimReInit(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT virtual class AnimSeq * AnimSeqDataWrite(struct TAnimId);
|
||||
GAME_IMPORT virtual class AnimSeq * AnimSeqDataWrite(char const *);
|
||||
VIRTUAL_CALL(211, class AnimSeq *, _AnimSeqDataWrite1, (struct TAnimId a1), a1);
|
||||
VIRTUAL_CALL(212, class AnimSeq *, _AnimSeqDataWrite1, (char const* a1), a1);
|
||||
GAME_IMPORT virtual void AnimGetAnimNames(class ttl::map<class ttl::string_base<char>, struct TAnimId, struct ttl::less<class ttl::string_base<char>>, class ttl::allocator> &) const;
|
||||
GAME_IMPORT virtual void AnimGetAnimNames(class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &) const;
|
||||
GAME_IMPORT virtual void AnimUnregisterUpdate();
|
||||
GAME_IMPORT virtual int FindBoneElement(char const *);
|
||||
GAME_IMPORT virtual int GetMeshElemFromBoneID(enum EBones::TYPE);
|
||||
GAME_IMPORT virtual void StoreElementsLayout(struct multielement_model_layout *);
|
||||
GAME_IMPORT virtual bool RestoreElementsLayout(struct multielement_model_layout const *);
|
||||
GAME_IMPORT virtual void StoreElementsLayoutModelSpace(struct multielement_model_layout *);
|
||||
GAME_IMPORT virtual bool RestoreElementsLayoutModelSpace(struct multielement_model_layout const *);
|
||||
GAME_IMPORT virtual void EnableHierarchySerialization(bool);
|
||||
GAME_IMPORT virtual bool IsHierarchySerializationEnabled();
|
||||
GAME_IMPORT virtual void AttachChildToMeshElement(class CControlObject *, class CHierarchyElement *, bool);
|
||||
GAME_IMPORT virtual class extents const & GetExtentsInWorld();
|
||||
GAME_IMPORT virtual void EnableCollisionHullRendering(bool);
|
||||
VIRTUAL_CALL(227, bool, RendersCollisionHull, ());
|
||||
GAME_IMPORT virtual void DebugRenderElementBoxes();
|
||||
GAME_IMPORT virtual class aabb const & GetAABBExtents();
|
||||
#pragma endregion
|
||||
};
|
@ -1,244 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CModelObject {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, int64_t, sub_7E9B40, (int64_t a1, unsigned __int8 a2), a1, a2);
|
||||
VIRTUAL_CALL(1, CModelObject*, sub_663A40, (char a1), a1);
|
||||
GAME_IMPORT virtual CRTTI const* GetRTTI() const;
|
||||
GAME_IMPORT virtual CRTTI const* GetEngineRTTI() const;
|
||||
VIRTUAL_CALL(4, MED::SModelOutfitGroup const*, unassigned, ());
|
||||
VIRTUAL_CALL(5, MED::SModelOutfitGroup const*, _unassigned1, ());
|
||||
protected:
|
||||
VIRTUAL_CALL(6, gui::CPackage*, ToCPackage, ());
|
||||
public:
|
||||
VIRTUAL_CALL(7, gui::CPackage*, _ToCPackage1, ());
|
||||
VIRTUAL_CALL(8, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(9, int64_t, _RunUnitTests1, ());
|
||||
GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
VIRTUAL_CALL(12, MED::SModelOutfitGroup const*, _unassigned2, ());
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
VIRTUAL_CALL(15, bool, updateRttiParams, ());
|
||||
VIRTUAL_CALL(16, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
VIRTUAL_CALL(18, int64_t, sub_17D7D0, ());
|
||||
VIRTUAL_CALL(19, char, sub_15DDB0, ());
|
||||
VIRTUAL_CALL(20, int64_t, sub_80A6F0, ());
|
||||
VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned3, ());
|
||||
VIRTUAL_CALL(22, void, _SetPlatform1, ());
|
||||
GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
VIRTUAL_CALL(24, bool, _updateRttiParams1, ());
|
||||
VIRTUAL_CALL(25, bool, _updateRttiParams2, ());
|
||||
VIRTUAL_CALL(26, bool, _updateRttiParams3, ());
|
||||
VIRTUAL_CALL(27, bool, _updateRttiParams4, ());
|
||||
VIRTUAL_CALL(28, bool, _updateRttiParams5, ());
|
||||
VIRTUAL_CALL(29, bool, _updateRttiParams6, ());
|
||||
VIRTUAL_CALL(30, bool, _updateRttiParams7, ());
|
||||
VIRTUAL_CALL(31, bool, _updateRttiParams8, ());
|
||||
VIRTUAL_CALL(32, bool, _updateRttiParams9, ());
|
||||
GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
VIRTUAL_CALL(35, int64_t, _RunUnitTests2, ());
|
||||
VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned4, ());
|
||||
VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned5, ());
|
||||
VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned6, ());
|
||||
VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned7, ());
|
||||
GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
VIRTUAL_CALL(41, void, _SetPlatform2, ());
|
||||
VIRTUAL_CALL(42, int64_t, _RunUnitTests3, ());
|
||||
GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
VIRTUAL_CALL(51, void, _SetPlatform3, ());
|
||||
VIRTUAL_CALL(52, char, sub_1816B0, (const CRTTIField* a1), a1);
|
||||
GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
VIRTUAL_CALL(56, int64_t, sub_7F8D70, (int a1), a1);
|
||||
VIRTUAL_CALL(57, int64_t, sub_7F8F70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(58, int64_t, _RunUnitTests4, ());
|
||||
GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
VIRTUAL_CALL(60, int64_t, _RunUnitTests5, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
GAME_IMPORT virtual void CalcMemoryUsage(SObjectMemoryUsage&) const;
|
||||
VIRTUAL_CALL(63, int64_t, sub_7E92C0, ());
|
||||
VIRTUAL_CALL(64, int64_t, sub_8092F0, ());
|
||||
VIRTUAL_CALL(65, bool, _updateRttiParams10, ());
|
||||
VIRTUAL_CALL(66, static bool, ValidateVec4, (IGSObject const*, vec4 const&), const*, const&);
|
||||
VIRTUAL_CALL(67, int64_t, sub_806BC0, ());
|
||||
GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
VIRTUAL_CALL(69, char, sub_15DD80, ());
|
||||
VIRTUAL_CALL(70, void, sub_17D770, (CRTTIField* a1, bool a2), a1, a2);
|
||||
VIRTUAL_CALL(71, bool, _updateRttiParams11, ());
|
||||
GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
VIRTUAL_CALL(73, int64_t, sub_173040, ());
|
||||
VIRTUAL_CALL(74, char const*, GetMethodName, ());
|
||||
VIRTUAL_CALL(75, uint64_t*, sub_8343A0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(76, bool, _updateRttiParams12, ());
|
||||
VIRTUAL_CALL(77, char, sub_81DA90, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(78, bool, _updateRttiParams13, ());
|
||||
VIRTUAL_CALL(79, bool, sub_81DA10, ());
|
||||
VIRTUAL_CALL(80, int64_t, _RunUnitTests6, ());
|
||||
VIRTUAL_CALL(81, int64_t, _RunUnitTests7, ());
|
||||
VIRTUAL_CALL(82, void, _SetPlatform4, ());
|
||||
GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
VIRTUAL_CALL(84, bool, sub_15DE90, ());
|
||||
GAME_IMPORT virtual bool SelectObjectEditor(bool);
|
||||
GAME_IMPORT virtual bool HideObjectEditor(bool);
|
||||
VIRTUAL_CALL(87, char, sub_15E050, ());
|
||||
GAME_IMPORT virtual void OnDeleteObjectEditor();
|
||||
GAME_IMPORT virtual void CopyObjectEditor(CGameObject*);
|
||||
GAME_IMPORT virtual void EnableVisualizationEditor(bool);
|
||||
GAME_IMPORT virtual void Load(fs::ifile&, int);
|
||||
GAME_IMPORT virtual bool LoadChunk(fs::ifile&, unsigned short, int);
|
||||
VIRTUAL_CALL(93, uint64_t*, sub_131260, (int64_t* a1, int a2, int a3, int64_t a4, CRTTI* a5), a1, a2, a3, a4, a5);
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetGameScriptObject(IGSObject*);
|
||||
public:
|
||||
VIRTUAL_CALL(95, int64_t, sub_7F0310, ());
|
||||
GAME_IMPORT virtual void ConstructObject(CGSObject*);
|
||||
VIRTUAL_CALL(97, int64_t, sub_822BC0, ());
|
||||
GAME_IMPORT virtual void InitializeObject(CGSObject*);
|
||||
VIRTUAL_CALL(99, int64_t, sub_80C420, (int64_t a1), a1);
|
||||
GAME_IMPORT virtual void DestroyObject();
|
||||
VIRTUAL_CALL(101, int64_t, sub_7E9230, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(102, int64_t, sub_7E8D70, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(103, int64_t, sub_7E91C0, ());
|
||||
VIRTUAL_CALL(104, int64_t, sub_7E8F20, ());
|
||||
VIRTUAL_CALL(105, int64_t, sub_7F89A0, ());
|
||||
VIRTUAL_CALL(106, char, sub_7F97C0, (int64_t a1, uint64_t* a2, _DWORD* a3), a1, a2, a3);
|
||||
VIRTUAL_CALL(107, char, sub_8130B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(108, char, sub_813020, (uint64_t* * a1), a1);
|
||||
VIRTUAL_CALL(109, uint64_t*, sub_806400, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(110, int64_t, sub_831710, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(111, int64_t, sub_8316D0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(112, void, sub_8261B0, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(113, void, sub_8260E0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(114, uint32_t64_t, sub_834570, (char a1), a1);
|
||||
VIRTUAL_CALL(115, int64_t, sub_8341B0, (int64_t a1), a1);
|
||||
GAME_IMPORT virtual void SetLevel(CLevel*, bool);
|
||||
VIRTUAL_CALL(117, uint64_t*, sub_800900, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(118, uint64_t*, sub_802EE0, (uint64_t* a1), a1);
|
||||
VIRTUAL_CALL(119, int64_t, sub_834400, ());
|
||||
VIRTUAL_CALL(120, void, sub_8262B0, (_BYTE* a1), a1);
|
||||
VIRTUAL_CALL(121, int64_t, sub_831870, (int64_t a1), a1);
|
||||
VIRTUAL_CALL(122, int64_t, sub_7E92E0, ());
|
||||
VIRTUAL_CALL(123, int64_t, sub_7E93C0, ());
|
||||
VIRTUAL_CALL(124, int64_t, sub_7E9390, ());
|
||||
VIRTUAL_CALL(125, int64_t, sub_7E93F0, ());
|
||||
VIRTUAL_CALL(126, int64_t, sub_7E9340, ());
|
||||
VIRTUAL_CALL(127, int64_t, sub_7E93E0, ());
|
||||
VIRTUAL_CALL(128, int64_t, sub_7E9330, ());
|
||||
VIRTUAL_CALL(129, int64_t, sub_7E93D0, ());
|
||||
VIRTUAL_CALL(130, int64_t, sub_7E9320, ());
|
||||
VIRTUAL_CALL(131, int64_t, sub_7E92F0, ());
|
||||
VIRTUAL_CALL(132, int64_t, sub_7E92D0, ());
|
||||
VIRTUAL_CALL(133, int64_t, sub_7E93A0, ());
|
||||
VIRTUAL_CALL(134, int64_t, sub_7E9400, ());
|
||||
VIRTUAL_CALL(135, int64_t, sub_7E9410, ());
|
||||
VIRTUAL_CALL(136, int64_t, sub_7E9420, ());
|
||||
VIRTUAL_CALL(137, int64_t, sub_7E9350, ());
|
||||
VIRTUAL_CALL(138, int64_t, sub_7E9360, ());
|
||||
VIRTUAL_CALL(139, int64_t, sub_7E9380, ());
|
||||
VIRTUAL_CALL(140, int64_t, sub_7E9370, ());
|
||||
VIRTUAL_CALL(141, int64_t, sub_7E9300, ());
|
||||
VIRTUAL_CALL(142, int64_t, sub_7E9310, ());
|
||||
VIRTUAL_CALL(143, int64_t, sub_7E93B0, ());
|
||||
VIRTUAL_CALL(144, bool, sub_811980, ());
|
||||
VIRTUAL_CALL(145, uint64_t*, sub_7FE950, (uint64_t* a1), a1);
|
||||
GAME_IMPORT virtual void SetActiveOnLevel(bool);
|
||||
GAME_IMPORT virtual void EnableRendering(bool);
|
||||
GAME_IMPORT virtual void EnableRenderingScene(bool);
|
||||
GAME_IMPORT virtual void EnableRenderingShadows(bool);
|
||||
GAME_IMPORT virtual void EnableRenderingRayTracing(bool);
|
||||
GAME_IMPORT virtual void EnableExtentsRendering(bool);
|
||||
GAME_IMPORT virtual void EnableExtentOnlyRendering(bool);
|
||||
VIRTUAL_CALL(153, static COFlags::TYPE, GetDefaultCOFlags, ());
|
||||
GAME_IMPORT virtual void SetLodCoarseObjectHierarchy(bool);
|
||||
GAME_IMPORT virtual void OnObjectMoved(unsigned char, FOnObjectMovedPropagate::FLAGS);
|
||||
GAME_IMPORT virtual void OnChildMoved(unsigned char);
|
||||
GAME_IMPORT virtual void GetChildren(ttl::vector<CControlObject*, ttl::vector_allocators::heap_allocator<CControlObject*>, 1>&);
|
||||
GAME_IMPORT virtual void AttachChild(CControlObject*, bool);
|
||||
GAME_IMPORT virtual void DetachChild(CControlObject*, bool);
|
||||
GAME_IMPORT virtual void DetachFromParent(bool);
|
||||
protected:
|
||||
GAME_IMPORT virtual void OnNewParent(CControlObject*);
|
||||
public:
|
||||
VIRTUAL_CALL(162, void, _SetPlatform5, ());
|
||||
VIRTUAL_CALL(163, void, _SetPlatform6, ());
|
||||
GAME_IMPORT virtual void PreRenderObject(SPreRender*);
|
||||
GAME_IMPORT virtual void PreRenderShadowMap(SPreRender*);
|
||||
GAME_IMPORT virtual void OnObjectPut();
|
||||
GAME_IMPORT virtual bool Raytrace(vec3 const&, vec3&, SExtCollInfo*);
|
||||
GAME_IMPORT virtual bool Raytest(vec3 const&, vec3 const&, SExtCollInfo const*);
|
||||
GAME_IMPORT virtual void ExtractFaces(extract_faces_params const&, ttl::vector<coll_tri, ttl::vector_allocators::heap_allocator<coll_tri>, 0>*, ttl::vector<coll_primitive, ttl::vector_allocators::heap_allocator<coll_primitive>, 0>*, extract_faces_info*);
|
||||
GAME_IMPORT virtual cbs::CEntity* GetEntity();
|
||||
GAME_IMPORT virtual void SetWorldXformEditor(mtx34 const&);
|
||||
GAME_IMPORT virtual void SetLocalXformEditor(mtx34 const&);
|
||||
GAME_IMPORT virtual void SetWorldPosEditor(vec3 const&);
|
||||
GAME_IMPORT virtual void SetLocalPosEditor(vec3 const&);
|
||||
GAME_IMPORT virtual void SetWorldDirEditor(vec3 const&);
|
||||
GAME_IMPORT virtual mtx34 const& GetLocalXformEditor();
|
||||
GAME_IMPORT virtual mtx34 const& GetWorldXformEditor();
|
||||
GAME_IMPORT virtual void GetInvWorldXformEditor(mtx34&);
|
||||
GAME_IMPORT virtual vec3 const GetWorldPosEditor();
|
||||
GAME_IMPORT virtual vec3 const GetLocalPosEditor();
|
||||
GAME_IMPORT virtual vec3 const GetWorldDirEditor();
|
||||
GAME_IMPORT virtual vec3 const GetLocalScaleEditor();
|
||||
GAME_IMPORT virtual void Physics_Clutch(vec3 const&);
|
||||
GAME_IMPORT virtual void Physics_Unclutch();
|
||||
GAME_IMPORT virtual void Physics_SynchroClutch(vec3 const&);
|
||||
GAME_IMPORT virtual ttl::string_base<char> Physics_GetClutchInfo();
|
||||
GAME_IMPORT virtual void SetCollType(int);
|
||||
GAME_IMPORT virtual extents const& GetExtents();
|
||||
GAME_IMPORT virtual void SetExtents(extents const&);
|
||||
GAME_IMPORT virtual void RecalcExtents();
|
||||
GAME_IMPORT virtual extents const& GetExtentsInWorldEditor();
|
||||
VIRTUAL_CALL(192, void, _SetPlatform7, ());
|
||||
GAME_IMPORT virtual void SetMeshName(ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void LoadMesh(ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void LoadMesh(bool);
|
||||
GAME_IMPORT virtual void ResetBonesToReferenceFrame(uint32_t, uint32_t const*);
|
||||
GAME_IMPORT virtual void ResetBonesToReferenceFrame(bool);
|
||||
GAME_IMPORT virtual void ResetBonesExtentsToReferenceFrame(uint32_t, uint32_t const*);
|
||||
GAME_IMPORT virtual void ResetBonesExtentsToReferenceFrame();
|
||||
GAME_IMPORT virtual void ResetBoneAndDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT virtual void ResetElementsDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT virtual bool IsBipedEditor() const;
|
||||
GAME_IMPORT virtual void AdjustExtentsToAllElements(bool, bool);
|
||||
GAME_IMPORT virtual void AnimUpdate(uint32_t);
|
||||
GAME_IMPORT virtual void AnimUpdate(CMeshElement*);
|
||||
GAME_IMPORT virtual bool AnimInit(char const*, char const*);
|
||||
GAME_IMPORT virtual void AnimShutdown();
|
||||
GAME_IMPORT virtual bool AnimReInit(ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual AnimSeq* AnimSeqDataWrite(TAnimId);
|
||||
GAME_IMPORT virtual AnimSeq* AnimSeqDataWrite(char const*);
|
||||
VIRTUAL_CALL(211, AnimSeq*, _AnimSeqDataWrite1, (TAnimId a1), a1);
|
||||
VIRTUAL_CALL(212, AnimSeq*, _AnimSeqDataWrite1, (char const* a1), a1);
|
||||
GAME_IMPORT virtual void AnimGetAnimNames(ttl::map<ttl::string_base<char>, TAnimId, ttl::less<ttl::string_base<char>>, ttl::allocator>&) const;
|
||||
GAME_IMPORT virtual void AnimGetAnimNames(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&) const;
|
||||
GAME_IMPORT virtual void AnimUnregisterUpdate();
|
||||
GAME_IMPORT virtual int FindBoneElement(char const*);
|
||||
GAME_IMPORT virtual int GetMeshElemFromBoneID(EBones::TYPE);
|
||||
GAME_IMPORT virtual void StoreElementsLayout(multielement_model_layout*);
|
||||
GAME_IMPORT virtual bool RestoreElementsLayout(multielement_model_layout const*);
|
||||
GAME_IMPORT virtual void StoreElementsLayoutModelSpace(multielement_model_layout*);
|
||||
GAME_IMPORT virtual bool RestoreElementsLayoutModelSpace(multielement_model_layout const*);
|
||||
GAME_IMPORT virtual void EnableHierarchySerialization(bool);
|
||||
GAME_IMPORT virtual bool IsHierarchySerializationEnabled();
|
||||
GAME_IMPORT virtual void AttachChildToMeshElement(CControlObject*, CHierarchyElement*, bool);
|
||||
GAME_IMPORT virtual extents const& GetExtentsInWorld();
|
||||
GAME_IMPORT virtual void EnableCollisionHullRendering(bool);
|
||||
VIRTUAL_CALL(227, bool, RendersCollisionHull, ());
|
||||
GAME_IMPORT virtual void DebugRenderElementBoxes();
|
||||
GAME_IMPORT virtual aabb const& GetAABBExtents();
|
||||
#pragma endregion
|
||||
};
|
@ -1,120 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CRTTI {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, CRTTI *__fastcall, sub_11D3F0, (char a1), a1);
|
||||
GAME_IMPORT virtual void ReleaseUnusedMemory();
|
||||
GAME_IMPORT virtual void InitializeRttiReplication();
|
||||
VIRTUAL_CALL(3, void __fastcall, SetPlatform, ());
|
||||
VIRTUAL_CALL(4, __int64, RunUnitTests, ());
|
||||
VIRTUAL_CALL(5, __int64, _RunUnitTests1, ());
|
||||
VIRTUAL_CALL(6, __int64, _RunUnitTests2, ());
|
||||
protected:
|
||||
GAME_IMPORT virtual struct CRTTI::SEditorData * CreateEditorData();
|
||||
public:
|
||||
GAME_IMPORT virtual class ttl::string_base<char> ClassWriterCompare(class CRTTI const *, class CRTTI const *, class CRTTI const &) const;
|
||||
GAME_IMPORT bool updateRttiParams();
|
||||
|
||||
GAME_IMPORT CRTTI(class CRTTI const &);
|
||||
GAME_IMPORT CRTTI(class ClassReaderResolve const &);
|
||||
GAME_IMPORT CRTTI(char const *, int, void (*)(class CRTTI *), class CRTTI *, class CRTTI const *, class IScriptManager *, bool, bool, bool, int, enum EMem::TYPE, bool);
|
||||
GAME_IMPORT CRTTI(class ttl::string_const<char>, class CRTTI *, enum EMem::TYPE);
|
||||
GAME_IMPORT class CRTTI & operator=(class CRTTI const &);
|
||||
GAME_IMPORT void AddExternalField(class CRTTIField const *);
|
||||
GAME_IMPORT void AddField(class CRTTIField *);
|
||||
GAME_IMPORT void AddImplementation(class CRTTI const *);
|
||||
GAME_IMPORT void AddInterface(class CRTTI const *);
|
||||
GAME_IMPORT void AddMethod(class CRTTIMethod const *);
|
||||
GAME_IMPORT bool IsClassFlag(enum ERTTIClassFlags) const;
|
||||
GAME_IMPORT bool ArePresetsLoaded() const;
|
||||
GAME_IMPORT static void CheckDuplicated(bool);
|
||||
GAME_IMPORT void ClearClassFlags(enum ERTTIClassFlags);
|
||||
GAME_IMPORT void ClearFieldsList();
|
||||
GAME_IMPORT bool CopyFields(class CRTTIObject *, class CRTTIObject const *, bool) const;
|
||||
GAME_IMPORT void CopyGuiGameDataEventDispatcher(class CRTTI const *);
|
||||
GAME_IMPORT bool CopyPointerFields(class CRTTIObject *, class CRTTIObject const *) const;
|
||||
GAME_IMPORT void CreateGuiGameDataEventDispatcher();
|
||||
GAME_IMPORT void CreateRttiSerialization();
|
||||
GAME_IMPORT struct CRTTI::SEditorData & EditorData();
|
||||
GAME_IMPORT bool ExchangePointerFields(class CRTTIObject *, class CRTTIObject *) const;
|
||||
GAME_IMPORT class CRTTIField const * FindField(char const *) const;
|
||||
GAME_IMPORT class CRTTIField const * FindField(class ttl::string_view_base<char, struct ttl::char_traits<char>>) const;
|
||||
GAME_IMPORT class CRTTIField const * FindField(class ttl::pstring) const;
|
||||
GAME_IMPORT class CRTTIField const * FindField(class ttl::pstring, unsigned short &) const;
|
||||
GAME_IMPORT class CRTTIField const * FindFieldAtOffset(unsigned int) const;
|
||||
GAME_IMPORT class CRTTIField const * FindFieldIncludingAliases(char const *) const;
|
||||
GAME_IMPORT class CRTTIField const * FindFieldIncludingAliases(class ttl::string_view_base<char, struct ttl::char_traits<char>>) const;
|
||||
GAME_IMPORT class CRTTIField const * FindFieldIncludingAliases(class ttl::pstring) const;
|
||||
GAME_IMPORT class cbs::msg::RttiMessageDispatcher const * FindMessageDispatcherForPipe(unsigned __int64) const;
|
||||
GAME_IMPORT class CRTTIMethod const * FindMethod(char const *) const;
|
||||
GAME_IMPORT class CRTTIField const * FindRenamedField(char const *) const;
|
||||
GAME_IMPORT class CRTTIField const * FindRenamedField(class ttl::string_view_base<char, struct ttl::char_traits<char>>) const;
|
||||
GAME_IMPORT class CRTTIField const * FindRenamedField(class ttl::pstring) const;
|
||||
GAME_IMPORT bool FromAbstractClass() const;
|
||||
GAME_IMPORT bool FromClass(class rtti::Type const &) const;
|
||||
GAME_IMPORT bool FromClass(int) const;
|
||||
GAME_IMPORT bool FromClass(class CRTTI const *) const;
|
||||
GAME_IMPORT bool FromClass(class rtti::Type const *) const;
|
||||
GAME_IMPORT bool FromClassByName(char const *) const;
|
||||
GAME_IMPORT bool FromClassOrInterface(int) const;
|
||||
GAME_IMPORT bool FromClassOrInterface(class CRTTI const *) const;
|
||||
GAME_IMPORT bool FromClassOrInterface(class rtti::Type const *) const;
|
||||
GAME_IMPORT bool FromClassOrInterfaceByName(char const *) const;
|
||||
GAME_IMPORT bool FromEngineClass(class rtti::Type const &) const;
|
||||
GAME_IMPORT bool FromEngineClass(int) const;
|
||||
GAME_IMPORT bool FromEngineClass(class CRTTI const *) const;
|
||||
GAME_IMPORT void GetAllFields(class ttl::vector<class CRTTIField const *, class ttl::vector_allocators::heap_allocator<class CRTTIField const *>, 64> &) const;
|
||||
GAME_IMPORT class Net::Repl::CRttiInfo const * ToIRtti() const;
|
||||
GAME_IMPORT class CRTTI const * GetBaseClass(class CRTTI const *) const;
|
||||
GAME_IMPORT char const * GetClassNameA() const;
|
||||
GAME_IMPORT class ttl::string_const<char> GetClassNameWithoutNamespace() const;
|
||||
GAME_IMPORT class gui::CGameDataEventDispatcher * GetGuiGameDataEventDispatcher() const;
|
||||
GAME_IMPORT struct CRTTI::SEditorData const & GetEditorData() const;
|
||||
GAME_IMPORT class CRTTI const * GetProxyComponentClass() const;
|
||||
GAME_IMPORT class cbs::CSystemBase * GetSystem() const;
|
||||
GAME_IMPORT void GetFieldsToEdit(class ttl::list<class CRTTIField const *, class ttl::allocator> &) const;
|
||||
GAME_IMPORT void GetFieldsToEditUnsorted(class ttl::list<class CRTTIField const *, class ttl::allocator> &) const;
|
||||
GAME_IMPORT class CRTTI const * GetNativeClass() const;
|
||||
GAME_IMPORT class Net::Repl::Rtti::Serializer const * RttiSerializer() const;
|
||||
GAME_IMPORT enum EMem::TYPE GetMemCategory() const;
|
||||
GAME_IMPORT class cbs::msg::RttiMessageDispatcher * GetMessageDispatcherForPipe(unsigned __int64);
|
||||
GAME_IMPORT class CRTTIDebugVis const & GetVis() const;
|
||||
GAME_IMPORT bool HasVis() const;
|
||||
GAME_IMPORT void HideField(char const *);
|
||||
GAME_IMPORT bool Initialize();
|
||||
GAME_IMPORT void InitializeRttiSerialization();
|
||||
GAME_IMPORT bool IsAbstract() const;
|
||||
GAME_IMPORT bool IsExactClass(class rtti::Type const *) const;
|
||||
GAME_IMPORT bool IsExactClass(int) const;
|
||||
GAME_IMPORT bool IsExactClass(class CRTTI const *) const;
|
||||
GAME_IMPORT bool IsFieldHidden(class CRTTIField const *) const;
|
||||
GAME_IMPORT bool IsImplementingInterface(int) const;
|
||||
GAME_IMPORT bool IsImplementingInterface(class CRTTI const *) const;
|
||||
GAME_IMPORT bool IsObsolete() const;
|
||||
GAME_IMPORT bool IsReplicated() const;
|
||||
GAME_IMPORT bool IsReplicationPossible() const;
|
||||
GAME_IMPORT bool IsSetFieldForcedToSave(class CRTTIField const &) const;
|
||||
GAME_IMPORT void OverrideField(char const *);
|
||||
GAME_IMPORT bool ParseInfoString(char const *);
|
||||
GAME_IMPORT void PreInitializeRttiSerialization();
|
||||
private:
|
||||
GAME_IMPORT void PrepareReplicatedFields();
|
||||
public:
|
||||
GAME_IMPORT void ReResolveMyAndBaseFields();
|
||||
GAME_IMPORT void RemoveField(class CRTTIField const *);
|
||||
GAME_IMPORT bool RequiresMatrixChangedNotifications() const;
|
||||
GAME_IMPORT void ResolveGuiGameDataEventDispatchers();
|
||||
GAME_IMPORT void ResolveHiddenFields() const;
|
||||
GAME_IMPORT void ResolveMyAndBaseFields();
|
||||
GAME_IMPORT void ResolvePStorageAndSaveGameFields();
|
||||
GAME_IMPORT void SetClassFlags(enum ERTTIClassFlags);
|
||||
GAME_IMPORT void SetPrefabName(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void SetForcedToSaveField(class CRTTIField const &, bool);
|
||||
GAME_IMPORT void SetPresetsLoaded(bool) const;
|
||||
GAME_IMPORT void SetSystem(class cbs::CSystemBase *);
|
||||
GAME_IMPORT void Shutdown();
|
||||
GAME_IMPORT void UnhideField(char const *);
|
||||
#pragma endregion
|
||||
};
|
@ -1,120 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CRTTI {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, CRTTI*, sub_11D3F0, (char a1), a1);
|
||||
GAME_IMPORT virtual void ReleaseUnusedMemory();
|
||||
GAME_IMPORT virtual void InitializeRttiReplication();
|
||||
VIRTUAL_CALL(3, void, SetPlatform, ());
|
||||
VIRTUAL_CALL(4, int64_t, RunUnitTests, ());
|
||||
VIRTUAL_CALL(5, int64_t, _RunUnitTests1, ());
|
||||
VIRTUAL_CALL(6, int64_t, _RunUnitTests2, ());
|
||||
protected:
|
||||
GAME_IMPORT virtual CRTTI::SEditorData* CreateEditorData();
|
||||
public:
|
||||
GAME_IMPORT virtual ttl::string_base<char> ClassWriterCompare(CRTTI const*, CRTTI const*, CRTTI const&) const;
|
||||
GAME_IMPORT bool updateRttiParams();
|
||||
|
||||
GAME_IMPORT CRTTI(CRTTI const&);
|
||||
GAME_IMPORT CRTTI(ClassReaderResolve const&);
|
||||
GAME_IMPORT CRTTI(char const*, int, void (* )( CRTTI* ), CRTTI*, CRTTI const*, IScriptManager*, bool, bool, bool, int, EMem::TYPE, bool);
|
||||
GAME_IMPORT CRTTI(ttl::string_const<char>, CRTTI*, EMem::TYPE);
|
||||
GAME_IMPORT CRTTI& operator=(CRTTI const&);
|
||||
GAME_IMPORT void AddExternalField(CRTTIField const*);
|
||||
GAME_IMPORT void AddField(CRTTIField*);
|
||||
GAME_IMPORT void AddImplementation(CRTTI const*);
|
||||
GAME_IMPORT void AddInterface(CRTTI const*);
|
||||
GAME_IMPORT void AddMethod(CRTTIMethod const*);
|
||||
GAME_IMPORT bool IsClassFlag(ERTTIClassFlags) const;
|
||||
GAME_IMPORT bool ArePresetsLoaded() const;
|
||||
GAME_IMPORT static void CheckDuplicated(bool);
|
||||
GAME_IMPORT void ClearClassFlags(ERTTIClassFlags);
|
||||
GAME_IMPORT void ClearFieldsList();
|
||||
GAME_IMPORT bool CopyFields(CRTTIObject*, CRTTIObject const*, bool) const;
|
||||
GAME_IMPORT void CopyGuiGameDataEventDispatcher(CRTTI const*);
|
||||
GAME_IMPORT bool CopyPointerFields(CRTTIObject*, CRTTIObject const*) const;
|
||||
GAME_IMPORT void CreateGuiGameDataEventDispatcher();
|
||||
GAME_IMPORT void CreateRttiSerialization();
|
||||
GAME_IMPORT CRTTI::SEditorData& EditorData();
|
||||
GAME_IMPORT bool ExchangePointerFields(CRTTIObject*, CRTTIObject*) const;
|
||||
GAME_IMPORT CRTTIField const* FindField(char const*) const;
|
||||
GAME_IMPORT CRTTIField const* FindField(ttl::string_view_base<char, ttl::char_traits<char>>) const;
|
||||
GAME_IMPORT CRTTIField const* FindField(ttl::pstring) const;
|
||||
GAME_IMPORT CRTTIField const* FindField(ttl::pstring, unsigned short&) const;
|
||||
GAME_IMPORT CRTTIField const* FindFieldAtOffset(uint32_t) const;
|
||||
GAME_IMPORT CRTTIField const* FindFieldIncludingAliases(char const*) const;
|
||||
GAME_IMPORT CRTTIField const* FindFieldIncludingAliases(ttl::string_view_base<char, ttl::char_traits<char>>) const;
|
||||
GAME_IMPORT CRTTIField const* FindFieldIncludingAliases(ttl::pstring) const;
|
||||
GAME_IMPORT cbs::msg::RttiMessageDispatcher const* FindMessageDispatcherForPipe(uint32_t64_t) const;
|
||||
GAME_IMPORT CRTTIMethod const* FindMethod(char const*) const;
|
||||
GAME_IMPORT CRTTIField const* FindRenamedField(char const*) const;
|
||||
GAME_IMPORT CRTTIField const* FindRenamedField(ttl::string_view_base<char, ttl::char_traits<char>>) const;
|
||||
GAME_IMPORT CRTTIField const* FindRenamedField(ttl::pstring) const;
|
||||
GAME_IMPORT bool FromAbstractClass() const;
|
||||
GAME_IMPORT bool FromClass(rtti::Type const&) const;
|
||||
GAME_IMPORT bool FromClass(int) const;
|
||||
GAME_IMPORT bool FromClass(CRTTI const*) const;
|
||||
GAME_IMPORT bool FromClass(rtti::Type const*) const;
|
||||
GAME_IMPORT bool FromClassByName(char const*) const;
|
||||
GAME_IMPORT bool FromClassOrInterface(int) const;
|
||||
GAME_IMPORT bool FromClassOrInterface(CRTTI const*) const;
|
||||
GAME_IMPORT bool FromClassOrInterface(rtti::Type const*) const;
|
||||
GAME_IMPORT bool FromClassOrInterfaceByName(char const*) const;
|
||||
GAME_IMPORT bool FromEngineClass(rtti::Type const&) const;
|
||||
GAME_IMPORT bool FromEngineClass(int) const;
|
||||
GAME_IMPORT bool FromEngineClass(CRTTI const*) const;
|
||||
GAME_IMPORT void GetAllFields(ttl::vector<CRTTIField const*, ttl::vector_allocators::heap_allocator<CRTTIField const*>, 64>&) const;
|
||||
GAME_IMPORT Net::Repl::CRttiInfo const* ToIRtti() const;
|
||||
GAME_IMPORT CRTTI const* GetBaseClass(CRTTI const*) const;
|
||||
GAME_IMPORT char const* GetClassNameA() const;
|
||||
GAME_IMPORT ttl::string_const<char> GetClassNameWithoutNamespace() const;
|
||||
GAME_IMPORT gui::CGameDataEventDispatcher* GetGuiGameDataEventDispatcher() const;
|
||||
GAME_IMPORT CRTTI::SEditorData const& GetEditorData() const;
|
||||
GAME_IMPORT CRTTI const* GetProxyComponentClass() const;
|
||||
GAME_IMPORT cbs::CSystemBase* GetSystem() const;
|
||||
GAME_IMPORT void GetFieldsToEdit(ttl::list<CRTTIField const*, ttl::allocator>&) const;
|
||||
GAME_IMPORT void GetFieldsToEditUnsorted(ttl::list<CRTTIField const*, ttl::allocator>&) const;
|
||||
GAME_IMPORT CRTTI const* GetNativeClass() const;
|
||||
GAME_IMPORT Net::Repl::Rtti::Serializer const* RttiSerializer() const;
|
||||
GAME_IMPORT EMem::TYPE GetMemCategory() const;
|
||||
GAME_IMPORT cbs::msg::RttiMessageDispatcher* GetMessageDispatcherForPipe(uint32_t64_t);
|
||||
GAME_IMPORT CRTTIDebugVis const& GetVis() const;
|
||||
GAME_IMPORT bool HasVis() const;
|
||||
GAME_IMPORT void HideField(char const*);
|
||||
GAME_IMPORT bool Initialize();
|
||||
GAME_IMPORT void InitializeRttiSerialization();
|
||||
GAME_IMPORT bool IsAbstract() const;
|
||||
GAME_IMPORT bool IsExactClass(rtti::Type const*) const;
|
||||
GAME_IMPORT bool IsExactClass(int) const;
|
||||
GAME_IMPORT bool IsExactClass(CRTTI const*) const;
|
||||
GAME_IMPORT bool IsFieldHidden(CRTTIField const*) const;
|
||||
GAME_IMPORT bool IsImplementingInterface(int) const;
|
||||
GAME_IMPORT bool IsImplementingInterface(CRTTI const*) const;
|
||||
GAME_IMPORT bool IsObsolete() const;
|
||||
GAME_IMPORT bool IsReplicated() const;
|
||||
GAME_IMPORT bool IsReplicationPossible() const;
|
||||
GAME_IMPORT bool IsSetFieldForcedToSave(CRTTIField const&) const;
|
||||
GAME_IMPORT void OverrideField(char const*);
|
||||
GAME_IMPORT bool ParseInfoString(char const*);
|
||||
GAME_IMPORT void PreInitializeRttiSerialization();
|
||||
private:
|
||||
GAME_IMPORT void PrepareReplicatedFields();
|
||||
public:
|
||||
GAME_IMPORT void ReResolveMyAndBaseFields();
|
||||
GAME_IMPORT void RemoveField(CRTTIField const*);
|
||||
GAME_IMPORT bool RequiresMatrixChangedNotifications() const;
|
||||
GAME_IMPORT void ResolveGuiGameDataEventDispatchers();
|
||||
GAME_IMPORT void ResolveHiddenFields() const;
|
||||
GAME_IMPORT void ResolveMyAndBaseFields();
|
||||
GAME_IMPORT void ResolvePStorageAndSaveGameFields();
|
||||
GAME_IMPORT void SetClassFlags(ERTTIClassFlags);
|
||||
GAME_IMPORT void SetPrefabName(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void SetForcedToSaveField(CRTTIField const&, bool);
|
||||
GAME_IMPORT void SetPresetsLoaded(bool) const;
|
||||
GAME_IMPORT void SetSystem(cbs::CSystemBase*);
|
||||
GAME_IMPORT void Shutdown();
|
||||
GAME_IMPORT void UnhideField(char const*);
|
||||
#pragma endregion
|
||||
};
|
@ -1,257 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class IModelObject {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, _QWORD *__fastcall, sub_1203B0, (char a1), a1);
|
||||
GAME_IMPORT virtual class IAnimBind const * GetAnimBind() const;
|
||||
VIRTUAL_CALL(2, class IAnimBind const *, _GetAnimBind1, ());
|
||||
GAME_IMPORT virtual class vec3 VectorLocalToWorld(int, class vec3 const &) const;
|
||||
GAME_IMPORT virtual class ttl::string_base<char> GetAnimationFile(class ttl::string_base<char> const &) const;
|
||||
GAME_IMPORT virtual struct TAnimId GetAnimationId(class ttl::string_const<char>, bool) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(struct TAnimId) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(class ttl::string_base<char> const &) const;
|
||||
VIRTUAL_CALL(8, float, odb_GetLoadTime, (struct RLROD_Batch *), *);
|
||||
GAME_IMPORT virtual class mtx34 const & GetWorldXform() const;
|
||||
GAME_IMPORT virtual int GetElementIndex(char const *) const;
|
||||
GAME_IMPORT virtual class ttl::string_base<char> GetElementName(int) const;
|
||||
GAME_IMPORT virtual int GetElementsNumber() const;
|
||||
GAME_IMPORT virtual unsigned int GetElementFlags(int) const;
|
||||
GAME_IMPORT virtual class mtx34 GetElementWorldMtx(int) const;
|
||||
GAME_IMPORT virtual class vec3 GetElementWorldPos(int) const;
|
||||
GAME_IMPORT virtual int GetMeshElemFromBoneID(enum EBones::TYPE) const;
|
||||
GAME_IMPORT virtual class extents GetElementExtentsInWorld(int) const;
|
||||
VIRTUAL_CALL(18, void __fastcall, SetPlatform, ());
|
||||
GAME_IMPORT virtual void ExecuteAnimActions(int, int, struct TAnimId, void const *, unsigned int);
|
||||
GAME_IMPORT virtual void StopAnimActions(int, struct TAnimId, void const *, float);
|
||||
VIRTUAL_CALL(21, __int64, RunUnitTests, ());
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetEngineObject(class CGSObject *);
|
||||
public:
|
||||
virtual void _StrippedVFunc1() = 0;
|
||||
virtual void _StrippedVFunc2() = 0;
|
||||
virtual void _StrippedVFunc3() = 0;
|
||||
virtual void _StrippedVFunc4() = 0;
|
||||
virtual void _StrippedVFunc5() = 0;
|
||||
virtual void _StrippedVFunc6() = 0;
|
||||
virtual void _StrippedVFunc7() = 0;
|
||||
virtual void _StrippedVFunc8() = 0;
|
||||
virtual void _StrippedVFunc9() = 0;
|
||||
virtual void _StrippedVFunc10() = 0;
|
||||
GAME_IMPORT virtual int GetChildrenElementsNumber(int) const;
|
||||
GAME_IMPORT virtual int GetElementParent(int) const;
|
||||
GAME_IMPORT virtual int GetElementChild(int) const;
|
||||
GAME_IMPORT virtual int GetElementNext(int) const;
|
||||
GAME_IMPORT virtual void SetMeshName(class ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void SetInitializeMesh(bool);
|
||||
GAME_IMPORT virtual class ttl::string_const<char> GetMeshName() const;
|
||||
virtual void _StrippedVFunc11() = 0;
|
||||
GAME_IMPORT virtual void SetSkinName(class ttl::string_const<char>);
|
||||
virtual void _StrippedVFunc12() = 0;
|
||||
GAME_IMPORT virtual void GetSkinName(unsigned int, class ttl::string_base<char> &) const;
|
||||
GAME_IMPORT virtual class ttl::string_const<char> GetSkinName() const;
|
||||
GAME_IMPORT virtual void SetSkinSeed(int);
|
||||
GAME_IMPORT virtual int GetSkinSeed() const;
|
||||
GAME_IMPORT virtual __int64 GetSkinMustHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustHaveTags(__int64);
|
||||
GAME_IMPORT virtual __int64 GetSkinMustNotHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustNotHaveTags(__int64);
|
||||
GAME_IMPORT virtual unsigned int GetSkinCount() const;
|
||||
GAME_IMPORT virtual void SetCharacterNames(class ttl::string_base<char> const &, class ttl::string_base<char> const &);
|
||||
GAME_IMPORT virtual bool CharacterPresetExists(class ttl::string_base<char> const &) const;
|
||||
GAME_IMPORT virtual void GetCharacterNames(class ttl::string_base<char> &, class ttl::string_base<char> &);
|
||||
GAME_IMPORT virtual class ttl::string_base<char> GetCharacterName(unsigned int) const;
|
||||
GAME_IMPORT virtual void SetMeshColor(struct uint4 const &);
|
||||
GAME_IMPORT virtual void SetMeshColor(unsigned int, class vec4 const &);
|
||||
GAME_IMPORT virtual struct uint4 const & GetMeshColor() const;
|
||||
GAME_IMPORT virtual class vec4 const & GetMeshColor(unsigned int) const;
|
||||
GAME_IMPORT virtual void SetMeshAttribute(unsigned int, class vec4 const &);
|
||||
GAME_IMPORT virtual void SetMeshAttributeMtx(unsigned int, class mtx34 const &);
|
||||
GAME_IMPORT virtual class vec4 const & GetMeshAttribute(unsigned int) const;
|
||||
GAME_IMPORT virtual class mtx34 const & GetMeshAttributeMtx(unsigned int) const;
|
||||
GAME_IMPORT virtual unsigned int GetMeshAttributesCount() const;
|
||||
GAME_IMPORT virtual class extents GetElementReferenceExtents(int) const;
|
||||
GAME_IMPORT virtual class extents GetElementExtentsLocal(int) const;
|
||||
GAME_IMPORT virtual void SetElementExtentsLocal(class extents const &, int);
|
||||
GAME_IMPORT virtual int GetElementID(unsigned int) const;
|
||||
GAME_IMPORT virtual int GetElementIDByLowercaseName(char const *) const;
|
||||
VIRTUAL_CALL(70, int, _GetElementIndex1, (char const* a1), a1);
|
||||
GAME_IMPORT virtual char const * GetElementNameCStr(int) const;
|
||||
GAME_IMPORT virtual bool IsBiped() const;
|
||||
GAME_IMPORT virtual bool IsRenderable() const;
|
||||
GAME_IMPORT virtual void SetElementWorldPos(int, class vec3 const &);
|
||||
GAME_IMPORT virtual class vec3 GetElementLocalPos(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalPos(int, class vec3 const &);
|
||||
virtual void _StrippedVFunc13() = 0;
|
||||
virtual void _StrippedVFunc14() = 0;
|
||||
GAME_IMPORT virtual class mtx34 const & GetElementLocalMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalMatrix(int, class mtx34 const &);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrixNoPropagate(int, class mtx34 const &);
|
||||
GAME_IMPORT virtual void GetElementLocalMatrices(int const *, unsigned int, class mtx34 *);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrices(int const *, unsigned int, class mtx34 const *);
|
||||
GAME_IMPORT virtual class mtx34 const & GetElementWorldMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementWorldMatrix(int, class mtx34 const &);
|
||||
GAME_IMPORT virtual void SetElementWorldMatrixNoPropagate(int, class mtx34 const &);
|
||||
GAME_IMPORT virtual void GetElementInvWorldMatrix(int, class mtx34 &) const;
|
||||
virtual void _StrippedVFunc15() = 0;
|
||||
GAME_IMPORT virtual void RotateElement(int, class vec3 const &, float);
|
||||
GAME_IMPORT virtual void ElementSetWorldMatrixFromQuatPos(int, class vec3 const &, float, class vec3 const &);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementLocal(int, class vec3 const &, class vec3 const &, class vec3 const &);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementWorld(int, class vec3 const &, class vec3 const &, class vec3 const &);
|
||||
GAME_IMPORT virtual void SetPivotPointFromElement(int);
|
||||
GAME_IMPORT virtual float GetAnimTimeDelta() const;
|
||||
GAME_IMPORT virtual float GetLastAnimUpdateTime() const;
|
||||
GAME_IMPORT virtual float GetLastAnimApplyTime() const;
|
||||
GAME_IMPORT virtual bool InitAnimSeqFile(class ttl::string_base<char> const &);
|
||||
VIRTUAL_CALL(98, void __fastcall, _SetPlatform1, ());
|
||||
GAME_IMPORT virtual class vec3 GetBoneDirVector(enum EBones::TYPE) const;
|
||||
GAME_IMPORT virtual class vec3 GetBonePerpVector(enum EBones::TYPE) const;
|
||||
GAME_IMPORT virtual class vec3 GetBoneJointPos(enum EBones::TYPE) const;
|
||||
GAME_IMPORT virtual enum EBones::TYPE GetBoneIDFromMeshElem(int) const;
|
||||
GAME_IMPORT virtual void AttachChildToMeshElement(class IControlObject *, int, bool);
|
||||
GAME_IMPORT virtual class CHierarchyElement * GetHElement(int) const;
|
||||
GAME_IMPORT virtual void EnableRendering(bool);
|
||||
GAME_IMPORT virtual void DebugRenderElementBoxes();
|
||||
GAME_IMPORT virtual void ForceUpdateAnimations();
|
||||
GAME_IMPORT virtual unsigned int AttachAudioEvent(int, class ttl::string_base<char> const &, struct Audio::SAudioEventExtraData const *, class vec3 const &);
|
||||
GAME_IMPORT virtual unsigned int PlayAudioEvent(unsigned int, struct Audio::SAudioEventExtraDataID const *, class vec3 const &, class vec3 const &);
|
||||
GAME_IMPORT virtual unsigned int PlayAudioEvent(class ttl::string_base<char> const &, struct Audio::SAudioEventExtraData const *, class vec3 const &, class vec3 const &);
|
||||
GAME_IMPORT virtual void SetAudioEventSwitch(unsigned int, class ttl::string_base<char> const &, class ttl::string_base<char> const &);
|
||||
GAME_IMPORT virtual class vec3 PointLocalToWorld(int, class vec3 const &);
|
||||
GAME_IMPORT virtual class vec3 PointWorldToLocal(int, class vec3 const &);
|
||||
GAME_IMPORT virtual class vec3 VectorWorldToLocal(int, class vec3 const &);
|
||||
GAME_IMPORT virtual void HideElementsByMask(bool, class ttl::string_base<char> const &);
|
||||
GAME_IMPORT virtual bool HideElement(int);
|
||||
GAME_IMPORT virtual bool UnhideElement(int);
|
||||
GAME_IMPORT virtual bool IsElementHidden(int) const;
|
||||
virtual void _StrippedVFunc16() = 0;
|
||||
virtual void _StrippedVFunc17() = 0;
|
||||
virtual void _StrippedVFunc18() = 0;
|
||||
virtual void _StrippedVFunc19() = 0;
|
||||
virtual void _StrippedVFunc20() = 0;
|
||||
virtual void _StrippedVFunc21() = 0;
|
||||
virtual void _StrippedVFunc22() = 0;
|
||||
virtual void _StrippedVFunc23() = 0;
|
||||
virtual void _StrippedVFunc24() = 0;
|
||||
virtual void _StrippedVFunc25() = 0;
|
||||
virtual void _StrippedVFunc26() = 0;
|
||||
GAME_IMPORT virtual void UnlockAnimationUpdateAbility(bool &, class ttl::vector<bool, class ttl::vector_allocators::heap_allocator<bool>, 8> &);
|
||||
GAME_IMPORT virtual void RestoreAnimationUpdateAbility(bool const &, class ttl::vector<bool, class ttl::vector_allocators::heap_allocator<bool>, 8> const &);
|
||||
GAME_IMPORT virtual bool EnableCollisionsElement(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementCollsionsEnabled(int);
|
||||
GAME_IMPORT virtual bool AreSkinsAllowedToModifyElementFlags(int) const;
|
||||
GAME_IMPORT virtual void AllowSkinsToModifyElementFlags(int, bool);
|
||||
GAME_IMPORT virtual bool EnableElementTraceColl(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementTraceCollEnabled(int);
|
||||
GAME_IMPORT virtual bool IsElementABone(int);
|
||||
GAME_IMPORT virtual void SetupMeshPartClothSet(bool, bool, class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> *);
|
||||
VIRTUAL_CALL(140, void __fastcall, _SetPlatform2, ());
|
||||
virtual void _StrippedVFunc27() = 0;
|
||||
VIRTUAL_CALL(142, float, _odb_GetLoadTime1, (struct RLROD_Batch* a1), a1);
|
||||
GAME_IMPORT virtual void DissolveObjectProgress(float, bool);
|
||||
GAME_IMPORT virtual void GatherMeshAndSkinName(class ttl::string_base<char> &, class ttl::string_base<char> &) const;
|
||||
GAME_IMPORT virtual void EnableMotionBlur(bool);
|
||||
VIRTUAL_CALL(146, void __fastcall, _SetPlatform3, ());
|
||||
GAME_IMPORT virtual bool GetMeshDataForSimpleObjectsEditor(class ttl::string_base<char> *, class ttl::string_base<char> *, __int64 *, __int64 *, int *);
|
||||
VIRTUAL_CALL(148, __int64, _RunUnitTests1, ());
|
||||
VIRTUAL_CALL(149, class ttl::list<struct SCommandParam, class ttl::allocator>::const_reverse_iterator, rend, ());
|
||||
|
||||
GAME_IMPORT void EnableRenderingScene(bool);
|
||||
GAME_IMPORT IModelObject(class IModelObject const &);
|
||||
GAME_IMPORT float GetMeshVisibilityRange();
|
||||
GAME_IMPORT bool SkinExists(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT int GetCurrentLOD() const;
|
||||
GAME_IMPORT void SetExtentsLocal(class extents const &);
|
||||
GAME_IMPORT unsigned int GetMeshElementsMatricesCount() const;
|
||||
GAME_IMPORT char GetForcedAnimLod() const;
|
||||
GAME_IMPORT unsigned int GetNumCollisionHullPrimitives() const;
|
||||
GAME_IMPORT void MoveElementBoxSides(int, float, float, float, float, float, float);
|
||||
GAME_IMPORT bool SetSkinNoCharacterPreset();
|
||||
GAME_IMPORT void SetBestGeomLods();
|
||||
GAME_IMPORT bool IsElementPhysicsEnabled(int);
|
||||
GAME_IMPORT bool IsDefaultMeshLoaded();
|
||||
GAME_IMPORT void SetLodDissolveStep(float);
|
||||
GAME_IMPORT static class IModelObject const * GetModelObject(class IGSObject const *);
|
||||
GAME_IMPORT union LodDissolves::SState GetCurrentLodState() const;
|
||||
GAME_IMPORT static class IModelObject * GetModelObject(class cbs::CEntity const *);
|
||||
GAME_IMPORT int GetMeshElementsStateSize(class ttl::vector<int, class ttl::vector_allocators::heap_allocator<int>, 2> const &) const;
|
||||
GAME_IMPORT bool EnableElementPhysics(int, bool, bool);
|
||||
private:
|
||||
GAME_IMPORT bool IsElementIDValid(int) const;
|
||||
public:
|
||||
GAME_IMPORT void MeshUseDefaultVisibilityParameters();
|
||||
GAME_IMPORT void ShowElementBoxesFrom(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void ResetBonesExtentsToReferenceFrame();
|
||||
GAME_IMPORT void EnableHierarchySerialization(bool);
|
||||
GAME_IMPORT void ShowElementBoxesFromTo(class ttl::string_base<char> const &, class ttl::string_base<char> const &);
|
||||
GAME_IMPORT bool RaytestMe(class vec3 const &, class vec3 &, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT static void CollectMeshSkins(class ttl::string_base<char> const &, bool, class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &);
|
||||
GAME_IMPORT void GetMeshElementsMatrices(class ttl::vector<class mtx34, class ttl::vector_allocators::heap_allocator<class mtx34>, 0> &) const;
|
||||
GAME_IMPORT bool AnimReInit(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void SetLodStateForSpawnedObjects(union LodDissolves::SState);
|
||||
GAME_IMPORT unsigned int GetNumSurfaceParams() const;
|
||||
GAME_IMPORT void EnableUpdateExtents(bool);
|
||||
GAME_IMPORT void ShowElementBox(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void ShowElementBoxesTo(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void LoadMesh(bool);
|
||||
GAME_IMPORT static enum COFlags::TYPE GetDefaultCOFlags();
|
||||
GAME_IMPORT void LoadMeshElements(class ISGChunk *);
|
||||
GAME_IMPORT static __int64 GetSkinTagsFromStr(char const *);
|
||||
GAME_IMPORT void ShowExtents(bool);
|
||||
GAME_IMPORT char const * MT_GetName(unsigned int);
|
||||
GAME_IMPORT void SetMeshLodDistance(int, float);
|
||||
GAME_IMPORT bool ReplaceMaterial(class ttl::string_base<char> const &, class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void SetTraceCollType(int);
|
||||
GAME_IMPORT void DumpAnims();
|
||||
GAME_IMPORT unsigned int GetNumCollisionHullFaces() const;
|
||||
GAME_IMPORT unsigned int GetNumTraceHullPrimitives() const;
|
||||
GAME_IMPORT void EnableRenderingRayTracing(bool);
|
||||
GAME_IMPORT static bool MeshExist(class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void AdjustExtentsToAllElements(bool, bool);
|
||||
GAME_IMPORT void SetMeshCullSizeEnable(bool);
|
||||
GAME_IMPORT float GetLodDissolveStep() const;
|
||||
GAME_IMPORT int GetTraceCollType() const;
|
||||
GAME_IMPORT float GetMeshLodDistance(int) const;
|
||||
GAME_IMPORT void SetDontApplyAnim(bool);
|
||||
GAME_IMPORT int SetMeshElementsState(class ttl::vector<unsigned char, class ttl::vector_allocators::heap_allocator<unsigned char>, 8> const &, class ttl::vector<int, class ttl::vector_allocators::heap_allocator<int>, 2> const &, bool, bool);
|
||||
GAME_IMPORT struct SSurfParams * GetSurfaceParams() const;
|
||||
GAME_IMPORT bool IsObjectDissolved() const;
|
||||
GAME_IMPORT void CollectUsedTextures(class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &);
|
||||
GAME_IMPORT void SetMeshVisibilityRange(float);
|
||||
GAME_IMPORT unsigned int GetNumCollisionHullVertices() const;
|
||||
GAME_IMPORT void SetForcedAnimLod(char);
|
||||
GAME_IMPORT class aabb const & GetAABBExtents() const;
|
||||
GAME_IMPORT class Anim::IPoseElement const * AnimGetMeshPoseElement() const;
|
||||
GAME_IMPORT int MT_GetCount();
|
||||
GAME_IMPORT void EnableRenderingShadows(bool);
|
||||
GAME_IMPORT bool SetSkin();
|
||||
GAME_IMPORT unsigned int GetNumTraceHullFaces() const;
|
||||
GAME_IMPORT void ResetElementsDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT void MoveElementBoxSides(int, class vec3 const &, class vec3 const &);
|
||||
GAME_IMPORT void GetAnimationNames(class ttl::map<class ttl::string_base<char>, struct TAnimId, struct ttl::less<class ttl::string_base<char>>, class ttl::allocator> &);
|
||||
GAME_IMPORT void ShowCollisionHull(bool);
|
||||
GAME_IMPORT void SaveMeshElements(class ISGChunk *);
|
||||
GAME_IMPORT class Anim::IPoseElement const * AnimGetModelObjectMorphPoseElement() const;
|
||||
GAME_IMPORT int GetMeshElementsState(class ttl::vector<unsigned char, class ttl::vector_allocators::heap_allocator<unsigned char>, 8> &, class ttl::vector<int, class ttl::vector_allocators::heap_allocator<int>, 2> const &) const;
|
||||
GAME_IMPORT void CopyElementsPosition(class IModelObject *);
|
||||
GAME_IMPORT class ttl::string_const<char> GetSkin() const;
|
||||
GAME_IMPORT void ResetBoneAndDescendantsToReferenceFrame(int);
|
||||
protected:
|
||||
GAME_IMPORT IModelObject();
|
||||
public:
|
||||
GAME_IMPORT void ShowElementBoxes(bool);
|
||||
GAME_IMPORT bool SetMeshElementsMatrices(class ttl::vector<class mtx34, class ttl::vector_allocators::heap_allocator<class mtx34>, 0> const &);
|
||||
GAME_IMPORT void MoveElementBoxSide(int, int, float);
|
||||
GAME_IMPORT unsigned int GetNumTraceHullVertices() const;
|
||||
GAME_IMPORT float MT_WeightGet(unsigned int);
|
||||
GAME_IMPORT static class IModelObject * GetModelObject(class IGSObject *);
|
||||
GAME_IMPORT class Anim::IPoseElement const * AnimGetModelObjectPoseElement() const;
|
||||
GAME_IMPORT struct SMeshVisibilityParams const * GetMeshVisibilityParams() const;
|
||||
GAME_IMPORT bool ShouldApplyAnim() const;
|
||||
GAME_IMPORT bool RaytraceMe(struct SCollision *, class vec3 const &, class vec3 &, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT bool GetValidSkinsEditor(class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &, class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &) const;
|
||||
GAME_IMPORT static bool MeshAndSkinExists(class ttl::string_base<char> const &, class ttl::string_base<char> const &);
|
||||
GAME_IMPORT void ResetBonesToReferenceFrame(bool);
|
||||
#pragma endregion
|
||||
};
|
@ -1,257 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class IModelObject {
|
||||
#pragma region GENERATED by ExportClassToCPPH.py
|
||||
public:
|
||||
VIRTUAL_CALL(0, uint64_t*, sub_1203B0, (char a1), a1);
|
||||
GAME_IMPORT virtual IAnimBind const* GetAnimBind() const;
|
||||
VIRTUAL_CALL(2, IAnimBind const*, _GetAnimBind1, ());
|
||||
GAME_IMPORT virtual vec3 VectorLocalToWorld(int, vec3 const&) const;
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetAnimationFile(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT virtual TAnimId GetAnimationId(ttl::string_const<char>, bool) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(TAnimId) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(ttl::string_base<char> const&) const;
|
||||
VIRTUAL_CALL(8, float, odb_GetLoadTime, (RLROD_Batch*), RLROD_Batch*);
|
||||
GAME_IMPORT virtual mtx34 const& GetWorldXform() const;
|
||||
GAME_IMPORT virtual int GetElementIndex(char const*) const;
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetElementName(int) const;
|
||||
GAME_IMPORT virtual int GetElementsNumber() const;
|
||||
GAME_IMPORT virtual uint32_t GetElementFlags(int) const;
|
||||
GAME_IMPORT virtual mtx34 GetElementWorldMtx(int) const;
|
||||
GAME_IMPORT virtual vec3 GetElementWorldPos(int) const;
|
||||
GAME_IMPORT virtual int GetMeshElemFromBoneID(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual extents GetElementExtentsInWorld(int) const;
|
||||
VIRTUAL_CALL(18, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual void ExecuteAnimActions(int, int, TAnimId, void const*, uint32_t);
|
||||
GAME_IMPORT virtual void StopAnimActions(int, TAnimId, void const*, float);
|
||||
VIRTUAL_CALL(21, int64_t, RunUnitTests, ());
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetEngineObject(CGSObject*);
|
||||
public:
|
||||
virtual void _StrippedVFunc1() = 0;
|
||||
virtual void _StrippedVFunc2() = 0;
|
||||
virtual void _StrippedVFunc3() = 0;
|
||||
virtual void _StrippedVFunc4() = 0;
|
||||
virtual void _StrippedVFunc5() = 0;
|
||||
virtual void _StrippedVFunc6() = 0;
|
||||
virtual void _StrippedVFunc7() = 0;
|
||||
virtual void _StrippedVFunc8() = 0;
|
||||
virtual void _StrippedVFunc9() = 0;
|
||||
virtual void _StrippedVFunc10() = 0;
|
||||
GAME_IMPORT virtual int GetChildrenElementsNumber(int) const;
|
||||
GAME_IMPORT virtual int GetElementParent(int) const;
|
||||
GAME_IMPORT virtual int GetElementChild(int) const;
|
||||
GAME_IMPORT virtual int GetElementNext(int) const;
|
||||
GAME_IMPORT virtual void SetMeshName(ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void SetInitializeMesh(bool);
|
||||
GAME_IMPORT virtual ttl::string_const<char> GetMeshName() const;
|
||||
virtual void _StrippedVFunc11() = 0;
|
||||
GAME_IMPORT virtual void SetSkinName(ttl::string_const<char>);
|
||||
virtual void _StrippedVFunc12() = 0;
|
||||
GAME_IMPORT virtual void GetSkinName(uint32_t, ttl::string_base<char>&) const;
|
||||
GAME_IMPORT virtual ttl::string_const<char> GetSkinName() const;
|
||||
GAME_IMPORT virtual void SetSkinSeed(int);
|
||||
GAME_IMPORT virtual int GetSkinSeed() const;
|
||||
GAME_IMPORT virtual int64_t GetSkinMustHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustHaveTags(int64_t);
|
||||
GAME_IMPORT virtual int64_t GetSkinMustNotHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustNotHaveTags(int64_t);
|
||||
GAME_IMPORT virtual uint32_t GetSkinCount() const;
|
||||
GAME_IMPORT virtual void SetCharacterNames(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual bool CharacterPresetExists(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT virtual void GetCharacterNames(ttl::string_base<char>&, ttl::string_base<char>&);
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetCharacterName(uint32_t) const;
|
||||
GAME_IMPORT virtual void SetMeshColor(uint4 const&);
|
||||
GAME_IMPORT virtual void SetMeshColor(uint32_t, vec4 const&);
|
||||
GAME_IMPORT virtual uint4 const& GetMeshColor() const;
|
||||
GAME_IMPORT virtual vec4 const& GetMeshColor(uint32_t) const;
|
||||
GAME_IMPORT virtual void SetMeshAttribute(uint32_t, vec4 const&);
|
||||
GAME_IMPORT virtual void SetMeshAttributeMtx(uint32_t, mtx34 const&);
|
||||
GAME_IMPORT virtual vec4 const& GetMeshAttribute(uint32_t) const;
|
||||
GAME_IMPORT virtual mtx34 const& GetMeshAttributeMtx(uint32_t) const;
|
||||
GAME_IMPORT virtual uint32_t GetMeshAttributesCount() const;
|
||||
GAME_IMPORT virtual extents GetElementReferenceExtents(int) const;
|
||||
GAME_IMPORT virtual extents GetElementExtentsLocal(int) const;
|
||||
GAME_IMPORT virtual void SetElementExtentsLocal(extents const&, int);
|
||||
GAME_IMPORT virtual int GetElementID(uint32_t) const;
|
||||
GAME_IMPORT virtual int GetElementIDByLowercaseName(char const*) const;
|
||||
VIRTUAL_CALL(70, int, _GetElementIndex1, (char const* a1), a1);
|
||||
GAME_IMPORT virtual char const* GetElementNameCStr(int) const;
|
||||
GAME_IMPORT virtual bool IsBiped() const;
|
||||
GAME_IMPORT virtual bool IsRenderable() const;
|
||||
GAME_IMPORT virtual void SetElementWorldPos(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 GetElementLocalPos(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalPos(int, vec3 const&);
|
||||
virtual void _StrippedVFunc13() = 0;
|
||||
virtual void _StrippedVFunc14() = 0;
|
||||
GAME_IMPORT virtual mtx34 const& GetElementLocalMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalMatrix(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrixNoPropagate(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void GetElementLocalMatrices(int const*, uint32_t, mtx34*);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrices(int const*, uint32_t, mtx34 const*);
|
||||
GAME_IMPORT virtual mtx34 const& GetElementWorldMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementWorldMatrix(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void SetElementWorldMatrixNoPropagate(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void GetElementInvWorldMatrix(int, mtx34&) const;
|
||||
virtual void _StrippedVFunc15() = 0;
|
||||
GAME_IMPORT virtual void RotateElement(int, vec3 const&, float);
|
||||
GAME_IMPORT virtual void ElementSetWorldMatrixFromQuatPos(int, vec3 const&, float, vec3 const&);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementLocal(int, vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementWorld(int, vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void SetPivotPointFromElement(int);
|
||||
GAME_IMPORT virtual float GetAnimTimeDelta() const;
|
||||
GAME_IMPORT virtual float GetLastAnimUpdateTime() const;
|
||||
GAME_IMPORT virtual float GetLastAnimApplyTime() const;
|
||||
GAME_IMPORT virtual bool InitAnimSeqFile(ttl::string_base<char> const&);
|
||||
VIRTUAL_CALL(98, void, _SetPlatform1, ());
|
||||
GAME_IMPORT virtual vec3 GetBoneDirVector(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual vec3 GetBonePerpVector(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual vec3 GetBoneJointPos(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual EBones::TYPE GetBoneIDFromMeshElem(int) const;
|
||||
GAME_IMPORT virtual void AttachChildToMeshElement(IControlObject*, int, bool);
|
||||
GAME_IMPORT virtual CHierarchyElement* GetHElement(int) const;
|
||||
GAME_IMPORT virtual void EnableRendering(bool);
|
||||
GAME_IMPORT virtual void DebugRenderElementBoxes();
|
||||
GAME_IMPORT virtual void ForceUpdateAnimations();
|
||||
GAME_IMPORT virtual uint32_t AttachAudioEvent(int, ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&);
|
||||
GAME_IMPORT virtual uint32_t PlayAudioEvent(uint32_t, Audio::SAudioEventExtraDataID const*, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual uint32_t PlayAudioEvent(ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void SetAudioEventSwitch(uint32_t, ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual vec3 PointLocalToWorld(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 PointWorldToLocal(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 VectorWorldToLocal(int, vec3 const&);
|
||||
GAME_IMPORT virtual void HideElementsByMask(bool, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual bool HideElement(int);
|
||||
GAME_IMPORT virtual bool UnhideElement(int);
|
||||
GAME_IMPORT virtual bool IsElementHidden(int) const;
|
||||
virtual void _StrippedVFunc16() = 0;
|
||||
virtual void _StrippedVFunc17() = 0;
|
||||
virtual void _StrippedVFunc18() = 0;
|
||||
virtual void _StrippedVFunc19() = 0;
|
||||
virtual void _StrippedVFunc20() = 0;
|
||||
virtual void _StrippedVFunc21() = 0;
|
||||
virtual void _StrippedVFunc22() = 0;
|
||||
virtual void _StrippedVFunc23() = 0;
|
||||
virtual void _StrippedVFunc24() = 0;
|
||||
virtual void _StrippedVFunc25() = 0;
|
||||
virtual void _StrippedVFunc26() = 0;
|
||||
GAME_IMPORT virtual void UnlockAnimationUpdateAbility(bool&, ttl::vector<bool, ttl::vector_allocators::heap_allocator<bool>, 8>&);
|
||||
GAME_IMPORT virtual void RestoreAnimationUpdateAbility(bool const&, ttl::vector<bool, ttl::vector_allocators::heap_allocator<bool>, 8> const&);
|
||||
GAME_IMPORT virtual bool EnableCollisionsElement(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementCollsionsEnabled(int);
|
||||
GAME_IMPORT virtual bool AreSkinsAllowedToModifyElementFlags(int) const;
|
||||
GAME_IMPORT virtual void AllowSkinsToModifyElementFlags(int, bool);
|
||||
GAME_IMPORT virtual bool EnableElementTraceColl(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementTraceCollEnabled(int);
|
||||
GAME_IMPORT virtual bool IsElementABone(int);
|
||||
GAME_IMPORT virtual void SetupMeshPartClothSet(bool, bool, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>*);
|
||||
VIRTUAL_CALL(140, void, _SetPlatform2, ());
|
||||
virtual void _StrippedVFunc27() = 0;
|
||||
VIRTUAL_CALL(142, float, _odb_GetLoadTime1, (RLROD_Batch* a1), a1);
|
||||
GAME_IMPORT virtual void DissolveObjectProgress(float, bool);
|
||||
GAME_IMPORT virtual void GatherMeshAndSkinName(ttl::string_base<char>&, ttl::string_base<char>&) const;
|
||||
GAME_IMPORT virtual void EnableMotionBlur(bool);
|
||||
VIRTUAL_CALL(146, void, _SetPlatform3, ());
|
||||
GAME_IMPORT virtual bool GetMeshDataForSimpleObjectsEditor(ttl::string_base<char>*, ttl::string_base<char>*, int64_t*, int64_t*, int*);
|
||||
VIRTUAL_CALL(148, int64_t, _RunUnitTests1, ());
|
||||
VIRTUAL_CALL(149, ttl::list<SCommandParam, ttl::allocator>::const_reverse_iterator, rend, ());
|
||||
|
||||
GAME_IMPORT void EnableRenderingScene(bool);
|
||||
GAME_IMPORT IModelObject(IModelObject const&);
|
||||
GAME_IMPORT float GetMeshVisibilityRange();
|
||||
GAME_IMPORT bool SkinExists(ttl::string_base<char> const&);
|
||||
GAME_IMPORT int GetCurrentLOD() const;
|
||||
GAME_IMPORT void SetExtentsLocal(extents const&);
|
||||
GAME_IMPORT uint32_t GetMeshElementsMatricesCount() const;
|
||||
GAME_IMPORT char GetForcedAnimLod() const;
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullPrimitives() const;
|
||||
GAME_IMPORT void MoveElementBoxSides(int, float, float, float, float, float, float);
|
||||
GAME_IMPORT bool SetSkinNoCharacterPreset();
|
||||
GAME_IMPORT void SetBestGeomLods();
|
||||
GAME_IMPORT bool IsElementPhysicsEnabled(int);
|
||||
GAME_IMPORT bool IsDefaultMeshLoaded();
|
||||
GAME_IMPORT void SetLodDissolveStep(float);
|
||||
GAME_IMPORT static IModelObject const* GetModelObject(IGSObject const*);
|
||||
GAME_IMPORT LodDissolves::SState GetCurrentLodState() const;
|
||||
GAME_IMPORT static IModelObject* GetModelObject(cbs::CEntity const*);
|
||||
GAME_IMPORT int GetMeshElementsStateSize(ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&) const;
|
||||
GAME_IMPORT bool EnableElementPhysics(int, bool, bool);
|
||||
private:
|
||||
GAME_IMPORT bool IsElementIDValid(int) const;
|
||||
public:
|
||||
GAME_IMPORT void MeshUseDefaultVisibilityParameters();
|
||||
GAME_IMPORT void ShowElementBoxesFrom(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ResetBonesExtentsToReferenceFrame();
|
||||
GAME_IMPORT void EnableHierarchySerialization(bool);
|
||||
GAME_IMPORT void ShowElementBoxesFromTo(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT bool RaytestMe(vec3 const&, vec3&, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT static void CollectMeshSkins(ttl::string_base<char> const&, bool, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
GAME_IMPORT void GetMeshElementsMatrices(ttl::vector<mtx34, ttl::vector_allocators::heap_allocator<mtx34>, 0>&) const;
|
||||
GAME_IMPORT bool AnimReInit(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void SetLodStateForSpawnedObjects(LodDissolves::SState);
|
||||
GAME_IMPORT uint32_t GetNumSurfaceParams() const;
|
||||
GAME_IMPORT void EnableUpdateExtents(bool);
|
||||
GAME_IMPORT void ShowElementBox(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxesTo(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void LoadMesh(bool);
|
||||
GAME_IMPORT static COFlags::TYPE GetDefaultCOFlags();
|
||||
GAME_IMPORT void LoadMeshElements(ISGChunk*);
|
||||
GAME_IMPORT static int64_t GetSkinTagsFromStr(char const*);
|
||||
GAME_IMPORT void ShowExtents(bool);
|
||||
GAME_IMPORT char const* MT_GetName(uint32_t);
|
||||
GAME_IMPORT void SetMeshLodDistance(int, float);
|
||||
GAME_IMPORT bool ReplaceMaterial(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT void SetTraceCollType(int);
|
||||
GAME_IMPORT void DumpAnims();
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullFaces() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullPrimitives() const;
|
||||
GAME_IMPORT void EnableRenderingRayTracing(bool);
|
||||
GAME_IMPORT static bool MeshExist(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void AdjustExtentsToAllElements(bool, bool);
|
||||
GAME_IMPORT void SetMeshCullSizeEnable(bool);
|
||||
GAME_IMPORT float GetLodDissolveStep() const;
|
||||
GAME_IMPORT int GetTraceCollType() const;
|
||||
GAME_IMPORT float GetMeshLodDistance(int) const;
|
||||
GAME_IMPORT void SetDontApplyAnim(bool);
|
||||
GAME_IMPORT int SetMeshElementsState(ttl::vector<unsigned char, ttl::vector_allocators::heap_allocator<unsigned char>, 8> const&, ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&, bool, bool);
|
||||
GAME_IMPORT SSurfParams* GetSurfaceParams() const;
|
||||
GAME_IMPORT bool IsObjectDissolved() const;
|
||||
GAME_IMPORT void CollectUsedTextures(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
GAME_IMPORT void SetMeshVisibilityRange(float);
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullVertices() const;
|
||||
GAME_IMPORT void SetForcedAnimLod(char);
|
||||
GAME_IMPORT aabb const& GetAABBExtents() const;
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetMeshPoseElement() const;
|
||||
GAME_IMPORT int MT_GetCount();
|
||||
GAME_IMPORT void EnableRenderingShadows(bool);
|
||||
GAME_IMPORT bool SetSkin();
|
||||
GAME_IMPORT uint32_t GetNumTraceHullFaces() const;
|
||||
GAME_IMPORT void ResetElementsDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT void MoveElementBoxSides(int, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT void GetAnimationNames(ttl::map<ttl::string_base<char>, TAnimId, ttl::less<ttl::string_base<char>>, ttl::allocator>&);
|
||||
GAME_IMPORT void ShowCollisionHull(bool);
|
||||
GAME_IMPORT void SaveMeshElements(ISGChunk*);
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetModelObjectMorphPoseElement() const;
|
||||
GAME_IMPORT int GetMeshElementsState(ttl::vector<unsigned char, ttl::vector_allocators::heap_allocator<unsigned char>, 8>&, ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&) const;
|
||||
GAME_IMPORT void CopyElementsPosition(IModelObject*);
|
||||
GAME_IMPORT ttl::string_const<char> GetSkin() const;
|
||||
GAME_IMPORT void ResetBoneAndDescendantsToReferenceFrame(int);
|
||||
protected:
|
||||
GAME_IMPORT IModelObject();
|
||||
public:
|
||||
GAME_IMPORT void ShowElementBoxes(bool);
|
||||
GAME_IMPORT bool SetMeshElementsMatrices(ttl::vector<mtx34, ttl::vector_allocators::heap_allocator<mtx34>, 0> const&);
|
||||
GAME_IMPORT void MoveElementBoxSide(int, int, float);
|
||||
GAME_IMPORT uint32_t GetNumTraceHullVertices() const;
|
||||
GAME_IMPORT float MT_WeightGet(uint32_t);
|
||||
GAME_IMPORT static IModelObject* GetModelObject(IGSObject*);
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetModelObjectPoseElement() const;
|
||||
GAME_IMPORT SMeshVisibilityParams const* GetMeshVisibilityParams() const;
|
||||
GAME_IMPORT bool ShouldApplyAnim() const;
|
||||
GAME_IMPORT bool RaytraceMe(SCollision*, vec3 const&, vec3&, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT bool GetValidSkinsEditor(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&) const;
|
||||
GAME_IMPORT static bool MeshAndSkinExists(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ResetBonesToReferenceFrame(bool);
|
||||
#pragma endregion
|
||||
};
|
@ -1,12 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
struct SCommandParam {
|
||||
public:
|
||||
GAME_IMPORT SCommandParam(struct SCommandParam &&);
|
||||
GAME_IMPORT SCommandParam(struct SCommandParam const &);
|
||||
GAME_IMPORT SCommandParam(enum EVariable, char const *);
|
||||
GAME_IMPORT SCommandParam();
|
||||
GAME_IMPORT struct SCommandParam & operator=(struct SCommandParam &&);
|
||||
GAME_IMPORT struct SCommandParam & operator=(struct SCommandParam const &);
|
||||
};
|
@ -1,12 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
struct SCommandParam {
|
||||
public:
|
||||
GAME_IMPORT SCommandParam(SCommandParam& &);
|
||||
GAME_IMPORT SCommandParam(SCommandParam const&);
|
||||
GAME_IMPORT SCommandParam(EVariable, char const*);
|
||||
GAME_IMPORT SCommandParam();
|
||||
GAME_IMPORT SCommandParam& operator=(SCommandParam& &);
|
||||
GAME_IMPORT SCommandParam& operator=(SCommandParam const&);
|
||||
};
|
@ -1,266 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CEntity {
|
||||
public:
|
||||
public: VIRTUAL_CALL(0, void __fastcall, SetPlatform, ());
|
||||
public: VIRTUAL_CALL(1, cbs::CEntity *__fastcall, sub_4623C0, (char a1), a1);
|
||||
public: GAME_IMPORT virtual class CRTTI const * GetRTTI() const;
|
||||
public: VIRTUAL_CALL(3, class CRTTI const *, _GetRTTI1, ());
|
||||
public: GAME_IMPORT struct MED::SModelOutfitGroup const * unassigned() const;
|
||||
public: VIRTUAL_CALL(5, struct MED::SModelOutfitGroup const *, _unassigned1, ());
|
||||
public: VIRTUAL_CALL(6, struct MED::SModelOutfitGroup const *, _unassigned2, ());
|
||||
public: VIRTUAL_CALL(7, struct MED::SModelOutfitGroup const *, _unassigned3, ());
|
||||
public: GAME_IMPORT virtual class CRTTIObject const * GetSubObject(unsigned int) const;
|
||||
public: VIRTUAL_CALL(9, class CRTTIObject const *, _GetSubObject1, (unsigned int a1), a1);
|
||||
public: GAME_IMPORT virtual void GetPrivateObjects(class ttl::list<class IGSObject *, class ttl::allocator> *, bool, bool);
|
||||
public: GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
public: VIRTUAL_CALL(12, __int64, RunUnitTests, ());
|
||||
public: GAME_IMPORT virtual void GetAllObjects(class ttl::vector<class IGSObject *, class ttl::vector_allocators::heap_allocator<class IGSObject *>, 1> &, bool);
|
||||
public: GAME_IMPORT virtual void GetAllObjects(class ttl::set<class CRTTIObject *, struct ttl::less<class CRTTIObject *>, class ttl::allocator> &, class ttl::set<class CRTTIObject *, struct ttl::less<class CRTTIObject *>, class ttl::allocator> &, bool, class std::optional<class ttl::function_ref<bool (class CRTTIObject *)>>);
|
||||
public: GAME_IMPORT bool updateRttiParams();
|
||||
public: VIRTUAL_CALL(16, void __fastcall, _SetPlatform1, ());
|
||||
public: GAME_IMPORT virtual char const * GetString(char const *) const;
|
||||
public: VIRTUAL_CALL(18, void __fastcall, _SetPlatform2, ());
|
||||
public: VIRTUAL_CALL(19, bool, _updateRttiParams1, ());
|
||||
public: GAME_IMPORT virtual void GetVisibleFields(class ttl::vector<class CRTTIField const *, class ttl::vector_allocators::heap_allocator<class CRTTIField const *>, 64> &);
|
||||
public: VIRTUAL_CALL(21, struct MED::SModelOutfitGroup const *, _unassigned4, ());
|
||||
public: VIRTUAL_CALL(22, void __fastcall, _SetPlatform3, ());
|
||||
public: GAME_IMPORT virtual class Uid const & GetUid() const;
|
||||
public: VIRTUAL_CALL(24, bool, _updateRttiParams2, ());
|
||||
public: VIRTUAL_CALL(25, bool, _updateRttiParams3, ());
|
||||
public: VIRTUAL_CALL(26, bool, _updateRttiParams4, ());
|
||||
public: VIRTUAL_CALL(27, bool, _updateRttiParams5, ());
|
||||
public: VIRTUAL_CALL(28, bool, _updateRttiParams6, ());
|
||||
public: VIRTUAL_CALL(29, bool, _updateRttiParams7, ());
|
||||
public: VIRTUAL_CALL(30, bool, _updateRttiParams8, ());
|
||||
public: VIRTUAL_CALL(31, bool, _updateRttiParams9, ());
|
||||
public: VIRTUAL_CALL(32, bool, _updateRttiParams10, ());
|
||||
public: GAME_IMPORT virtual void CallVoidMethod(char const *, ...);
|
||||
public: GAME_IMPORT virtual class cbs::msg::IMessagePipeSet const & GetMessagePipeSet() const;
|
||||
protected: GAME_IMPORT virtual class cbs::msg::IMessagePipeSet * CreateMessagePipeSet();
|
||||
public: VIRTUAL_CALL(36, struct MED::SModelOutfitGroup const *, _unassigned5, ());
|
||||
public: VIRTUAL_CALL(37, struct MED::SModelOutfitGroup const *, _unassigned6, ());
|
||||
public: VIRTUAL_CALL(38, struct MED::SModelOutfitGroup const *, _unassigned7, ());
|
||||
public: VIRTUAL_CALL(39, struct MED::SModelOutfitGroup const *, _unassigned8, ());
|
||||
public: GAME_IMPORT virtual class cbs::prop::IPropertySet const & GetPropertySet() const;
|
||||
public: GAME_IMPORT virtual void SetXformComponent(class cbs::CPointer<class ICoWorldXform>);
|
||||
public: GAME_IMPORT virtual class CExternalRTTIFieldsContainter * GetPropertiesContainer();
|
||||
protected: GAME_IMPORT virtual bool LoadField(class CRTTIField const *, unsigned char, class fs::ifile &, class IPtrResolver &, bool);
|
||||
public: GAME_IMPORT virtual void LoadFields(class dom::IReader::Object const &, class IPtrResolver &, bool, bool (*)(char const *, class CRTTIObject *));
|
||||
public: GAME_IMPORT virtual void LoadFields(class ITextDeserializer &, class IPtrResolver &, bool);
|
||||
public: GAME_IMPORT virtual void LoadFields(class fs::ifile &, class IPtrResolver &, bool);
|
||||
public: GAME_IMPORT virtual void SaveFields(class dom::IWriter &, enum ERTTIFlags, bool) const;
|
||||
public: GAME_IMPORT virtual int ToBufferReplicated(char *, int);
|
||||
public: GAME_IMPORT virtual int FromBufferReplicated(char *, int);
|
||||
public: GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
public: VIRTUAL_CALL(51, void __fastcall, _SetPlatform4, ());
|
||||
public: GAME_IMPORT virtual bool ShouldSaveField(class CRTTIField const *) const;
|
||||
public: GAME_IMPORT virtual bool CopyFields(class CRTTIObject const *, bool);
|
||||
public: GAME_IMPORT virtual bool CopyPointerFields(class CRTTIObject const *);
|
||||
public: GAME_IMPORT virtual bool ExchangePointerFields(class CRTTIObject *);
|
||||
public: VIRTUAL_CALL(56, __int64, _RunUnitTests1, ());
|
||||
public: GAME_IMPORT virtual class IGSObject * FindObjectByNetPointer(struct SRttiNetPointer const &) const;
|
||||
public: GAME_IMPORT virtual class cbs::CEntity * FindEntityByNetPointer(struct SRttiNetPointer const &) const;
|
||||
public: GAME_IMPORT virtual struct SRttiNetPointer GetNetPointer() const;
|
||||
public: GAME_IMPORT virtual enum cbs::pcid_t GetPcId() const;
|
||||
public: GAME_IMPORT virtual class ttl::string_base<char> GetDebugDescription() const;
|
||||
public: GAME_IMPORT virtual void CalcMemoryUsage(struct SObjectMemoryUsage &) const;
|
||||
public: VIRTUAL_CALL(63, void __fastcall, _SetPlatform5, ());
|
||||
public: GAME_IMPORT virtual bool GetValidFieldValuesEditor(class CRTTIField const &, class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &, class ttl::vector<class ttl::string_base<char>, class ttl::vector_allocators::heap_allocator<class ttl::string_base<char>>, 1> &);
|
||||
public: VIRTUAL_CALL(65, bool, _updateRttiParams11, ());
|
||||
public: GAME_IMPORT static bool ValidateVec4(class IGSObject const *, class vec4 const &);
|
||||
public: VIRTUAL_CALL(67, __int64, _RunUnitTests2, ());
|
||||
public: GAME_IMPORT virtual class ttl::string_base<char> ValueToString(class CRTTIObject * const &) const;
|
||||
public: GAME_IMPORT virtual bool IsFieldChanged(class CRTTIField const *) const;
|
||||
public: GAME_IMPORT virtual void SetFieldChangedFlag(class CRTTIField const *, bool);
|
||||
public: VIRTUAL_CALL(71, bool, _updateRttiParams12, ());
|
||||
public: GAME_IMPORT virtual bool OnFieldChanged2(class CRTTIField const *, bool);
|
||||
public: VIRTUAL_CALL(73, void __fastcall, _SetPlatform6, ());
|
||||
public: VIRTUAL_CALL(74, __int64, _RunUnitTests3, ());
|
||||
public: VIRTUAL_CALL(75, void __fastcall, _SetPlatform7, ());
|
||||
public: VIRTUAL_CALL(76, bool, _updateRttiParams13, ());
|
||||
public: VIRTUAL_CALL(77, bool, _updateRttiParams14, ());
|
||||
public: VIRTUAL_CALL(78, bool, _updateRttiParams15, ());
|
||||
public: VIRTUAL_CALL(79, bool, _updateRttiParams16, ());
|
||||
public: VIRTUAL_CALL(80, __int64, _RunUnitTests4, ());
|
||||
public: VIRTUAL_CALL(81, __int64, _RunUnitTests5, ());
|
||||
public: VIRTUAL_CALL(82, void __fastcall, _SetPlatform8, ());
|
||||
public: GAME_IMPORT virtual void Query(class IBaseValidator &, class ttl::vector<class CRTTIObject *, class ttl::vector_allocators::heap_allocator<class CRTTIObject *>, 1> &) const;
|
||||
protected: GAME_IMPORT virtual void OnDestroy(class cbs::contracts::ApiComponentOnDestroy);
|
||||
protected: GAME_IMPORT virtual void OnRelease(class cbs::contracts::ApiComponentOnRelease);
|
||||
public: GAME_IMPORT virtual class cbs::CSystemBase & GetSystem() const;
|
||||
public: GAME_IMPORT virtual void OnConstructObject(class cbs::contracts::ApiComponentOnConstructObject);
|
||||
protected: GAME_IMPORT virtual void OnPreCreate(class cbs::contracts::ApiComponentOnPreCreate);
|
||||
protected: GAME_IMPORT virtual void OnResolveHierarchy(class cbs::contracts::ApiComponentOnResolveHierarchy);
|
||||
protected: GAME_IMPORT virtual void OnCreate(class cbs::contracts::ApiComponentOnCreate);
|
||||
protected: GAME_IMPORT virtual void OnPostCreate(class cbs::contracts::ApiComponentOnPostCreate);
|
||||
public: VIRTUAL_CALL(92, static bool, _ValidateVec41, (class IGSObject const* a1, class vec4 const& a2), a1, a2);
|
||||
public: VIRTUAL_CALL(93, struct MED::SModelOutfitGroup const *, _unassigned9, ());
|
||||
public: VIRTUAL_CALL(94, struct MED::SModelOutfitGroup const *, _unassigned10, ());
|
||||
public: VIRTUAL_CALL(95, static bool, _ValidateVec42, (class IGSObject const* a1, class vec4 const& a2), a1, a2);
|
||||
protected: GAME_IMPORT virtual void OnEntityChanged(class cbs::CEntity *, bool, class cbs::contracts::ApiComponentOnEntityChanged);
|
||||
public: GAME_IMPORT virtual class ICoWorldXform const * GetXformComponent() const;
|
||||
public: VIRTUAL_CALL(98, class ICoWorldXform const *, _GetXformComponent1, ());
|
||||
public: GAME_IMPORT virtual void GetResourcesUsed(class ttl::list<class ttl::string_base<char>, class ttl::allocator> &);
|
||||
public: GAME_IMPORT virtual void ReinitializeEditor();
|
||||
public: VIRTUAL_CALL(101, void __fastcall, _SetPlatform9, ());
|
||||
public: GAME_IMPORT virtual bool Load(class fs::ifile &, int);
|
||||
public: VIRTUAL_CALL(103, void __fastcall, _SetPlatform10, ());
|
||||
public: VIRTUAL_CALL(104, void __fastcall, _SetPlatform11, ());
|
||||
public: VIRTUAL_CALL(105, __int64, _RunUnitTests6, ());
|
||||
public: GAME_IMPORT virtual bool IsCreated() const;
|
||||
protected: GAME_IMPORT virtual void OnResolvePrefab(class SpawnContext const &, class PrefabResolveContext const &);
|
||||
protected: GAME_IMPORT virtual void OnActivate(class cbs::contracts::ApiComponentOnActivate);
|
||||
protected: GAME_IMPORT virtual void OnDeactivate(class cbs::contracts::ApiComponentOnDeactivate);
|
||||
protected: GAME_IMPORT virtual void ApplyActivate(bool);
|
||||
protected: GAME_IMPORT virtual void ApplyDeactivate(bool);
|
||||
protected: GAME_IMPORT virtual void CallPendingActivationHandlers(class CDeferredCallSystem *);
|
||||
public: VIRTUAL_CALL(113, void __fastcall, _SetPlatform12, ());
|
||||
public: VIRTUAL_CALL(114, void __fastcall, _SetPlatform13, ());
|
||||
public: VIRTUAL_CALL(115, void __fastcall, _SetPlatform14, ());
|
||||
protected: GAME_IMPORT virtual void OnReplicationPrepare();
|
||||
public: VIRTUAL_CALL(117, void __fastcall, _SetPlatform15, ());
|
||||
protected: GAME_IMPORT virtual void OnReplicationResolve();
|
||||
public: VIRTUAL_CALL(119, void __fastcall, _SetPlatform16, ());
|
||||
public: VIRTUAL_CALL(120, void __fastcall, _SetPlatform17, ());
|
||||
public: VIRTUAL_CALL(121, void __fastcall, _SetPlatform18, ());
|
||||
protected: GAME_IMPORT virtual void OnSimulationStart();
|
||||
protected: GAME_IMPORT virtual void OnSimulationStop();
|
||||
public: VIRTUAL_CALL(124, void __fastcall, _SetPlatform19, ());
|
||||
public: VIRTUAL_CALL(125, void __fastcall, _SetPlatform20, ());
|
||||
public: GAME_IMPORT virtual class mtx34 const & GetWorldXform() const;
|
||||
public: GAME_IMPORT virtual class mtx34 const & GetLocalXform() const;
|
||||
public: GAME_IMPORT virtual class ttl::string_base<char> GetDebugInfo(bool) const;
|
||||
public: GAME_IMPORT virtual void OnProxyObjectFieldChanged(class CRTTIObject const *, class CRTTIField const *);
|
||||
public: GAME_IMPORT virtual bool Send(class ttl::string_base<char> const &) const;
|
||||
public: GAME_IMPORT virtual bool Send(class cbs::msg::IMessageData const &, class ttl::string_const<char>) const;
|
||||
public: GAME_IMPORT virtual void Initialize(bool);
|
||||
|
||||
protected: GAME_IMPORT CEntity();
|
||||
protected: GAME_IMPORT ~CEntity();
|
||||
public: GAME_IMPORT void AddComponent(class cbs::CComponent *);
|
||||
public: GAME_IMPORT void AddElement(class cbs::CComponentBase *);
|
||||
public: GAME_IMPORT bool AddInterface(class cbs::EntityInterface *);
|
||||
public: GAME_IMPORT bool AllEntityFlagsSet(enum cbs::FEntity::TYPE) const;
|
||||
public: GAME_IMPORT bool AnyEntityFlagSet(enum cbs::FEntity::TYPE) const;
|
||||
public: GAME_IMPORT void ApplyPersistentStorageRecords();
|
||||
public: GAME_IMPORT bool AttachTo(class cbs::CPointer<class CoHierarchy>, bool, int);
|
||||
public: GAME_IMPORT enum cbs::EBroadcastResult Broadcast(struct cbs::SBroadcast const &, bool) const;
|
||||
public: GAME_IMPORT void CalcAndSetGuid(class guid, bool);
|
||||
public: GAME_IMPORT void CalcAndSetGuid(bool, bool);
|
||||
public: GAME_IMPORT static class guid CalcDynamicGuid(class guid, enum cbs::pcid_t, unsigned __int64);
|
||||
public: GAME_IMPORT class aabb CalcExtentsIn(class mtx34 const &, bool) const;
|
||||
public: GAME_IMPORT static class guid CalcGuid(class guid, class cbs::CPcidPath const &);
|
||||
public: GAME_IMPORT static class guid CalcGuid(class guid, enum cbs::pcid_t);
|
||||
public: GAME_IMPORT class aabb CalcLocalExtents(bool) const;
|
||||
public: GAME_IMPORT class aabb CalcWorldExtents() const;
|
||||
public: GAME_IMPORT void CallActivationHandlers();
|
||||
public: GAME_IMPORT void CallOnLoad();
|
||||
public: GAME_IMPORT void CallOnPSDataRestored();
|
||||
protected: GAME_IMPORT void CallOnResolvePrefab(class SpawnContext const &, class PrefabResolveContext const &);
|
||||
public: GAME_IMPORT bool CanFindComponent() const;
|
||||
public: GAME_IMPORT bool CanRemoveComponent() const;
|
||||
public: GAME_IMPORT void ClearEntityFlags(enum cbs::FEntity::TYPE, bool);
|
||||
public: GAME_IMPORT void ClearFlagsForPool(class cbs::contracts::ApiClearFlagsForPool);
|
||||
public: GAME_IMPORT static class cbs::CEntity * Create(struct cbs::WorldIndex);
|
||||
protected: GAME_IMPORT void DestroyMessagePipeSet();
|
||||
public: GAME_IMPORT void Detach(bool);
|
||||
public: GAME_IMPORT void FinalizeReplicationObject();
|
||||
public: GAME_IMPORT class cbs::CComponent * FindComponent(class rtti::Type const &, class cbs::contracts::ApiFindComponent) const;
|
||||
public: GAME_IMPORT class cbs::CComponent * FindComponent(class CRTTI const *, class cbs::contracts::ApiFindComponent) const;
|
||||
public: GAME_IMPORT class cbs::CComponent * FindComponent(enum cbs::pcid_t, unsigned short *) const;
|
||||
public: GAME_IMPORT class cbs::CComponent * FindComponentExact(class rtti::Type const &, class cbs::contracts::ApiFindComponentExact) const;
|
||||
public: GAME_IMPORT class cbs::CComponent * FindComponentExact(class CRTTI const *, class cbs::contracts::ApiFindComponentExact) const;
|
||||
public: GAME_IMPORT class cbs::CComponentBase * FindElement(enum cbs::pcid_t, unsigned short *) const;
|
||||
public: GAME_IMPORT class IGSObject * FindProxyIGSObject() const;
|
||||
public: GAME_IMPORT void GatherComponents(class ttl::span<class cbs::CComponentBase *, 4294967295>, class ttl::span<enum cbs::pcid_t, 4294967295>, class cbs::contracts::ApiGatherComponents) const;
|
||||
public: GAME_IMPORT void GatherElements(class ttl::span<class cbs::CComponentBase *, 4294967295>, class ttl::span<enum cbs::pcid_t, 4294967295>, class cbs::contracts::ApiGatherComponents) const;
|
||||
public: GAME_IMPORT enum cbs::EActivityState::TYPE GetActivityState() const;
|
||||
public: GAME_IMPORT class cbs::ps::CNode * GetStorageNode() const;
|
||||
public: GAME_IMPORT class cbs::Prefab const * GetPrefab() const;
|
||||
public: GAME_IMPORT class cbs::CComponent * GetComponent(unsigned short, enum cbs::pcid_t) const;
|
||||
public: GAME_IMPORT unsigned int GetComponentIndex(class cbs::CComponent *) const;
|
||||
public: GAME_IMPORT class ttl::span<class cbs::CPointer<class cbs::CComponent> const, 4294967295> GetComponents() const;
|
||||
public: GAME_IMPORT class ttl::vector<class cbs::CPointer<class cbs::CComponent>, class ttl::vector_allocators::heap_allocator<class cbs::CPointer<class cbs::CComponent>>, 0> GetComponentsByPcidOrder() const;
|
||||
public: GAME_IMPORT bool IsSimulating() const;
|
||||
public: GAME_IMPORT class cbs::CComponentBase * GetElement(unsigned short, enum cbs::pcid_t) const;
|
||||
public: GAME_IMPORT enum cbs::FEntity::TYPE GetEntityFlags() const;
|
||||
public: GAME_IMPORT class Replication::IObject const & ReplicationObject() const;
|
||||
public: GAME_IMPORT virtual class aabb GetExtentsIn(class mtx34 const &) const;
|
||||
public: GAME_IMPORT class vec3 GetForwardVector() const;
|
||||
public: GAME_IMPORT class guid GetGuid() const;
|
||||
public: GAME_IMPORT class cbs::EntityInterface * GetInterface(class CRTTI const *, class cbs::contracts::ApiGetInterface) const;
|
||||
public: GAME_IMPORT class mtx34 GetInvWorldXform() const;
|
||||
public: GAME_IMPORT class vec3 GetLeftVector() const;
|
||||
public: GAME_IMPORT virtual class aabb GetLocalExtents() const;
|
||||
public: GAME_IMPORT class ttl::string_base<char> const & GetLocalName() const;
|
||||
public: GAME_IMPORT class vec3 GetWorldPosition() const;
|
||||
public: GAME_IMPORT class cbs::msg::MessageTransmitterPipe * GetMessagePipe(class cbs::msg::MessagePipeId const &) const;
|
||||
public: GAME_IMPORT class cbs::msg::MessageTransmitterPipe * GetMessagePipe(class ttl::string_const<char>) const;
|
||||
public: GAME_IMPORT class IPhysicsManager * GetPhysicsManager() const;
|
||||
public: GAME_IMPORT class cbs::CPointer<class ICoWorldXform> GetRootXform() const;
|
||||
public: GAME_IMPORT struct PresetId GetPresetId() const;
|
||||
public: GAME_IMPORT class cbs::prop::IProperty * GetProperty(class ttl::string_const<char>) const;
|
||||
public: GAME_IMPORT static class CRTTI * GetSTTI();
|
||||
public: GAME_IMPORT class cbs::CEntity * GetSpawner() const;
|
||||
public: GAME_IMPORT static class cbs::CEntityMgr & GetSystemInstance();
|
||||
public: GAME_IMPORT float GetTime() const;
|
||||
public: GAME_IMPORT float GetTimeDelta() const;
|
||||
public: GAME_IMPORT class vec3 GetUpVector() const;
|
||||
public: GAME_IMPORT class cbs::CSystemWorldData<class cbs::CEntity> & GetWorldDataInstance();
|
||||
public: GAME_IMPORT static class cbs::CSystemWorldData<class cbs::CEntity> & GetWorldDataInstance(struct cbs::WorldIndex);
|
||||
public: GAME_IMPORT virtual class aabb GetWorldExtents() const;
|
||||
public: GAME_IMPORT void HandleStaticFlagClearingInHierarchy(enum cbs::FEntity::TYPE, enum cbs::FEntity::TYPE);
|
||||
public: GAME_IMPORT bool HasDynamicGuid() const;
|
||||
public: GAME_IMPORT void InitReplicationFromStorage();
|
||||
public: GAME_IMPORT void InitializeReplicationObject(class Replication::CreateObjectOptions);
|
||||
public: GAME_IMPORT bool IsAttached() const;
|
||||
public: GAME_IMPORT bool IsAttachedTo(class CoHierarchy const *) const;
|
||||
public: GAME_IMPORT bool IsAttachedTo(class cbs::CPointer<class CoHierarchy const>) const;
|
||||
public: GAME_IMPORT bool IsAutomaticWrapper() const;
|
||||
public: GAME_IMPORT bool IsDefaultPlaceholder() const;
|
||||
public: GAME_IMPORT bool IsDestroyingOrDestroyed() const;
|
||||
private: GAME_IMPORT bool IsEditor() const;
|
||||
public: GAME_IMPORT bool IsEmbeddedObjectStoredInParent() const;
|
||||
public: GAME_IMPORT bool IsInitialized() const;
|
||||
public: GAME_IMPORT bool IsVisible() const;
|
||||
protected: GAME_IMPORT void MarkAsAutomaticWrapper();
|
||||
private: GAME_IMPORT void MoveToDynamicRoot();
|
||||
protected: GAME_IMPORT void OnReplicativeReady(class cbs::contracts::ApiEntityOnReplicativeReady);
|
||||
public: GAME_IMPORT class vec3 PointWorldToLocal(class vec3 const &) const;
|
||||
public: GAME_IMPORT void QuerySubtree(class ttl::vector<class cbs::CEntity *, class ttl::vector_allocators::heap_allocator<class cbs::CEntity *>, 1> &, bool);
|
||||
public: GAME_IMPORT void QuerySubtree(class ttl::vector<class cbs::CPointer<class cbs::CEntity>, class ttl::vector_allocators::heap_allocator<class cbs::CPointer<class cbs::CEntity>>, 0> &, bool);
|
||||
public: GAME_IMPORT static void RegisterSTTI(class CRTTI *);
|
||||
public: GAME_IMPORT void RemoveAndDeleteComponent(class cbs::CComponent *);
|
||||
public: GAME_IMPORT void RemoveComponent(class cbs::CComponent *, bool);
|
||||
public: GAME_IMPORT void RemoveElement(class cbs::CComponentBase *);
|
||||
public: GAME_IMPORT bool RemoveInterface(class cbs::EntityInterface *);
|
||||
public: GAME_IMPORT unsigned short ReplGetOwnerId() const;
|
||||
public: GAME_IMPORT bool ReplIsOwner() const;
|
||||
public: GAME_IMPORT bool ReplIsReplicable() const;
|
||||
public: GAME_IMPORT bool ReplIsReplicated() const;
|
||||
public: GAME_IMPORT void ReplRequestOwnership();
|
||||
protected: GAME_IMPORT void SetPrefab(class cbs::Prefab *);
|
||||
public: GAME_IMPORT static void SetCoHierarchyLoadResolver(class CCoHierarchyLoadResolver *);
|
||||
public: GAME_IMPORT void SetReplicator(class cbs::CPointer<class ICoReplicator>);
|
||||
public: GAME_IMPORT void SetEntityFlags(enum cbs::FEntity::TYPE, bool);
|
||||
public: GAME_IMPORT void SetGuid(class guid, bool);
|
||||
public: GAME_IMPORT void SetLevel(class ILevel *);
|
||||
public: GAME_IMPORT bool SetLocalXform(class mtx34 const &);
|
||||
public: GAME_IMPORT void SetRootXform(class cbs::CPointer<class ICoWorldXform>);
|
||||
public: GAME_IMPORT void SetStorageNode(class cbs::ps::CNode *);
|
||||
public: GAME_IMPORT bool SetWorldXform(class mtx34 const &);
|
||||
public: GAME_IMPORT void StartSimulation();
|
||||
public: GAME_IMPORT void StopSimulation();
|
||||
public: GAME_IMPORT void StorePSData() const;
|
||||
public: GAME_IMPORT bool SupportsAttaching() const;
|
||||
public: GAME_IMPORT void SwapComponent(class cbs::CComponent *, unsigned int);
|
||||
public: GAME_IMPORT void SyncSimpleSynchronizersPropagate();
|
||||
public: GAME_IMPORT void UnregisterFromSpawnRegistry(class cbs::contracts::ApiUnregisterFromSpawnRegistry);
|
||||
public: GAME_IMPORT class vec3 VectorWorldToLocal(class vec3 const &) const;
|
||||
private: GAME_IMPORT static class CRTTI * __INTERNAL_crtti_factory();
|
||||
private: GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
private: GAME_IMPORT static class rtti::Type & __INTERNAL_type_factory();
|
||||
public: GAME_IMPORT static class rtti::Type & typeinfo();
|
||||
};
|
@ -1,266 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
|
||||
class CEntity {
|
||||
public:
|
||||
public: VIRTUAL_CALL(0, void, SetPlatform, ());
|
||||
public: VIRTUAL_CALL(1, cbs::CEntity*, sub_4623C0, (char a1), a1);
|
||||
public: GAME_IMPORT virtual CRTTI const* GetRTTI() const;
|
||||
public: VIRTUAL_CALL(3, CRTTI const*, _GetRTTI1, ());
|
||||
public: GAME_IMPORT MED::SModelOutfitGroup const* unassigned() const;
|
||||
public: VIRTUAL_CALL(5, MED::SModelOutfitGroup const*, _unassigned1, ());
|
||||
public: VIRTUAL_CALL(6, MED::SModelOutfitGroup const*, _unassigned2, ());
|
||||
public: VIRTUAL_CALL(7, MED::SModelOutfitGroup const*, _unassigned3, ());
|
||||
public: GAME_IMPORT virtual CRTTIObject const* GetSubObject(uint32_t) const;
|
||||
public: VIRTUAL_CALL(9, CRTTIObject const*, _GetSubObject1, (uint32_t a1), a1);
|
||||
public: GAME_IMPORT virtual void GetPrivateObjects(ttl::list<IGSObject*, ttl::allocator>*, bool, bool);
|
||||
public: GAME_IMPORT virtual void DestroyPrivateObjects();
|
||||
public: VIRTUAL_CALL(12, int64_t, RunUnitTests, ());
|
||||
public: GAME_IMPORT virtual void GetAllObjects(ttl::vector<IGSObject*, ttl::vector_allocators::heap_allocator<IGSObject*>, 1>&, bool);
|
||||
public: GAME_IMPORT virtual void GetAllObjects(ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, ttl::set<CRTTIObject*, ttl::less<CRTTIObject*>, ttl::allocator>&, bool, std::optional<ttl::function_ref<bool ( CRTTIObject* )>>);
|
||||
public: GAME_IMPORT bool updateRttiParams();
|
||||
public: VIRTUAL_CALL(16, void, _SetPlatform1, ());
|
||||
public: GAME_IMPORT virtual char const* GetString(char const*) const;
|
||||
public: VIRTUAL_CALL(18, void, _SetPlatform2, ());
|
||||
public: VIRTUAL_CALL(19, bool, _updateRttiParams1, ());
|
||||
public: GAME_IMPORT virtual void GetVisibleFields(ttl::vector<CRTTIField const*, ttl::vector_allocators::heap_allocator<CRTTIField const*>, 64>&);
|
||||
public: VIRTUAL_CALL(21, MED::SModelOutfitGroup const*, _unassigned4, ());
|
||||
public: VIRTUAL_CALL(22, void, _SetPlatform3, ());
|
||||
public: GAME_IMPORT virtual Uid const& GetUid() const;
|
||||
public: VIRTUAL_CALL(24, bool, _updateRttiParams2, ());
|
||||
public: VIRTUAL_CALL(25, bool, _updateRttiParams3, ());
|
||||
public: VIRTUAL_CALL(26, bool, _updateRttiParams4, ());
|
||||
public: VIRTUAL_CALL(27, bool, _updateRttiParams5, ());
|
||||
public: VIRTUAL_CALL(28, bool, _updateRttiParams6, ());
|
||||
public: VIRTUAL_CALL(29, bool, _updateRttiParams7, ());
|
||||
public: VIRTUAL_CALL(30, bool, _updateRttiParams8, ());
|
||||
public: VIRTUAL_CALL(31, bool, _updateRttiParams9, ());
|
||||
public: VIRTUAL_CALL(32, bool, _updateRttiParams10, ());
|
||||
public: GAME_IMPORT virtual void CallVoidMethod(char const*, ...);
|
||||
public: GAME_IMPORT virtual cbs::msg::IMessagePipeSet const& GetMessagePipeSet() const;
|
||||
protected: GAME_IMPORT virtual cbs::msg::IMessagePipeSet* CreateMessagePipeSet();
|
||||
public: VIRTUAL_CALL(36, MED::SModelOutfitGroup const*, _unassigned5, ());
|
||||
public: VIRTUAL_CALL(37, MED::SModelOutfitGroup const*, _unassigned6, ());
|
||||
public: VIRTUAL_CALL(38, MED::SModelOutfitGroup const*, _unassigned7, ());
|
||||
public: VIRTUAL_CALL(39, MED::SModelOutfitGroup const*, _unassigned8, ());
|
||||
public: GAME_IMPORT virtual cbs::prop::IPropertySet const& GetPropertySet() const;
|
||||
public: GAME_IMPORT virtual void SetXformComponent(cbs::CPointer<ICoWorldXform>);
|
||||
public: GAME_IMPORT virtual CExternalRTTIFieldsContainter* GetPropertiesContainer();
|
||||
protected: GAME_IMPORT virtual bool LoadField(CRTTIField const*, unsigned char, fs::ifile&, IPtrResolver&, bool);
|
||||
public: GAME_IMPORT virtual void LoadFields(dom::IReader::Object const&, IPtrResolver&, bool, bool (* )(char const*, CRTTIObject* ));
|
||||
public: GAME_IMPORT virtual void LoadFields(ITextDeserializer&, IPtrResolver&, bool);
|
||||
public: GAME_IMPORT virtual void LoadFields(fs::ifile&, IPtrResolver&, bool);
|
||||
public: GAME_IMPORT virtual void SaveFields(dom::IWriter&, ERTTIFlags, bool) const;
|
||||
public: GAME_IMPORT virtual int ToBufferReplicated(char*, int);
|
||||
public: GAME_IMPORT virtual int FromBufferReplicated(char*, int);
|
||||
public: GAME_IMPORT virtual int GetBufferReplicatedDataSize();
|
||||
public: VIRTUAL_CALL(51, void, _SetPlatform4, ());
|
||||
public: GAME_IMPORT virtual bool ShouldSaveField(CRTTIField const*) const;
|
||||
public: GAME_IMPORT virtual bool CopyFields(CRTTIObject const*, bool);
|
||||
public: GAME_IMPORT virtual bool CopyPointerFields(CRTTIObject const*);
|
||||
public: GAME_IMPORT virtual bool ExchangePointerFields(CRTTIObject*);
|
||||
public: VIRTUAL_CALL(56, int64_t, _RunUnitTests1, ());
|
||||
public: GAME_IMPORT virtual IGSObject* FindObjectByNetPointer(SRttiNetPointer const&) const;
|
||||
public: GAME_IMPORT virtual cbs::CEntity* FindEntityByNetPointer(SRttiNetPointer const&) const;
|
||||
public: GAME_IMPORT virtual SRttiNetPointer GetNetPointer() const;
|
||||
public: GAME_IMPORT virtual cbs::pcid_t GetPcId() const;
|
||||
public: GAME_IMPORT virtual ttl::string_base<char> GetDebugDescription() const;
|
||||
public: GAME_IMPORT virtual void CalcMemoryUsage(SObjectMemoryUsage&) const;
|
||||
public: VIRTUAL_CALL(63, void, _SetPlatform5, ());
|
||||
public: GAME_IMPORT virtual bool GetValidFieldValuesEditor(CRTTIField const&, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
public: VIRTUAL_CALL(65, bool, _updateRttiParams11, ());
|
||||
public: GAME_IMPORT static bool ValidateVec4(IGSObject const*, vec4 const&);
|
||||
public: VIRTUAL_CALL(67, int64_t, _RunUnitTests2, ());
|
||||
public: GAME_IMPORT virtual ttl::string_base<char> ValueToString(CRTTIObject* const&) const;
|
||||
public: GAME_IMPORT virtual bool IsFieldChanged(CRTTIField const*) const;
|
||||
public: GAME_IMPORT virtual void SetFieldChangedFlag(CRTTIField const*, bool);
|
||||
public: VIRTUAL_CALL(71, bool, _updateRttiParams12, ());
|
||||
public: GAME_IMPORT virtual bool OnFieldChanged2(CRTTIField const*, bool);
|
||||
public: VIRTUAL_CALL(73, void, _SetPlatform6, ());
|
||||
public: VIRTUAL_CALL(74, int64_t, _RunUnitTests3, ());
|
||||
public: VIRTUAL_CALL(75, void, _SetPlatform7, ());
|
||||
public: VIRTUAL_CALL(76, bool, _updateRttiParams13, ());
|
||||
public: VIRTUAL_CALL(77, bool, _updateRttiParams14, ());
|
||||
public: VIRTUAL_CALL(78, bool, _updateRttiParams15, ());
|
||||
public: VIRTUAL_CALL(79, bool, _updateRttiParams16, ());
|
||||
public: VIRTUAL_CALL(80, int64_t, _RunUnitTests4, ());
|
||||
public: VIRTUAL_CALL(81, int64_t, _RunUnitTests5, ());
|
||||
public: VIRTUAL_CALL(82, void, _SetPlatform8, ());
|
||||
public: GAME_IMPORT virtual void Query(IBaseValidator&, ttl::vector<CRTTIObject*, ttl::vector_allocators::heap_allocator<CRTTIObject*>, 1>&) const;
|
||||
protected: GAME_IMPORT virtual void OnDestroy(cbs::contracts::ApiComponentOnDestroy);
|
||||
protected: GAME_IMPORT virtual void OnRelease(cbs::contracts::ApiComponentOnRelease);
|
||||
public: GAME_IMPORT virtual cbs::CSystemBase& GetSystem() const;
|
||||
public: GAME_IMPORT virtual void OnConstructObject(cbs::contracts::ApiComponentOnConstructObject);
|
||||
protected: GAME_IMPORT virtual void OnPreCreate(cbs::contracts::ApiComponentOnPreCreate);
|
||||
protected: GAME_IMPORT virtual void OnResolveHierarchy(cbs::contracts::ApiComponentOnResolveHierarchy);
|
||||
protected: GAME_IMPORT virtual void OnCreate(cbs::contracts::ApiComponentOnCreate);
|
||||
protected: GAME_IMPORT virtual void OnPostCreate(cbs::contracts::ApiComponentOnPostCreate);
|
||||
public: VIRTUAL_CALL(92, static bool, _ValidateVec41, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
public: VIRTUAL_CALL(93, MED::SModelOutfitGroup const*, _unassigned9, ());
|
||||
public: VIRTUAL_CALL(94, MED::SModelOutfitGroup const*, _unassigned10, ());
|
||||
public: VIRTUAL_CALL(95, static bool, _ValidateVec42, (IGSObject const* a1, vec4 const& a2), a1, a2);
|
||||
protected: GAME_IMPORT virtual void OnEntityChanged(cbs::CEntity*, bool, cbs::contracts::ApiComponentOnEntityChanged);
|
||||
public: GAME_IMPORT virtual ICoWorldXform const* GetXformComponent() const;
|
||||
public: VIRTUAL_CALL(98, ICoWorldXform const*, _GetXformComponent1, ());
|
||||
public: GAME_IMPORT virtual void GetResourcesUsed(ttl::list<ttl::string_base<char>, ttl::allocator>&);
|
||||
public: GAME_IMPORT virtual void ReinitializeEditor();
|
||||
public: VIRTUAL_CALL(101, void, _SetPlatform9, ());
|
||||
public: GAME_IMPORT virtual bool Load(fs::ifile&, int);
|
||||
public: VIRTUAL_CALL(103, void, _SetPlatform10, ());
|
||||
public: VIRTUAL_CALL(104, void, _SetPlatform11, ());
|
||||
public: VIRTUAL_CALL(105, int64_t, _RunUnitTests6, ());
|
||||
public: GAME_IMPORT virtual bool IsCreated() const;
|
||||
protected: GAME_IMPORT virtual void OnResolvePrefab(SpawnContext const&, PrefabResolveContext const&);
|
||||
protected: GAME_IMPORT virtual void OnActivate(cbs::contracts::ApiComponentOnActivate);
|
||||
protected: GAME_IMPORT virtual void OnDeactivate(cbs::contracts::ApiComponentOnDeactivate);
|
||||
protected: GAME_IMPORT virtual void ApplyActivate(bool);
|
||||
protected: GAME_IMPORT virtual void ApplyDeactivate(bool);
|
||||
protected: GAME_IMPORT virtual void CallPendingActivationHandlers(CDeferredCallSystem*);
|
||||
public: VIRTUAL_CALL(113, void, _SetPlatform12, ());
|
||||
public: VIRTUAL_CALL(114, void, _SetPlatform13, ());
|
||||
public: VIRTUAL_CALL(115, void, _SetPlatform14, ());
|
||||
protected: GAME_IMPORT virtual void OnReplicationPrepare();
|
||||
public: VIRTUAL_CALL(117, void, _SetPlatform15, ());
|
||||
protected: GAME_IMPORT virtual void OnReplicationResolve();
|
||||
public: VIRTUAL_CALL(119, void, _SetPlatform16, ());
|
||||
public: VIRTUAL_CALL(120, void, _SetPlatform17, ());
|
||||
public: VIRTUAL_CALL(121, void, _SetPlatform18, ());
|
||||
protected: GAME_IMPORT virtual void OnSimulationStart();
|
||||
protected: GAME_IMPORT virtual void OnSimulationStop();
|
||||
public: VIRTUAL_CALL(124, void, _SetPlatform19, ());
|
||||
public: VIRTUAL_CALL(125, void, _SetPlatform20, ());
|
||||
public: GAME_IMPORT virtual mtx34 const& GetWorldXform() const;
|
||||
public: GAME_IMPORT virtual mtx34 const& GetLocalXform() const;
|
||||
public: GAME_IMPORT virtual ttl::string_base<char> GetDebugInfo(bool) const;
|
||||
public: GAME_IMPORT virtual void OnProxyObjectFieldChanged(CRTTIObject const*, CRTTIField const*);
|
||||
public: GAME_IMPORT virtual bool Send(ttl::string_base<char> const&) const;
|
||||
public: GAME_IMPORT virtual bool Send(cbs::msg::IMessageData const&, ttl::string_const<char>) const;
|
||||
public: GAME_IMPORT virtual void Initialize(bool);
|
||||
|
||||
protected: GAME_IMPORT CEntity();
|
||||
protected: GAME_IMPORT ~CEntity();
|
||||
public: GAME_IMPORT void AddComponent(cbs::CComponent*);
|
||||
public: GAME_IMPORT void AddElement(cbs::CComponentBase*);
|
||||
public: GAME_IMPORT bool AddInterface(cbs::EntityInterface*);
|
||||
public: GAME_IMPORT bool AllEntityFlagsSet(cbs::FEntity::TYPE) const;
|
||||
public: GAME_IMPORT bool AnyEntityFlagSet(cbs::FEntity::TYPE) const;
|
||||
public: GAME_IMPORT void ApplyPersistentStorageRecords();
|
||||
public: GAME_IMPORT bool AttachTo(cbs::CPointer<CoHierarchy>, bool, int);
|
||||
public: GAME_IMPORT cbs::EBroadcastResult Broadcast(cbs::SBroadcast const&, bool) const;
|
||||
public: GAME_IMPORT void CalcAndSetGuid(guid, bool);
|
||||
public: GAME_IMPORT void CalcAndSetGuid(bool, bool);
|
||||
public: GAME_IMPORT static guid CalcDynamicGuid(guid, cbs::pcid_t, uint32_t64_t);
|
||||
public: GAME_IMPORT aabb CalcExtentsIn(mtx34 const&, bool) const;
|
||||
public: GAME_IMPORT static guid CalcGuid(guid, cbs::CPcidPath const&);
|
||||
public: GAME_IMPORT static guid CalcGuid(guid, cbs::pcid_t);
|
||||
public: GAME_IMPORT aabb CalcLocalExtents(bool) const;
|
||||
public: GAME_IMPORT aabb CalcWorldExtents() const;
|
||||
public: GAME_IMPORT void CallActivationHandlers();
|
||||
public: GAME_IMPORT void CallOnLoad();
|
||||
public: GAME_IMPORT void CallOnPSDataRestored();
|
||||
protected: GAME_IMPORT void CallOnResolvePrefab(SpawnContext const&, PrefabResolveContext const&);
|
||||
public: GAME_IMPORT bool CanFindComponent() const;
|
||||
public: GAME_IMPORT bool CanRemoveComponent() const;
|
||||
public: GAME_IMPORT void ClearEntityFlags(cbs::FEntity::TYPE, bool);
|
||||
public: GAME_IMPORT void ClearFlagsForPool(cbs::contracts::ApiClearFlagsForPool);
|
||||
public: GAME_IMPORT static cbs::CEntity* Create(cbs::WorldIndex);
|
||||
protected: GAME_IMPORT void DestroyMessagePipeSet();
|
||||
public: GAME_IMPORT void Detach(bool);
|
||||
public: GAME_IMPORT void FinalizeReplicationObject();
|
||||
public: GAME_IMPORT cbs::CComponent* FindComponent(rtti::Type const&, cbs::contracts::ApiFindComponent) const;
|
||||
public: GAME_IMPORT cbs::CComponent* FindComponent(CRTTI const*, cbs::contracts::ApiFindComponent) const;
|
||||
public: GAME_IMPORT cbs::CComponent* FindComponent(cbs::pcid_t, unsigned short*) const;
|
||||
public: GAME_IMPORT cbs::CComponent* FindComponentExact(rtti::Type const&, cbs::contracts::ApiFindComponentExact) const;
|
||||
public: GAME_IMPORT cbs::CComponent* FindComponentExact(CRTTI const*, cbs::contracts::ApiFindComponentExact) const;
|
||||
public: GAME_IMPORT cbs::CComponentBase* FindElement(cbs::pcid_t, unsigned short*) const;
|
||||
public: GAME_IMPORT IGSObject* FindProxyIGSObject() const;
|
||||
public: GAME_IMPORT void GatherComponents(ttl::span<cbs::CComponentBase*, 4294967295>, ttl::span<cbs::pcid_t, 4294967295>, cbs::contracts::ApiGatherComponents) const;
|
||||
public: GAME_IMPORT void GatherElements(ttl::span<cbs::CComponentBase*, 4294967295>, ttl::span<cbs::pcid_t, 4294967295>, cbs::contracts::ApiGatherComponents) const;
|
||||
public: GAME_IMPORT cbs::EActivityState::TYPE GetActivityState() const;
|
||||
public: GAME_IMPORT cbs::ps::CNode* GetStorageNode() const;
|
||||
public: GAME_IMPORT cbs::Prefab const* GetPrefab() const;
|
||||
public: GAME_IMPORT cbs::CComponent* GetComponent(unsigned short, cbs::pcid_t) const;
|
||||
public: GAME_IMPORT uint32_t GetComponentIndex(cbs::CComponent*) const;
|
||||
public: GAME_IMPORT ttl::span<cbs::CPointer<cbs::CComponent> const, 4294967295> GetComponents() const;
|
||||
public: GAME_IMPORT ttl::vector<cbs::CPointer<cbs::CComponent>, ttl::vector_allocators::heap_allocator<cbs::CPointer<cbs::CComponent>>, 0> GetComponentsByPcidOrder() const;
|
||||
public: GAME_IMPORT bool IsSimulating() const;
|
||||
public: GAME_IMPORT cbs::CComponentBase* GetElement(unsigned short, cbs::pcid_t) const;
|
||||
public: GAME_IMPORT cbs::FEntity::TYPE GetEntityFlags() const;
|
||||
public: GAME_IMPORT Replication::IObject const& ReplicationObject() const;
|
||||
public: GAME_IMPORT virtual aabb GetExtentsIn(mtx34 const&) const;
|
||||
public: GAME_IMPORT vec3 GetForwardVector() const;
|
||||
public: GAME_IMPORT guid GetGuid() const;
|
||||
public: GAME_IMPORT cbs::EntityInterface* GetInterface(CRTTI const*, cbs::contracts::ApiGetInterface) const;
|
||||
public: GAME_IMPORT mtx34 GetInvWorldXform() const;
|
||||
public: GAME_IMPORT vec3 GetLeftVector() const;
|
||||
public: GAME_IMPORT virtual aabb GetLocalExtents() const;
|
||||
public: GAME_IMPORT ttl::string_base<char> const& GetLocalName() const;
|
||||
public: GAME_IMPORT vec3 GetWorldPosition() const;
|
||||
public: GAME_IMPORT cbs::msg::MessageTransmitterPipe* GetMessagePipe(cbs::msg::MessagePipeId const&) const;
|
||||
public: GAME_IMPORT cbs::msg::MessageTransmitterPipe* GetMessagePipe(ttl::string_const<char>) const;
|
||||
public: GAME_IMPORT IPhysicsManager* GetPhysicsManager() const;
|
||||
public: GAME_IMPORT cbs::CPointer<ICoWorldXform> GetRootXform() const;
|
||||
public: GAME_IMPORT PresetId GetPresetId() const;
|
||||
public: GAME_IMPORT cbs::prop::IProperty* GetProperty(ttl::string_const<char>) const;
|
||||
public: GAME_IMPORT static CRTTI* GetSTTI();
|
||||
public: GAME_IMPORT cbs::CEntity* GetSpawner() const;
|
||||
public: GAME_IMPORT static cbs::CEntityMgr& GetSystemInstance();
|
||||
public: GAME_IMPORT float GetTime() const;
|
||||
public: GAME_IMPORT float GetTimeDelta() const;
|
||||
public: GAME_IMPORT vec3 GetUpVector() const;
|
||||
public: GAME_IMPORT cbs::CSystemWorldData<cbs::CEntity>& GetWorldDataInstance();
|
||||
public: GAME_IMPORT static cbs::CSystemWorldData<cbs::CEntity>& GetWorldDataInstance(cbs::WorldIndex);
|
||||
public: GAME_IMPORT virtual aabb GetWorldExtents() const;
|
||||
public: GAME_IMPORT void HandleStaticFlagClearingInHierarchy(cbs::FEntity::TYPE, cbs::FEntity::TYPE);
|
||||
public: GAME_IMPORT bool HasDynamicGuid() const;
|
||||
public: GAME_IMPORT void InitReplicationFromStorage();
|
||||
public: GAME_IMPORT void InitializeReplicationObject(Replication::CreateObjectOptions);
|
||||
public: GAME_IMPORT bool IsAttached() const;
|
||||
public: GAME_IMPORT bool IsAttachedTo(CoHierarchy const*) const;
|
||||
public: GAME_IMPORT bool IsAttachedTo(cbs::CPointer<CoHierarchy const>) const;
|
||||
public: GAME_IMPORT bool IsAutomaticWrapper() const;
|
||||
public: GAME_IMPORT bool IsDefaultPlaceholder() const;
|
||||
public: GAME_IMPORT bool IsDestroyingOrDestroyed() const;
|
||||
private: GAME_IMPORT bool IsEditor() const;
|
||||
public: GAME_IMPORT bool IsEmbeddedObjectStoredInParent() const;
|
||||
public: GAME_IMPORT bool IsInitialized() const;
|
||||
public: GAME_IMPORT bool IsVisible() const;
|
||||
protected: GAME_IMPORT void MarkAsAutomaticWrapper();
|
||||
private: GAME_IMPORT void MoveToDynamicRoot();
|
||||
protected: GAME_IMPORT void OnReplicativeReady(cbs::contracts::ApiEntityOnReplicativeReady);
|
||||
public: GAME_IMPORT vec3 PointWorldToLocal(vec3 const&) const;
|
||||
public: GAME_IMPORT void QuerySubtree(ttl::vector<cbs::CEntity*, ttl::vector_allocators::heap_allocator<cbs::CEntity*>, 1>&, bool);
|
||||
public: GAME_IMPORT void QuerySubtree(ttl::vector<cbs::CPointer<cbs::CEntity>, ttl::vector_allocators::heap_allocator<cbs::CPointer<cbs::CEntity>>, 0>&, bool);
|
||||
public: GAME_IMPORT static void RegisterSTTI(CRTTI*);
|
||||
public: GAME_IMPORT void RemoveAndDeleteComponent(cbs::CComponent*);
|
||||
public: GAME_IMPORT void RemoveComponent(cbs::CComponent*, bool);
|
||||
public: GAME_IMPORT void RemoveElement(cbs::CComponentBase*);
|
||||
public: GAME_IMPORT bool RemoveInterface(cbs::EntityInterface*);
|
||||
public: GAME_IMPORT unsigned short ReplGetOwnerId() const;
|
||||
public: GAME_IMPORT bool ReplIsOwner() const;
|
||||
public: GAME_IMPORT bool ReplIsReplicable() const;
|
||||
public: GAME_IMPORT bool ReplIsReplicated() const;
|
||||
public: GAME_IMPORT void ReplRequestOwnership();
|
||||
protected: GAME_IMPORT void SetPrefab(cbs::Prefab*);
|
||||
public: GAME_IMPORT static void SetCoHierarchyLoadResolver(CCoHierarchyLoadResolver*);
|
||||
public: GAME_IMPORT void SetReplicator(cbs::CPointer<ICoReplicator>);
|
||||
public: GAME_IMPORT void SetEntityFlags(cbs::FEntity::TYPE, bool);
|
||||
public: GAME_IMPORT void SetGuid(guid, bool);
|
||||
public: GAME_IMPORT void SetLevel(ILevel*);
|
||||
public: GAME_IMPORT bool SetLocalXform(mtx34 const&);
|
||||
public: GAME_IMPORT void SetRootXform(cbs::CPointer<ICoWorldXform>);
|
||||
public: GAME_IMPORT void SetStorageNode(cbs::ps::CNode*);
|
||||
public: GAME_IMPORT bool SetWorldXform(mtx34 const&);
|
||||
public: GAME_IMPORT void StartSimulation();
|
||||
public: GAME_IMPORT void StopSimulation();
|
||||
public: GAME_IMPORT void StorePSData() const;
|
||||
public: GAME_IMPORT bool SupportsAttaching() const;
|
||||
public: GAME_IMPORT void SwapComponent(cbs::CComponent*, uint32_t);
|
||||
public: GAME_IMPORT void SyncSimpleSynchronizersPropagate();
|
||||
public: GAME_IMPORT void UnregisterFromSpawnRegistry(cbs::contracts::ApiUnregisterFromSpawnRegistry);
|
||||
public: GAME_IMPORT vec3 VectorWorldToLocal(vec3 const&) const;
|
||||
private: GAME_IMPORT static CRTTI* __INTERNAL_crtti_factory();
|
||||
private: GAME_IMPORT static bool __INTERNAL_crtti_fields_initialized_function();
|
||||
private: GAME_IMPORT static rtti::Type& __INTERNAL_type_factory();
|
||||
public: GAME_IMPORT static rtti::Type& typeinfo();
|
||||
};
|
@ -1,7 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Engine\IBaseCamera.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CBaseCamera : public IBaseCamera {
|
||||
};
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\vec3.h>
|
||||
#include <EGSDK\Engine\IPhysicsCharacter.h>
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CBulletPhysicsCharacter : IPhysicsCharacter {
|
||||
public:
|
||||
union {
|
||||
DynamicField(CBulletPhysicsCharacter, vec3, playerPos);
|
||||
DynamicField(CBulletPhysicsCharacter, vec3, playerPos2);
|
||||
DynamicField(CBulletPhysicsCharacter, float, playerDownwardVelocity);
|
||||
};
|
||||
|
||||
static vec3 posBeforeFreeze;
|
||||
|
||||
void FreezeCharacter();
|
||||
void MoveCharacter(const vec3& pos);
|
||||
|
||||
static CBulletPhysicsCharacter* Get();
|
||||
};
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class CLevel2;
|
||||
|
||||
class EGameSDK_API CGSObject {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x48, CLevel2*> pCLevel2;
|
||||
};
|
||||
|
||||
static CGSObject* Get();
|
||||
};
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK {
|
||||
namespace GamePH {
|
||||
class LogicalPlayer;
|
||||
}
|
||||
|
||||
namespace Engine {
|
||||
class EGameSDK_API CGSObject2 {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x20, GamePH::LogicalPlayer*> pLogicalPlayer;
|
||||
};
|
||||
|
||||
static CGSObject2* Get();
|
||||
};
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK {
|
||||
namespace GamePH {
|
||||
class GameDI_PH;
|
||||
}
|
||||
|
||||
namespace Engine {
|
||||
class CVideoSettings;
|
||||
class CLevel;
|
||||
|
||||
class EGameSDK_API CGame {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x8, GamePH::GameDI_PH*> pGameDI_PH;
|
||||
ClassHelpers::StaticBuffer<0x28, CVideoSettings*> pCVideoSettings;
|
||||
DynamicField(CGame, CLevel*, pCLevel);
|
||||
};
|
||||
|
||||
static CGame* Get();
|
||||
};
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
#include <EGSDK\Exports.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CInput {
|
||||
public:
|
||||
void UnlockGameInput();
|
||||
uint64_t BlockGameInput();
|
||||
|
||||
static CInput* Get();
|
||||
};
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK {
|
||||
namespace GamePH {
|
||||
class LevelDI;
|
||||
}
|
||||
|
||||
namespace Engine {
|
||||
class CGSObject;
|
||||
|
||||
class EGameSDK_API CLevel {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x20, GamePH::LevelDI*> pLevelDI;
|
||||
ClassHelpers::StaticBuffer<0x30, CGSObject*> pCGSObject;
|
||||
};
|
||||
|
||||
static CLevel* Get();
|
||||
};
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class CGSObject2;
|
||||
|
||||
class EGameSDK_API CLevel2 {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x28, CGSObject2*> pCGSObject2;
|
||||
};
|
||||
|
||||
static CLevel2* Get();
|
||||
};
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class CGame;
|
||||
|
||||
class EGameSDK_API CLobbySteam {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0xF8, CGame*> pCGame;
|
||||
};
|
||||
|
||||
static CLobbySteam* Get();
|
||||
};
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
#include <EGSDK\Engine\VarBase.h>
|
||||
#include <EGSDK\Engine\VarMapBase.h>
|
||||
#include <EGSDK\Engine\VarManagerBase.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CVar : public VarBase {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x50, uint32_t> valueOffset;
|
||||
};
|
||||
explicit CVar(std::string_view name);
|
||||
explicit CVar(std::string_view name, VarType type);
|
||||
|
||||
VarValueType GetValue();
|
||||
void SetValue(const VarValueType& value);
|
||||
void AddValuePtr(uint64_t* ptr);
|
||||
private:
|
||||
struct VarValue {
|
||||
VarValueType value;
|
||||
std::vector<uint64_t*> valuePtrs;
|
||||
};
|
||||
static std::unordered_map<const CVar*, VarValue> varValues;
|
||||
};
|
||||
|
||||
class EGameSDK_API FloatCVar : public CVar {
|
||||
public:
|
||||
explicit FloatCVar(std::string_view name);
|
||||
};
|
||||
class EGameSDK_API IntCVar : public CVar {
|
||||
public:
|
||||
explicit IntCVar(std::string_view name);
|
||||
};
|
||||
class EGameSDK_API Vec3CVar : public CVar {
|
||||
public:
|
||||
explicit Vec3CVar(std::string_view name);
|
||||
};
|
||||
class EGameSDK_API Vec4CVar : public CVar {
|
||||
public:
|
||||
explicit Vec4CVar(std::string_view name);
|
||||
};
|
||||
|
||||
class EGameSDK_API CVarMap : public VarMapBase<CVar> {
|
||||
public:
|
||||
using Base = VarMapBase<CVar>;
|
||||
using Base::Find;
|
||||
using Base::none_of;
|
||||
|
||||
std::unique_ptr<CVar>& AddVar(std::unique_ptr<CVar> var) override;
|
||||
CVar* Find(uint32_t valueOffset) const;
|
||||
void Erase(std::string_view name) override;
|
||||
|
||||
bool none_of(uint32_t valueOffset);
|
||||
private:
|
||||
std::unordered_map<uint32_t, CVar*> varsByValueOffset;
|
||||
};
|
||||
|
||||
class EGameSDK_API CVarRef : public VarRef<CVarMap, CVar> {
|
||||
public:
|
||||
using Base = VarRef<CVarMap, CVar>;
|
||||
CVarRef(uint32_t valueOffset, CVarMap& map);
|
||||
|
||||
uint32_t GetValueOffset() const;
|
||||
void AddValuePtr(uint64_t* ptr);
|
||||
private:
|
||||
uint32_t valueOffset = 0;
|
||||
};
|
||||
|
||||
class EGameSDK_API CVars : public VarManagerBase<CVarMap, CVar> {
|
||||
public:
|
||||
using Base = VarManagerBase<CVarMap, CVar>;
|
||||
using Base::GetVarRef;
|
||||
using Base::GetCustomVarRef;
|
||||
using Base::GetDefaultVarRef;
|
||||
using Base::GetCustomDefaultVarRef;
|
||||
|
||||
using VarT = CVar;
|
||||
using VarMapT = CVarMap;
|
||||
|
||||
static std::optional<CVarRef> GetVarRef(uint32_t valueOffset);
|
||||
static std::optional<CVarRef> GetCustomVarRef(uint32_t valueOffset);
|
||||
static std::optional<CVarRef> GetDefaultVarRef(uint32_t valueOffset);
|
||||
static std::optional<CVarRef> GetCustomDefaultVarRef(uint32_t valueOffset);
|
||||
private:
|
||||
static std::optional<CVarRef> _GetVarRef(uint32_t valueOffset, CVarMap& map);
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API CVideoSettings {
|
||||
public:
|
||||
union {
|
||||
DynamicField(CVideoSettings, float, extraFOV);
|
||||
};
|
||||
|
||||
static CVideoSettings* Get();
|
||||
};
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class CBulletPhysicsCharacter;
|
||||
|
||||
class EGameSDK_API CoPhysicsProperty {
|
||||
public:
|
||||
union {
|
||||
ClassHelpers::StaticBuffer<0x20, CBulletPhysicsCharacter*> pCBulletPhysicsCharacter;
|
||||
};
|
||||
|
||||
static CoPhysicsProperty* Get();
|
||||
};
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Exports.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
extern EGameSDK_API void AuthenticateDataResultsClear(void* instance);
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
#include <EGSDK\mtx34.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API IBaseCamera {
|
||||
public:
|
||||
float GetFOV();
|
||||
vec3* GetForwardVector(vec3* outForwardVec);
|
||||
vec3* GetUpVector(vec3* outUpVec);
|
||||
vec3* GetLeftVector(vec3* outLeftVec);
|
||||
vec3* GetPosition(vec3* outPos);
|
||||
mtx34* GetViewMatrix();
|
||||
mtx34* GetInvCameraMatrix();
|
||||
|
||||
void Rotate(float angle, const vec3* axis);
|
||||
void SetFOV(float fov);
|
||||
void SetPosition(const vec3* pos);
|
||||
void SetCameraMatrix(const mtx34* mtx);
|
||||
void SetInvCameraMatrix(const mtx34* mtx);
|
||||
|
||||
static bool isSetFOVCalledByEGSDK;
|
||||
};
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\vec3.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API IControlObject {
|
||||
public:
|
||||
void SetLocalDir(const vec3* dir);
|
||||
};
|
||||
}
|
@ -1,316 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\Imports.h>
|
||||
#include <EGSDK\Exports.h>
|
||||
#include <EGSDK\Engine\ttl.h>
|
||||
|
||||
namespace Anim {
|
||||
class IPoseElement;
|
||||
}
|
||||
|
||||
namespace Audio {
|
||||
struct SAudioEventExtraData;
|
||||
struct SAudioEventExtraDataID;
|
||||
}
|
||||
|
||||
namespace COFlags {
|
||||
enum TYPE;
|
||||
}
|
||||
|
||||
namespace EBones {
|
||||
enum TYPE;
|
||||
}
|
||||
|
||||
namespace EObjectToSimpleObjectsQueryResult {
|
||||
enum TYPE;
|
||||
}
|
||||
|
||||
namespace LodDissolves {
|
||||
union SState;
|
||||
}
|
||||
|
||||
namespace cbs {
|
||||
class CEntity;
|
||||
template <typename T>
|
||||
class CPointer;
|
||||
}
|
||||
|
||||
struct AnimEventInfo;
|
||||
class CHierarchyElement;
|
||||
class CModelObject;
|
||||
class CRTTI;
|
||||
class IAnimBind;
|
||||
class ICoSkeleton;
|
||||
class IGSObject;
|
||||
class IMpc;
|
||||
class ISGChunk;
|
||||
struct SCollision;
|
||||
struct SMeshVisibilityParams;
|
||||
struct SSurfParams;
|
||||
struct TAnimId;
|
||||
class aabb;
|
||||
class extents;
|
||||
struct uint4;
|
||||
|
||||
class vec3;
|
||||
class vec4;
|
||||
class mtx34;
|
||||
class CGSObject;
|
||||
class IControlObject;
|
||||
struct RLROD_Batch;
|
||||
struct SCommandParam;
|
||||
|
||||
class IModelObject {
|
||||
public:
|
||||
VIRTUAL_CALL(0, uint64_t*, sub_1203B0, (char a1), a1);
|
||||
GAME_IMPORT virtual IAnimBind const* GetAnimBind() const;
|
||||
VIRTUAL_CALL(2, IAnimBind const*, _GetAnimBind1, ());
|
||||
GAME_IMPORT virtual vec3 VectorLocalToWorld(int, vec3 const&) const;
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetAnimationFile(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT virtual TAnimId GetAnimationId(ttl::string_const<char>, bool) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(TAnimId) const;
|
||||
GAME_IMPORT virtual float GetAnimLength(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT float odb_GetLoadTime(RLROD_Batch*);
|
||||
GAME_IMPORT virtual mtx34 const& GetWorldXform() const;
|
||||
GAME_IMPORT virtual int GetElementIndex(char const*) const;
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetElementName(int) const;
|
||||
GAME_IMPORT virtual int GetElementsNumber() const;
|
||||
GAME_IMPORT virtual uint32_t GetElementFlags(int) const;
|
||||
GAME_IMPORT virtual mtx34 GetElementWorldMtx(int) const;
|
||||
GAME_IMPORT virtual vec3 GetElementWorldPos(int) const;
|
||||
GAME_IMPORT virtual int GetMeshElemFromBoneID(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual extents GetElementExtentsInWorld(int) const;
|
||||
VIRTUAL_CALL(18, void, SetPlatform, ());
|
||||
GAME_IMPORT virtual void ExecuteAnimActions(int, int, TAnimId, void const*, uint32_t);
|
||||
GAME_IMPORT virtual void StopAnimActions(int, TAnimId, void const*, float);
|
||||
VIRTUAL_CALL(21, int64_t, RunUnitTests, ());
|
||||
protected:
|
||||
GAME_IMPORT virtual void SetEngineObject(CGSObject*);
|
||||
public:
|
||||
virtual void _StrippedVFunc1() = 0;
|
||||
virtual void _StrippedVFunc2() = 0;
|
||||
virtual void _StrippedVFunc3() = 0;
|
||||
virtual void _StrippedVFunc4() = 0;
|
||||
virtual void _StrippedVFunc5() = 0;
|
||||
virtual void _StrippedVFunc6() = 0;
|
||||
virtual void _StrippedVFunc7() = 0;
|
||||
virtual void _StrippedVFunc8() = 0;
|
||||
virtual void _StrippedVFunc9() = 0;
|
||||
virtual void _StrippedVFunc10() = 0;
|
||||
GAME_IMPORT virtual int GetChildrenElementsNumber(int) const;
|
||||
GAME_IMPORT virtual int GetElementParent(int) const;
|
||||
GAME_IMPORT virtual int GetElementChild(int) const;
|
||||
GAME_IMPORT virtual int GetElementNext(int) const;
|
||||
GAME_IMPORT virtual void SetMeshName(ttl::string_const<char>);
|
||||
GAME_IMPORT virtual void SetInitializeMesh(bool);
|
||||
GAME_IMPORT virtual ttl::string_const<char> GetMeshName() const;
|
||||
virtual void _StrippedVFunc11() = 0;
|
||||
GAME_IMPORT virtual void SetSkinName(ttl::string_const<char>);
|
||||
virtual void _StrippedVFunc12() = 0;
|
||||
GAME_IMPORT virtual void GetSkinName(uint32_t, ttl::string_base<char>&) const;
|
||||
GAME_IMPORT virtual ttl::string_const<char> GetSkinName() const;
|
||||
GAME_IMPORT virtual void SetSkinSeed(int);
|
||||
GAME_IMPORT virtual int GetSkinSeed() const;
|
||||
GAME_IMPORT virtual int64_t GetSkinMustHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustHaveTags(int64_t);
|
||||
GAME_IMPORT virtual int64_t GetSkinMustNotHaveTags() const;
|
||||
GAME_IMPORT virtual void SetSkinMustNotHaveTags(int64_t);
|
||||
GAME_IMPORT virtual uint32_t GetSkinCount() const;
|
||||
GAME_IMPORT virtual void SetCharacterNames(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual bool CharacterPresetExists(ttl::string_base<char> const&) const;
|
||||
GAME_IMPORT virtual void GetCharacterNames(ttl::string_base<char>&, ttl::string_base<char>&);
|
||||
GAME_IMPORT virtual ttl::string_base<char> GetCharacterName(uint32_t) const;
|
||||
GAME_IMPORT virtual void SetMeshColor(uint4 const&);
|
||||
GAME_IMPORT virtual void SetMeshColor(uint32_t, vec4 const&);
|
||||
GAME_IMPORT virtual uint4 const& GetMeshColor() const;
|
||||
GAME_IMPORT virtual vec4 const& GetMeshColor(uint32_t) const;
|
||||
GAME_IMPORT virtual void SetMeshAttribute(uint32_t, vec4 const&);
|
||||
GAME_IMPORT virtual void SetMeshAttributeMtx(uint32_t, mtx34 const&);
|
||||
GAME_IMPORT virtual vec4 const& GetMeshAttribute(uint32_t) const;
|
||||
GAME_IMPORT virtual mtx34 const& GetMeshAttributeMtx(uint32_t) const;
|
||||
GAME_IMPORT virtual uint32_t GetMeshAttributesCount() const;
|
||||
GAME_IMPORT virtual extents GetElementReferenceExtents(int) const;
|
||||
GAME_IMPORT virtual extents GetElementExtentsLocal(int) const;
|
||||
GAME_IMPORT virtual void SetElementExtentsLocal(extents const&, int);
|
||||
GAME_IMPORT virtual int GetElementID(uint32_t) const;
|
||||
GAME_IMPORT virtual int GetElementIDByLowercaseName(char const*) const;
|
||||
VIRTUAL_CALL(70, int, _GetElementIndex1, (char const* a1), a1);
|
||||
GAME_IMPORT virtual char const* GetElementNameCStr(int) const;
|
||||
GAME_IMPORT virtual bool IsBiped() const;
|
||||
GAME_IMPORT virtual bool IsRenderable() const;
|
||||
GAME_IMPORT virtual void SetElementWorldPos(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 GetElementLocalPos(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalPos(int, vec3 const&);
|
||||
virtual void _StrippedVFunc13() = 0;
|
||||
virtual void _StrippedVFunc14() = 0;
|
||||
GAME_IMPORT virtual mtx34 const& GetElementLocalMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementLocalMatrix(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrixNoPropagate(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void GetElementLocalMatrices(int const*, uint32_t, mtx34*);
|
||||
GAME_IMPORT virtual void SetElementLocalMatrices(int const*, uint32_t, mtx34 const*);
|
||||
GAME_IMPORT virtual mtx34 const& GetElementWorldMatrix(int) const;
|
||||
GAME_IMPORT virtual void SetElementWorldMatrix(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void SetElementWorldMatrixNoPropagate(int, mtx34 const&);
|
||||
GAME_IMPORT virtual void GetElementInvWorldMatrix(int, mtx34&) const;
|
||||
virtual void _StrippedVFunc15() = 0;
|
||||
GAME_IMPORT virtual void RotateElement(int, vec3 const&, float);
|
||||
GAME_IMPORT virtual void ElementSetWorldMatrixFromQuatPos(int, vec3 const&, float, vec3 const&);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementLocal(int, vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void FromUpForwardPosElementWorld(int, vec3 const&, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void SetPivotPointFromElement(int);
|
||||
GAME_IMPORT virtual float GetAnimTimeDelta() const;
|
||||
GAME_IMPORT virtual float GetLastAnimUpdateTime() const;
|
||||
GAME_IMPORT virtual float GetLastAnimApplyTime() const;
|
||||
GAME_IMPORT virtual bool InitAnimSeqFile(ttl::string_base<char> const&);
|
||||
VIRTUAL_CALL(98, void, _SetPlatform1, ());
|
||||
GAME_IMPORT virtual vec3 GetBoneDirVector(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual vec3 GetBonePerpVector(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual vec3 GetBoneJointPos(EBones::TYPE) const;
|
||||
GAME_IMPORT virtual EBones::TYPE GetBoneIDFromMeshElem(int) const;
|
||||
GAME_IMPORT virtual void AttachChildToMeshElement(IControlObject*, int, bool);
|
||||
GAME_IMPORT virtual CHierarchyElement* GetHElement(int) const;
|
||||
GAME_IMPORT virtual void EnableRendering(bool);
|
||||
GAME_IMPORT virtual void DebugRenderElementBoxes();
|
||||
GAME_IMPORT virtual void ForceUpdateAnimations();
|
||||
GAME_IMPORT virtual uint32_t AttachAudioEvent(int, ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&);
|
||||
GAME_IMPORT virtual uint32_t PlayAudioEvent(uint32_t, Audio::SAudioEventExtraDataID const*, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual uint32_t PlayAudioEvent(ttl::string_base<char> const&, Audio::SAudioEventExtraData const*, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT virtual void SetAudioEventSwitch(uint32_t, ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual vec3 PointLocalToWorld(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 PointWorldToLocal(int, vec3 const&);
|
||||
GAME_IMPORT virtual vec3 VectorWorldToLocal(int, vec3 const&);
|
||||
GAME_IMPORT virtual void HideElementsByMask(bool, ttl::string_base<char> const&);
|
||||
GAME_IMPORT virtual bool HideElement(int);
|
||||
GAME_IMPORT virtual bool UnhideElement(int);
|
||||
GAME_IMPORT virtual bool IsElementHidden(int) const;
|
||||
virtual void _StrippedVFunc16() = 0;
|
||||
virtual void _StrippedVFunc17() = 0;
|
||||
virtual void _StrippedVFunc18() = 0;
|
||||
virtual void _StrippedVFunc19() = 0;
|
||||
virtual void _StrippedVFunc20() = 0;
|
||||
virtual void _StrippedVFunc21() = 0;
|
||||
virtual void _StrippedVFunc22() = 0;
|
||||
virtual void _StrippedVFunc23() = 0;
|
||||
virtual void _StrippedVFunc24() = 0;
|
||||
virtual void _StrippedVFunc25() = 0;
|
||||
virtual void _StrippedVFunc26() = 0;
|
||||
GAME_IMPORT virtual void UnlockAnimationUpdateAbility(bool&, ttl::vector<bool, ttl::vector_allocators::heap_allocator<bool>, 8>&);
|
||||
GAME_IMPORT virtual void RestoreAnimationUpdateAbility(bool const&, ttl::vector<bool, ttl::vector_allocators::heap_allocator<bool>, 8> const&);
|
||||
GAME_IMPORT virtual bool EnableCollisionsElement(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementCollsionsEnabled(int);
|
||||
GAME_IMPORT virtual bool AreSkinsAllowedToModifyElementFlags(int) const;
|
||||
GAME_IMPORT virtual void AllowSkinsToModifyElementFlags(int, bool);
|
||||
GAME_IMPORT virtual bool EnableElementTraceColl(int, bool);
|
||||
GAME_IMPORT virtual bool IsElementTraceCollEnabled(int);
|
||||
GAME_IMPORT virtual bool IsElementABone(int);
|
||||
GAME_IMPORT virtual void SetupMeshPartClothSet(bool, bool, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>*);
|
||||
VIRTUAL_CALL(140, void, _SetPlatform2, ());
|
||||
virtual void _StrippedVFunc27() = 0;
|
||||
VIRTUAL_CALL(142, float, _odb_GetLoadTime1, (RLROD_Batch* a1), a1);
|
||||
GAME_IMPORT virtual void DissolveObjectProgress(float, bool);
|
||||
GAME_IMPORT virtual void GatherMeshAndSkinName(ttl::string_base<char>&, ttl::string_base<char>&) const;
|
||||
GAME_IMPORT virtual void EnableMotionBlur(bool);
|
||||
VIRTUAL_CALL(146, void, _SetPlatform3, ());
|
||||
GAME_IMPORT virtual bool GetMeshDataForSimpleObjectsEditor(ttl::string_base<char>*, ttl::string_base<char>*, int64_t*, int64_t*, int*);
|
||||
VIRTUAL_CALL(148, int64_t, _RunUnitTests1, ());
|
||||
GAME_IMPORT ttl::list<SCommandParam, ttl::allocator>::const_reverse_iterator rend() const;
|
||||
|
||||
protected:
|
||||
GAME_IMPORT IModelObject();
|
||||
public:
|
||||
GAME_IMPORT IModelObject(IModelObject const&);
|
||||
protected:
|
||||
//GAME_IMPORT ~IModelObject();
|
||||
public:
|
||||
GAME_IMPORT void AdjustExtentsToAllElements(bool, bool);
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetMeshPoseElement() const;
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetModelObjectMorphPoseElement() const;
|
||||
GAME_IMPORT Anim::IPoseElement const* AnimGetModelObjectPoseElement() const;
|
||||
GAME_IMPORT bool AnimReInit(ttl::string_base<char> const&);
|
||||
GAME_IMPORT static void CollectMeshSkins(ttl::string_base<char> const&, bool, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
GAME_IMPORT void CollectUsedTextures(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&);
|
||||
GAME_IMPORT void CopyElementsPosition(IModelObject*);
|
||||
GAME_IMPORT void DumpAnims();
|
||||
GAME_IMPORT bool EnableElementPhysics(int, bool, bool);
|
||||
GAME_IMPORT void EnableHierarchySerialization(bool);
|
||||
GAME_IMPORT void EnableRenderingRayTracing(bool);
|
||||
GAME_IMPORT void EnableRenderingScene(bool);
|
||||
GAME_IMPORT void EnableRenderingShadows(bool);
|
||||
GAME_IMPORT void EnableUpdateExtents(bool);
|
||||
GAME_IMPORT aabb const& GetAABBExtents() const;
|
||||
GAME_IMPORT void GetAnimationNames(ttl::map<ttl::string_base<char>, TAnimId, ttl::less<ttl::string_base<char>>, ttl::allocator>&);
|
||||
GAME_IMPORT static COFlags::TYPE GetDefaultCOFlags();
|
||||
GAME_IMPORT int GetCurrentLOD() const;
|
||||
GAME_IMPORT LodDissolves::SState GetCurrentLodState() const;
|
||||
GAME_IMPORT char GetForcedAnimLod() const;
|
||||
GAME_IMPORT float GetLodDissolveStep() const;
|
||||
GAME_IMPORT void GetMeshElementsMatrices(ttl::vector<mtx34, ttl::vector_allocators::heap_allocator<mtx34>, 0>&) const;
|
||||
GAME_IMPORT uint32_t GetMeshElementsMatricesCount() const;
|
||||
GAME_IMPORT int GetMeshElementsState(ttl::vector<unsigned char, ttl::vector_allocators::heap_allocator<unsigned char>, 8>&, ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&) const;
|
||||
GAME_IMPORT int GetMeshElementsStateSize(ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&) const;
|
||||
GAME_IMPORT float GetMeshLodDistance(int) const;
|
||||
GAME_IMPORT SMeshVisibilityParams const* GetMeshVisibilityParams() const;
|
||||
GAME_IMPORT float GetMeshVisibilityRange();
|
||||
GAME_IMPORT static IModelObject* GetModelObject(IGSObject*);
|
||||
GAME_IMPORT static IModelObject* GetModelObject(cbs::CEntity const*);
|
||||
GAME_IMPORT static IModelObject const* GetModelObject(IGSObject const*);
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullFaces() const;
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullPrimitives() const;
|
||||
GAME_IMPORT uint32_t GetNumCollisionHullVertices() const;
|
||||
GAME_IMPORT uint32_t GetNumSurfaceParams() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullFaces() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullPrimitives() const;
|
||||
GAME_IMPORT uint32_t GetNumTraceHullVertices() const;
|
||||
GAME_IMPORT ttl::string_const<char> GetSkin() const;
|
||||
GAME_IMPORT static int64_t GetSkinTagsFromStr(char const*);
|
||||
GAME_IMPORT SSurfParams* GetSurfaceParams() const;
|
||||
GAME_IMPORT int GetTraceCollType() const;
|
||||
GAME_IMPORT bool GetValidSkinsEditor(ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&, ttl::vector<ttl::string_base<char>, ttl::vector_allocators::heap_allocator<ttl::string_base<char>>, 1>&) const;
|
||||
GAME_IMPORT bool IsDefaultMeshLoaded();
|
||||
private:
|
||||
GAME_IMPORT bool IsElementIDValid(int) const;
|
||||
public:
|
||||
GAME_IMPORT bool IsElementPhysicsEnabled(int);
|
||||
GAME_IMPORT bool IsObjectDissolved() const;
|
||||
GAME_IMPORT void LoadMesh(bool);
|
||||
GAME_IMPORT void LoadMeshElements(ISGChunk*);
|
||||
GAME_IMPORT int MT_GetCount();
|
||||
GAME_IMPORT char const* MT_GetName(uint32_t);
|
||||
GAME_IMPORT float MT_WeightGet(uint32_t);
|
||||
GAME_IMPORT static bool MeshAndSkinExists(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT static bool MeshExist(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void MeshUseDefaultVisibilityParameters();
|
||||
GAME_IMPORT void MoveElementBoxSide(int, int, float);
|
||||
GAME_IMPORT void MoveElementBoxSides(int, vec3 const&, vec3 const&);
|
||||
GAME_IMPORT void MoveElementBoxSides(int, float, float, float, float, float, float);
|
||||
GAME_IMPORT bool RaytestMe(vec3 const&, vec3&, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT bool RaytraceMe(SCollision*, vec3 const&, vec3&, unsigned short, bool, unsigned short);
|
||||
GAME_IMPORT bool ReplaceMaterial(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ResetBoneAndDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT void ResetBonesExtentsToReferenceFrame();
|
||||
GAME_IMPORT void ResetBonesToReferenceFrame(bool);
|
||||
GAME_IMPORT void ResetElementsDescendantsToReferenceFrame(int);
|
||||
GAME_IMPORT void SaveMeshElements(ISGChunk*);
|
||||
GAME_IMPORT void SetBestGeomLods();
|
||||
GAME_IMPORT void SetDontApplyAnim(bool);
|
||||
GAME_IMPORT void SetExtentsLocal(extents const&);
|
||||
GAME_IMPORT void SetForcedAnimLod(char);
|
||||
GAME_IMPORT void SetLodDissolveStep(float);
|
||||
GAME_IMPORT void SetLodStateForSpawnedObjects(LodDissolves::SState);
|
||||
GAME_IMPORT void SetMeshCullSizeEnable(bool);
|
||||
GAME_IMPORT bool SetMeshElementsMatrices(ttl::vector<mtx34, ttl::vector_allocators::heap_allocator<mtx34>, 0> const&);
|
||||
GAME_IMPORT int SetMeshElementsState(ttl::vector<unsigned char, ttl::vector_allocators::heap_allocator<unsigned char>, 8> const&, ttl::vector<int, ttl::vector_allocators::heap_allocator<int>, 2> const&, bool, bool);
|
||||
GAME_IMPORT void SetMeshLodDistance(int, float);
|
||||
GAME_IMPORT void SetMeshVisibilityRange(float);
|
||||
GAME_IMPORT bool SetSkin();
|
||||
GAME_IMPORT bool SetSkinNoCharacterPreset();
|
||||
GAME_IMPORT void SetTraceCollType(int);
|
||||
GAME_IMPORT bool ShouldApplyAnim() const;
|
||||
GAME_IMPORT void ShowCollisionHull(bool);
|
||||
GAME_IMPORT void ShowElementBox(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxes(bool);
|
||||
GAME_IMPORT void ShowElementBoxesFrom(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxesFromTo(ttl::string_base<char> const&, ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowElementBoxesTo(ttl::string_base<char> const&);
|
||||
GAME_IMPORT void ShowExtents(bool);
|
||||
GAME_IMPORT bool SkinExists(ttl::string_base<char> const&);
|
||||
};
|
@ -1,8 +0,0 @@
|
||||
#pragma once
|
||||
#include <EGSDK\vec3.h>
|
||||
#include <EGSDK\ClassHelpers.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
class EGameSDK_API IPhysicsCharacter {
|
||||
};
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
#pragma once
|
||||
#include <unordered_map>
|
||||
#include <string_view>
|
||||
#include <mutex>
|
||||
#include <shared_mutex>
|
||||
#include <variant>
|
||||
#include <type_traits>
|
||||
#include <EGSDK\Exports.h>
|
||||
#include <EGSDK\vec3.h>
|
||||
#include <EGSDK\vec4.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
EGameSDK_API enum class VarType {
|
||||
NONE = 0,
|
||||
String,
|
||||
Float,
|
||||
Int,
|
||||
Vec3,
|
||||
Vec4,
|
||||
Bool
|
||||
};
|
||||
|
||||
using VarValueType = std::variant<std::string, float, int, vec3, vec4, bool>;
|
||||
template <typename T>
|
||||
concept AllowedVarTypes = std::is_same_v<T, std::string> || std::is_same_v<T, float> || std::is_same_v<T, int> || std::is_same_v<T, vec3> || std::is_same_v<T, vec4> || std::is_same_v<T, bool>;
|
||||
|
||||
class EGameSDK_API VarBase {
|
||||
public:
|
||||
VarBase(std::string_view name, VarType type = VarType::NONE);
|
||||
~VarBase();
|
||||
|
||||
const char* GetName() const;
|
||||
void SetName(std::string_view name);
|
||||
|
||||
VarType GetType() const;
|
||||
void SetType(VarType type);
|
||||
protected:
|
||||
static std::mutex writeMutex;
|
||||
static std::shared_mutex readMutex;
|
||||
private:
|
||||
static std::unordered_map<const VarBase*, std::string> varNames;
|
||||
static std::unordered_map<const VarBase*, VarType> varTypes;
|
||||
};
|
||||
}
|
@ -1,172 +0,0 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <any>
|
||||
#include <mutex>
|
||||
#include <shared_mutex>
|
||||
#include <unordered_map>
|
||||
#include <intrin.h>
|
||||
#include <variant>
|
||||
#include <optional>
|
||||
#include <EGSDK\Exports.h>
|
||||
#include <EGSDK\vec3.h>
|
||||
#include <EGSDK\vec4.h>
|
||||
#include <EGSDK\Utils\Values.h>
|
||||
#include <EGSDK\Engine\VarBase.h>
|
||||
#include <EGSDK\Engine\VarRef.h>
|
||||
#include <EGSDK\Engine\VarMapBase.h>
|
||||
|
||||
#pragma intrinsic(_ReturnAddress)
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
template <typename VarMapT, typename VarT>
|
||||
class EGameSDK_API VarManagerBase {
|
||||
template <typename, typename>
|
||||
friend class VarRef;
|
||||
public:
|
||||
static VarMapT vars;
|
||||
static VarMapT customVars;
|
||||
static VarMapT defaultVars;
|
||||
static VarMapT defaultCustomVars;
|
||||
|
||||
static std::optional<VarRef<VarMapT, VarT>> GetVarRefFromPtr(VarT* var);
|
||||
static std::optional<VarRef<VarMapT, VarT>> GetVarRef(const char* name);
|
||||
static std::optional<VarRef<VarMapT, VarT>> GetCustomVarRef(const char* name);
|
||||
static std::optional<VarRef<VarMapT, VarT>> GetDefaultVarRef(const char* name);
|
||||
static std::optional<VarRef<VarMapT, VarT>> GetCustomDefaultVarRef(const char* name);
|
||||
|
||||
static bool AreAnyVarsPresent();
|
||||
static bool AreAnyCustomVarsPresent();
|
||||
static bool AreAllCustomVarsManagedByBool();
|
||||
|
||||
template <AllowedVarTypes T>
|
||||
static void ManageVarByBool(const char* name, T valueIfTrue, T valueIfFalse, bool boolVal, bool usePreviousVal = true) {
|
||||
auto playerVar = GetVarRef(name);
|
||||
if (playerVar)
|
||||
_ManageByBool(_ReturnAddress(), &*playerVar, valueIfTrue, valueIfFalse, boolVal, usePreviousVal);
|
||||
}
|
||||
private:
|
||||
static std::unordered_map<std::string, std::any> prevVarValueMap;
|
||||
static std::unordered_map<std::string, bool> prevBoolValueMap;
|
||||
static std::unordered_map<std::string, uint64_t> varOwnerMap;
|
||||
static std::mutex writeMutex;
|
||||
static std::shared_mutex readMutex;
|
||||
|
||||
static std::optional<VarRef<VarMapT, VarT>> _GetVarRef(VarT* var);
|
||||
static std::optional<VarRef<VarMapT, VarT>> _GetVarRef(const char* name, VarMapT& map);
|
||||
|
||||
static bool _IsManagedByBool(const char* name);
|
||||
static bool _IsManagedByBool(VarRef<VarMapT, VarT>* var);
|
||||
static bool _HasCustomValue(VarRef<VarMapT, VarT>* var);
|
||||
|
||||
template <AllowedVarTypes T>
|
||||
static void _SetValueFromList(VarRef<VarMapT, VarT>* var, T value) {
|
||||
if (!var)
|
||||
return;
|
||||
|
||||
auto name = var->GetName();
|
||||
|
||||
auto customVar = GetCustomVarRef(name);
|
||||
auto defVar = GetDefaultVarRef(name);
|
||||
|
||||
if constexpr (std::is_same_v<T, std::string>) {
|
||||
std::string valueStr = Utils::Values::to_string(value);
|
||||
switch (var->GetType()) {
|
||||
case VarType::Float:
|
||||
_SetValueFromList<float>(var, std::stof(valueStr));
|
||||
return;
|
||||
case VarType::Int:
|
||||
_SetValueFromList<int>(var, std::stof(valueStr));
|
||||
return;
|
||||
case VarType::Bool:
|
||||
_SetValueFromList<bool>(var, !_strcmpi(valueStr.c_str(), "true"));
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!customVar)
|
||||
customVar = customVars.AddVar(std::make_unique<VarT>(name, var->GetType())).get();
|
||||
if (!defVar) {
|
||||
defVar = defaultVars.AddVar(std::make_unique<VarT>(name, var->GetType())).get();
|
||||
if (auto varValue = var->GetValue<T>(); defVar && varValue)
|
||||
defVar->SetValue<T>(*varValue);
|
||||
}
|
||||
|
||||
if (customVar)
|
||||
customVar->SetValue(value);
|
||||
var->SetValue(value);
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
static void _ManageByBool(void* returnAddr, VarRef<VarMapT, VarT>* var, T valueIfTrue, T valueIfFalse, bool boolVal, bool usePreviousVal = true) {
|
||||
if (!var)
|
||||
return;
|
||||
|
||||
uint64_t caller = reinterpret_cast<uint64_t>(returnAddr);
|
||||
std::shared_lock lock(readMutex);
|
||||
|
||||
const char* name = var->GetName();
|
||||
|
||||
auto ownerIt = varOwnerMap.find(name);
|
||||
if (ownerIt != varOwnerMap.end() && ownerIt->second != caller)
|
||||
return;
|
||||
if (!boolVal && prevBoolValueMap.find(name) == prevBoolValueMap.end())
|
||||
return;
|
||||
|
||||
bool& prevBoolValue = prevBoolValueMap[name];
|
||||
auto& prevValueAny = prevVarValueMap[name];
|
||||
|
||||
if (boolVal) {
|
||||
if (!prevBoolValue) {
|
||||
auto varValue = var->GetValue<T>();
|
||||
prevVarValueMap[name] = varValue ? *varValue : T{};
|
||||
}
|
||||
|
||||
_SetValueFromList<T>(var, valueIfTrue);
|
||||
prevBoolValue = true;
|
||||
varOwnerMap[name] = caller;
|
||||
} else if (prevBoolValue) {
|
||||
_SetValueFromList<T>(var, usePreviousVal ? std::any_cast<T>(prevValueAny) : valueIfFalse);
|
||||
defaultVars.Erase(name);
|
||||
customVars.Erase(name);
|
||||
prevVarValueMap.erase(name);
|
||||
prevBoolValueMap.erase(name);
|
||||
varOwnerMap.erase(name);
|
||||
}
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
static void _SaveVarAsDefault(VarRef<VarMapT, VarT>* var) {
|
||||
if (!var)
|
||||
return;
|
||||
|
||||
auto customDefaultVar = GetCustomDefaultVarRef(var->GetName());
|
||||
|
||||
auto varValue = var->GetValue<T>();
|
||||
if (!varValue)
|
||||
return;
|
||||
customDefaultVar->SetValue(*varValue);
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
static void _RestoreVarToDefault(VarRef<VarMapT, VarT>* var, bool restoreToSavedVars = false) {
|
||||
if (!var)
|
||||
return;
|
||||
if (_IsManagedByBool(var))
|
||||
return;
|
||||
|
||||
const char* name = var->GetName();
|
||||
|
||||
auto defVar = !restoreToSavedVars ? GetDefaultVarRef(name) : GetCustomDefaultVarRef(name);
|
||||
if (!defVar)
|
||||
return;
|
||||
auto defValue = defVar->GetValue<T>();
|
||||
if (!defValue)
|
||||
return;
|
||||
|
||||
var->SetValue<T>(*defValue);
|
||||
|
||||
if (!restoreToSavedVars) {
|
||||
defaultVars.Erase(name);
|
||||
customVars.Erase(name);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
#pragma once
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <shared_mutex>
|
||||
#include <functional>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
#include <EGSDK\Exports.h>
|
||||
#include <EGSDK\Engine\VarBase.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
template <typename VarT>
|
||||
class EGameSDK_API VarMapBase {
|
||||
static_assert(std::is_base_of_v<VarBase, VarT>, "VarT must inherit from VarBase");
|
||||
public:
|
||||
VarMapBase();
|
||||
VarMapBase(const VarMapBase&) = delete;
|
||||
VarMapBase& operator=(const VarMapBase&) = delete;
|
||||
VarMapBase(VarMapBase&&) noexcept = default;
|
||||
VarMapBase& operator=(VarMapBase&&) noexcept = default;
|
||||
virtual ~VarMapBase() = default;
|
||||
|
||||
virtual std::unique_ptr<VarT>& AddVar(std::unique_ptr<VarT> var);
|
||||
VarT* Find(std::string_view name) const;
|
||||
virtual void Erase(std::string_view name);
|
||||
|
||||
bool empty() const;
|
||||
bool none_of(std::string_view name) const;
|
||||
size_t size();
|
||||
void reserve(size_t count);
|
||||
|
||||
template <typename Callable, typename... Args>
|
||||
void ForEach(Callable&& func, Args&&... args) {
|
||||
std::shared_lock lock(readMutex);
|
||||
for (const auto& name : varsOrdered)
|
||||
func(vars.at(name), std::forward<Args>(args)...);
|
||||
}
|
||||
private:
|
||||
struct CaseInsensitiveHash {
|
||||
using is_transparent = void;
|
||||
size_t operator()(std::string_view s) const {
|
||||
size_t h = 0;
|
||||
for (char c : s)
|
||||
h = h * 101 + static_cast<size_t>(std::tolower(static_cast<unsigned char>(c)));
|
||||
return h;
|
||||
}
|
||||
};
|
||||
struct CaseInsensitiveEqual {
|
||||
using is_transparent = void;
|
||||
bool operator()(std::string_view lhs, std::string_view rhs) const {
|
||||
return std::equal(lhs.begin(), lhs.end(), rhs.begin(), rhs.end(), [](unsigned char a, unsigned char b) {
|
||||
return std::tolower(a) == std::tolower(b);
|
||||
});
|
||||
}
|
||||
};
|
||||
protected:
|
||||
std::unordered_map<std::string, std::unique_ptr<VarT>, CaseInsensitiveHash, CaseInsensitiveEqual> vars;
|
||||
std::vector<std::string> varsOrdered;
|
||||
mutable std::mutex writeMutex;
|
||||
mutable std::shared_mutex readMutex;
|
||||
};
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
#pragma once
|
||||
#include <optional>
|
||||
#include <EGSDK\Engine\VarBase.h>
|
||||
|
||||
namespace EGSDK::Engine {
|
||||
template <typename VarMapT, typename VarT>
|
||||
class EGameSDK_API VarManagerBase;
|
||||
|
||||
template <typename VarMapT, typename VarT>
|
||||
class EGameSDK_API VarRef {
|
||||
public:
|
||||
using VarMgrBase = VarManagerBase<VarMapT, VarT>;
|
||||
|
||||
VarRef(VarT* var);
|
||||
VarRef(const char* name, VarMapT& map);
|
||||
|
||||
const char* GetName() const;
|
||||
VarType GetType() const;
|
||||
VarT* GetPtr() const;
|
||||
|
||||
template <AllowedVarTypes T>
|
||||
std::optional<T> GetValue() const {
|
||||
if (!ptr)
|
||||
return std::nullopt;
|
||||
|
||||
auto value = ptr->GetValue();
|
||||
if (auto* typedValue = std::get_if<T>(&value))
|
||||
return *typedValue;
|
||||
return std::nullopt;
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
void SetValue(T value) {
|
||||
if (!ptr)
|
||||
return;
|
||||
|
||||
if constexpr (std::is_same_v<T, std::string>) {
|
||||
std::string valueStr = Utils::Values::to_string(value);
|
||||
switch (ptr->GetType()) {
|
||||
case VarType::Float:
|
||||
SetValue<float>(std::stof(valueStr));
|
||||
return;
|
||||
case VarType::Int:
|
||||
SetValue<int>(std::stof(valueStr));
|
||||
return;
|
||||
case VarType::Bool:
|
||||
SetValue<bool>(!_strcmpi(valueStr.c_str(), "true"));
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
ptr->SetValue(std::move(value));
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
void SetValueFromList(T value) {
|
||||
VarMgrBase::template _SetValueFromList<T>(this, value);
|
||||
}
|
||||
|
||||
bool IsManagedByBool();
|
||||
bool HasCustomValue();
|
||||
|
||||
template <AllowedVarTypes T>
|
||||
void ManageByBool(T valueIfTrue, T valueIfFalse, bool boolVal, bool usePreviousVal = true) {
|
||||
VarMgrBase::template _ManageByBool<T>(this, valueIfTrue, valueIfFalse, boolVal, usePreviousVal);
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
void SaveVarAsDefault() {
|
||||
VarMgrBase::template _SaveVarAsDefault<T>(this);
|
||||
}
|
||||
template <AllowedVarTypes T>
|
||||
void RestoreVarToDefault(bool restoreToSavedVars = false) {
|
||||
VarMgrBase::template _RestoreVarToDefault<T>(this, restoreToSavedVars);
|
||||
}
|
||||
protected:
|
||||
const char* name;
|
||||
VarT* ptr = nullptr;
|
||||
};
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
|
||||
namespace ttl {
|
||||
namespace vector_allocators {
|
||||
template <typename T>
|
||||
class heap_allocator;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
class string_base;
|
||||
|
||||
template <>
|
||||
class string_base<char> {
|
||||
char* m_Buffer;
|
||||
uint32_t m_Size;
|
||||
uint32_t m_Capacity;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class string_const;
|
||||
|
||||
template <typename T1, typename T2, size_t T3>
|
||||
class vector;
|
||||
|
||||
template <typename T1, typename T2, typename T3, typename T4>
|
||||
class map;
|
||||
|
||||
template <typename T1>
|
||||
struct less;
|
||||
|
||||
class allocator;
|
||||
|
||||
template <typename T1, typename T2>
|
||||
class list {
|
||||
public:
|
||||
class const_reverse_iterator;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user