class
VendingMachineControllerPS
- 8 properties
- 17 functions
- 2 derived classes
Extends ScriptableDeviceComponentPS SharedGameplayPS game.DeviceComponentPS game.ComponentPS game.PersistentState IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
vendingMachineSetup | VendingMachineSetup | 0x288 | scripted |
vendingMachineSFX | VendingMachineSFX | 0x290 | scripted |
soldOutProbability | float | 0x2A0 | scripted |
isReady | bool | 0x2A4 | scripted |
isSoldOut | bool | 0x2A5 | scripted |
hackCount | int | 0x2A8 | scripted |
shopStock | game.SItemStack[] | 0x2B0 | scripted |
shopStockInit | bool | 0x2C0 | scripted |
Functions
void LogicReady()overrideRTTIre.Hooks.PlaceVoid( "VendingMachineControllerPS", "LogicReady;", (VendingMachineControllerPS_LogicReady x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_LogicReady( VendingMachineControllerPS self );float GetTimeToCompletePurchase()RTTIre.Hooks.Place( "VendingMachineControllerPS", "GetTimeToCompletePurchase;", (VendingMachineControllerPS_GetTimeToCompletePurchase x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetTimeToCompletePurchase( VendingMachineControllerPS self );CName GetGlitchStartSFX()RTTIre.Hooks.Place( "VendingMachineControllerPS", "GetGlitchStartSFX;", (VendingMachineControllerPS_GetGlitchStartSFX x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetGlitchStartSFX( VendingMachineControllerPS self );CName GetGlitchStopSFX()RTTIre.Hooks.Place( "VendingMachineControllerPS", "GetGlitchStopSFX;", (VendingMachineControllerPS_GetGlitchStopSFX x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetGlitchStopSFX( VendingMachineControllerPS self );game.SItemStack[] GetShopStock()RTTIint GetHackedItemCount()RTTIre.Hooks.Place( "VendingMachineControllerPS", "GetHackedItemCount;", (VendingMachineControllerPS_GetHackedItemCount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetHackedItemCount( VendingMachineControllerPS self );bool IsSoldOut()RTTIre.Hooks.Place( "VendingMachineControllerPS", "IsSoldOut;", (VendingMachineControllerPS_IsSoldOut x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_IsSoldOut( VendingMachineControllerPS self );DispenceItemFromVendor? ActionDispenceItemFromVendor(game.ItemID item, int price)RTTIre.Hooks.Place( "VendingMachineControllerPS", "ActionDispenceItemFromVendor;ItemIDInt32", (VendingMachineControllerPS_ActionDispenceItemFromVendor x) => { return re.Hooks.CallOriginal<re.msgpack.DispenceItemFromVendor>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_ActionDispenceItemFromVendor( VendingMachineControllerPS self, game.ItemID item, int price );bool GetActions(out game.device.Action[] actions, game.GetActionsContext context)overrideRTTIre.Hooks.Place( "VendingMachineControllerPS", "GetActions;array<DeviceAction>GetActionsContext", (VendingMachineControllerPS_GetActions x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetActions( VendingMachineControllerPS self, game.device.Action[] actions, game.GetActionsContext context );void PushShopStockActions(game.device.Action[] actions, game.GetActionsContext context)RTTIre.Hooks.PlaceVoid( "VendingMachineControllerPS", "PushShopStockActions;script_ref<array<DeviceAction>>script_ref<GetActionsContext>", (VendingMachineControllerPS_PushShopStockActions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_PushShopStockActions( VendingMachineControllerPS self, game.device.Action[] actions, game.GetActionsContext context );bool CanCreateAnyQuickHackActions()overrideRTTIre.Hooks.Place( "VendingMachineControllerPS", "CanCreateAnyQuickHackActions;", (VendingMachineControllerPS_CanCreateAnyQuickHackActions x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_CanCreateAnyQuickHackActions( VendingMachineControllerPS self );void GetQuickHackActions(out game.device.Action[] outActions, game.GetActionsContext context)overrideRTTIre.Hooks.PlaceVoid( "VendingMachineControllerPS", "GetQuickHackActions;array<DeviceAction>script_ref<GetActionsContext>", (VendingMachineControllerPS_GetQuickHackActions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetQuickHackActions( VendingMachineControllerPS self, game.device.Action[] outActions, game.GetActionsContext context );void GetQuestActions(out game.device.Action[] outActions, game.GetActionsContext context)overrideRTTIre.Hooks.PlaceVoid( "VendingMachineControllerPS", "GetQuestActions;array<DeviceAction>script_ref<GetActionsContext>", (VendingMachineControllerPS_GetQuestActions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetQuestActions( VendingMachineControllerPS self, game.device.Action[] outActions, game.GetActionsContext context );EntityNotificationType OnDispenceItemFromVendor(DispenceItemFromVendor evt)RTTIre.Hooks.Place( "VendingMachineControllerPS", "OnDispenceItemFromVendor;DispenceItemFromVendor", (VendingMachineControllerPS_OnDispenceItemFromVendor x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_OnDispenceItemFromVendor( VendingMachineControllerPS self, DispenceItemFromVendor? evt );EntityNotificationType OnQuickHackDistraction(QuickHackDistraction evt)overrideRTTIre.Hooks.Place( "VendingMachineControllerPS", "OnQuickHackDistraction;QuickHackDistraction", (VendingMachineControllerPS_OnQuickHackDistraction x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_OnQuickHackDistraction( VendingMachineControllerPS self, QuickHackDistraction? evt );void SetIsReady(bool value)RTTIre.Hooks.PlaceVoid( "VendingMachineControllerPS", "SetIsReady;Bool", (VendingMachineControllerPS_SetIsReady x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_SetIsReady( VendingMachineControllerPS self, bool value );VendingMachineDeviceBlackboardDef? GetBlackboardDef()overrideRTTIre.Hooks.Place( "VendingMachineControllerPS", "GetBlackboardDef;", (VendingMachineControllerPS_GetBlackboardDef x) => { return re.Hooks.CallOriginal<re.msgpack.VendingMachineDeviceBlackboardDef>(); } ); [Msgpack.Gen] public readonly partial record struct VendingMachineControllerPS_GetBlackboardDef( VendingMachineControllerPS self );