add skunyk siphon

This commit is contained in:
Gray
2024-09-11 16:05:10 -04:00
parent 8220cb4813
commit c106b35d18
5 changed files with 107 additions and 34 deletions

View File

@@ -64,8 +64,10 @@ public:
void* GetProperty(const std::string& ChildName, bool bWarnIfNotFound = true);
void* GetProperty(const std::string& ChildName, bool bWarnIfNotFound = true) const;
void* GetPropertyFunc(const std::string& ChildName, bool bWarnIfNotFound = true);
int GetOffset(const std::string& ChildName, bool bWarnIfNotFound = true);
int GetOffset(const std::string& ChildName, bool bWarnIfNotFound = true) const;
int GetOffsetFunc(const std::string& ChildName, bool bWarnIfNotFound = true);
template <typename T = UObject*>
inline T& Get(int Offset) const { return *(T*)(__int64(this) + Offset); }