Add final and sealed as class options

This commit is contained in:
Ricardo Luís Vaz Silva 2023-10-01 18:36:42 -03:00 committed by Christoph Oelckers
commit 5e96dbc981
7 changed files with 55 additions and 9 deletions

View file

@ -66,11 +66,14 @@ public:
bool bRuntimeClass = false; // class was defined at run-time, not compile-time
bool bDecorateClass = false; // may be subject to some idiosyncracies due to DECORATE backwards compatibility
bool bAbstract = false;
bool bSealed = false;
bool bFinal = false;
bool bOptional = false;
TArray<VMFunction*> Virtuals; // virtual function table
TArray<FTypeAndOffset> MetaInits;
TArray<FTypeAndOffset> SpecialInits;
TArray<PField *> Fields;
TArray<FName> SealedRestriction;
PClassType *VMType = nullptr;
void (*ConstructNative)(void *);