class
PerkPrereq
- 2 properties
- 2 functions
Extends game.IScriptablePrereq game.IPrereq IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
invert | bool | 0x0 | scripted |
perk | game.data.PerkType | 0x1 | scripted |
Functions
void Initialize(TDBID recordID)overrideRTTIre.Hooks.PlaceVoid( "PerkPrereq", "Initialize;TweakDBID", (PerkPrereq_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PerkPrereq_Initialize( PerkPrereq self, TDBID recordID );bool IsFulfilled(ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.Place( "PerkPrereq", "IsFulfilled", (PerkPrereq_IsFulfilled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PerkPrereq_IsFulfilled( PerkPrereq self, ScriptGameInstance game, IScriptable? context );