REDNODE / GAME API

VendingMachineInkGameController

classscriptedClass

extends DeviceInkGameControllerBase › inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable

Extended by 1 type

WeaponMachineInkGameController

Properties 10

NameTypeFlags
ActionsPanelinkHorizontalPanelRefscriptedprotected
ActionsPanel2inkHorizontalPanelRefscriptedprotected
noMoneyPanelinkCompoundRefscriptedprotected
onGlitchingStateChangedListenerref<CallbackHandle>scriptedprivate
onSoldOutListenerref<CallbackHandle>scriptedprivate
onUpdateStatusListenerref<CallbackHandle>scriptedprivate
priceTextinkTextRefscriptedprotected
soldOutBoolscriptedprotected
soldOutPanelinkCompoundRefscriptedprotected
statePaymentStatusscriptedprotected

Methods 13

protected func ExecuteDeviceActions(controller: ref<DeviceActionWidgetControllerBase>)scripted
protected func GetOwner() -> ref<VendingMachine>scripted
protected cb func OnButtonHoverOver(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnSoldOut(value: Bool) -> Boolscripted
protected cb func OnUpdateStatus(value: Variant) -> Boolscripted
protected func Refresh(state: EDeviceStatus)scripted
protected func RegisterBlackboardCallbacks(blackboard: ref<IBlackboard>)scripted
protected func TurnOff()scripted
protected func TurnOn()scripted
protected func UnRegisterBlackboardCallbacks(blackboard: ref<IBlackboard>)scripted
public func UpdateActionWidgets(widgetsData: script_ref<array<SActionWidgetPackage>>)scripted
private final func UpdatePrice(price: Int32)scripted