class
ItemInSlotPrereq
- 9 properties
- 12 functions
Extends game.IScriptablePrereq game.IPrereq IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
slotID | TDBID | 0x0 | scripted |
slotCheckType | game.data.CheckType | 0x8 | scripted |
itemType | game.data.ItemType | 0xC | scripted |
itemCategory | game.data.ItemCategory | 0x10 | scripted |
weaponEvolution | game.data.WeaponEvolution | 0x14 | scripted |
itemTag | CName | 0x18 | scripted |
invert | bool | 0x20 | scripted |
skipOnApply | bool | 0x21 | scripted |
waitForVisuals | bool | 0x22 | scripted |
Functions
bool OnRegister(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.Place( "ItemInSlotPrereq", "OnRegister;PrereqStateGameInstanceIScriptable", (ItemInSlotPrereq_OnRegister x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_OnRegister( ItemInSlotPrereq self, game.PrereqState? state, ScriptGameInstance game, IScriptable? context );void OnUnregister(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.PlaceVoid( "ItemInSlotPrereq", "OnUnregister;PrereqStateGameInstanceIScriptable", (ItemInSlotPrereq_OnUnregister x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_OnUnregister( ItemInSlotPrereq self, game.PrereqState? state, ScriptGameInstance game, IScriptable? context );void OnApplied(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.PlaceVoid( "ItemInSlotPrereq", "OnApplied;PrereqStateGameInstanceIScriptable", (ItemInSlotPrereq_OnApplied x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_OnApplied( ItemInSlotPrereq self, game.PrereqState? state, ScriptGameInstance game, IScriptable? context );bool IsFulfilled(ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.Place( "ItemInSlotPrereq", "IsFulfilled", (ItemInSlotPrereq_IsFulfilled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_IsFulfilled( ItemInSlotPrereq self, ScriptGameInstance game, IScriptable? context );void Initialize(TDBID recordID)overrideRTTIre.Hooks.PlaceVoid( "ItemInSlotPrereq", "Initialize;TweakDBID", (ItemInSlotPrereq_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_Initialize( ItemInSlotPrereq self, TDBID recordID );bool Evaluate(game.ItemID itemID, WeakHandle<game.Object> owner)RTTIre.Hooks.Place( "ItemInSlotPrereq", "Evaluate;ItemIDGameObject", (ItemInSlotPrereq_Evaluate x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_Evaluate( ItemInSlotPrereq self, game.ItemID itemID, WeakHandle<game.Object> owner );bool Evaluate(game.data.ItemCategory itemCategory)RTTIre.Hooks.Place( "ItemInSlotPrereq", "Evaluate;gamedataItemCategory", (ItemInSlotPrereq_Evaluate2 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_Evaluate2( ItemInSlotPrereq self, game.data.ItemCategory itemCategory );bool Evaluate(game.data.ItemType itemType)RTTIre.Hooks.Place( "ItemInSlotPrereq", "Evaluate;gamedataItemType", (ItemInSlotPrereq_Evaluate3 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_Evaluate3( ItemInSlotPrereq self, game.data.ItemType itemType );bool Evaluate(game.data.WeaponEvolution weaponEvolution)RTTIre.Hooks.Place( "ItemInSlotPrereq", "Evaluate;gamedataWeaponEvolution", (ItemInSlotPrereq_Evaluate4 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_Evaluate4( ItemInSlotPrereq self, game.data.WeaponEvolution weaponEvolution );bool Evaluate(game.ItemID itemID, CName tag)RTTIre.Hooks.Place( "ItemInSlotPrereq", "Evaluate;ItemIDCName", (ItemInSlotPrereq_Evaluate5 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_Evaluate5( ItemInSlotPrereq self, game.ItemID itemID, CName tag );bool CheckGenericWeaponModSlots(game.ItemID itemID, WeakHandle<game.Object> owner)RTTIre.Hooks.Place( "ItemInSlotPrereq", "CheckGenericWeaponModSlots;ItemIDGameObject", (ItemInSlotPrereq_CheckGenericWeaponModSlots x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_CheckGenericWeaponModSlots( ItemInSlotPrereq self, game.ItemID itemID, WeakHandle<game.Object> owner );bool IsGenericWeaponMod(TDBID tweakDBID, int quality)RTTIre.Hooks.Place( "ItemInSlotPrereq", "IsGenericWeaponMod;TweakDBIDInt32", (ItemInSlotPrereq_IsGenericWeaponMod x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ItemInSlotPrereq_IsGenericWeaponMod( ItemInSlotPrereq self, TDBID tweakDBID, int quality );