WopsS / RED4ext.SDK

A library to create mods for REDengine 4 (Cyberpunk 2077), independently of RED4ext.
MIT License
100 stars 33 forks source link

Added some Get methods to RTTISystem #40

Closed flibdev closed 3 years ago

flibdev commented 3 years ago

Filled out several of the RTTISystem methods that return lists of specific types.

The Enum and Bitfield variants take a boolean that checks the first bit of their flags byte, which filters whether they are scripted or native. I've tested that it works that way for Enums, but Bitfields are only implemented as native code and the redscript compiler doesn't currently support bitfields, so it's purely conjecture on my part (they are treated identically though).

There are a few differences between IRTTISystem::GetClasses() and IRTTISystem::GetDerivedClasses():

WopsS commented 3 years ago

Thanks! <3