REDNODE / GAME API

VendingMachineControllerPS

classscriptedClasssavable

extends ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable

Extended by 2 types

IceMachineControllerPS WeaponVendingMachineControllerPS

Properties 8

NameTypeFlags
hackCountInt32scriptedprotected
isReadyBoolscriptedprotected
isSoldOutBoolscriptedprotected
shopStockarray<SItemStack>scriptedprivate
shopStockInitBoolscriptedprotected
soldOutProbabilityFloatscriptedprotected
vendingMachineSetupVendingMachineSetupscriptedprivatepersistent
vendingMachineSFXVendingMachineSFXscriptedprivate

Methods 17

protected final func ActionDispenceItemFromVendor(item: ItemID, price: Int32) -> ref<DispenceItemFromVendor>scripted
protected const func CanCreateAnyQuickHackActions() -> Boolscripted
public func GetActions(out actions: array<ref<DeviceAction>>, context: GetActionsContext) -> Boolscripted
public const func GetBlackboardDef() -> ref<VendingMachineDeviceBlackboardDef>scripted
public func GetGlitchStartSFX() -> CNamescripted
public func GetGlitchStopSFX() -> CNamescripted
public func GetHackedItemCount() -> Int32scripted
public func GetQuestActions(out outActions: array<ref<DeviceAction>>, context: script_ref<GetActionsContext>)scripted
protected func GetQuickHackActions(out outActions: array<ref<DeviceAction>>, context: script_ref<GetActionsContext>)scripted
protected final func GetShopStock() -> array<SItemStack>scripted
public func GetTimeToCompletePurchase() -> Floatscripted
public final func IsSoldOut() -> Boolscripted
protected func LogicReady()scripted
public func OnDispenceItemFromVendor(evt: ref<DispenceItemFromVendor>) -> EntityNotificationTypescripted
public func OnQuickHackDistraction(evt: ref<QuickHackDistraction>) -> EntityNotificationTypescripted
protected func PushShopStockActions(actions: script_ref<array<ref<DeviceAction>>>, context: script_ref<GetActionsContext>)scripted
public final func SetIsReady(value: Bool)scripted