Add IUnrealClasses for modifying and extending UClass functionality#3
Add IUnrealClasses for modifying and extending UClass functionality#3rirurin merged 12 commits intoRyoTune:mainfrom
Conversation
…ject XML, add GetCurrentWorld from engine state
…ng and GetSubsystem for UGameInstance
|
Here's what I ended up implementing. There's a lot of stuff here since I ended up porting most of the features from p3rpc.classconstructor so I could migrate to using only UE Toolkit for some frameworks I'm developing for Femc Reloaded. Edit/Add
|
My goal with this PR is to port some of the features from p3rpc.classconstructor into UE.Toolkit and add some other features that I've wanted to add.
The current features I've either implemented or planned are:
CreateFStringinIUnrealStrings, which doesn't add a null terminator.CreateFStringinIUnrealObjectsandIUnrealStringsare both now thunks to callUnrealStringsStatic.CreateFString(done)GUObjectArrayas part of the root set to prevent garbage collection if it's not referenced elsewhere. (done)IUnrealClasses.AddExtensionto extend the allocation size of each instance of a particular object. An extra constructor which runs after the original one can be used to initialize this extra space. (done)