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