REDNODE / GAME API

MasterControllerPS

classscriptedClasssavable

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

Extended by 27 types

AccessPointControllerPS ActionsSequencerControllerPS ActivatorControllerPS AOEAreaControllerPS BaseNetworkSystemControllerPS CommunityProxyPS DestructibleMasterDeviceControllerPS DeviceSystemBaseControllerPS DisassembleMasterControllerPS ElectricBoxControllerPS FactInvokerControllerPS FuseBoxControllerPS FuseControllerPS LiftControllerPS MaintenancePanelControllerPS NetworkAreaControllerPS RoadBlockTrapControllerPS SecurityAlarmControllerPS SecurityAreaControllerPS SecurityGateControllerPS SimpleSwitchControllerPS SmartHouseControllerPS SoundSystemControllerPS TerminalControllerPS TrafficIntersectionManagerControllerPS VentilationAreaControllerPS VirtualSystemPS

Properties 1

NameTypeFlags
clearanceref<Clearance>scriptedprotected

Methods 42

protected func DetermineGameplayViability(context: script_ref<GetActionsContext>, hasActiveActions: Bool) -> Boolscripted
protected final func ExtractActionFromSlave(slave: ref<DeviceComponentPS>, actionName: CName, out outAction: ref<DeviceAction>) -> Boolscripted
protected final func FillTakeOverChainBB()scripted
public final const func GetAllDescendants(out outDevices: array<ref<DeviceComponentPS>>)scripted
public const func GetAttachedSlaveForPing(opt context: ref<MasterControllerPS>) -> ref<DeviceComponentPS>scripted
public const func GetBlackboardDef() -> ref<MasterDeviceBaseBlackboardDef>scripted
protected const func GetClearance() -> ref<Clearance>scripted
public func GetDeviceWidgets() -> array<SDeviceWidgetPackage>scripted
public const func GetExpectedSlaveState() -> EDeviceStatusscripted
public const func GetFirstAttachedSlave() -> ref<DeviceComponentPS>scripted
public final const func GetImmediateDescendants() -> array<ref<DeviceComponentPS>>scripted
public const func GetImmediateSlaves() -> array<ref<DeviceComponentPS>>scripted
public final const func GetLazyDescendants() -> array<ref<LazyDevice>>scripted
public const func GetLazySlaves() -> array<ref<LazyDevice>>scripted
public final const func GetPuppets() -> array<ref<PuppetDeviceLinkPS>>scripted
protected final const func GetQuickHacksFromSlave(out outActions: array<ref<DeviceAction>>, context: script_ref<GetActionsContext>)scripted
public func GetSlaveDeviceWidget(deviceID: PersistentID) -> SDeviceWidgetPackagescripted
public func GetThumbnailWidgets() -> array<SThumbnailWidgetPackage>scripted
public func GetWidgetTypeName() -> CNamescripted
public const func HasAnySlave() -> Boolscripted
protected func Initialize()scripted
public const func IsMasterType() -> Boolscripted
public final func NetrunnerGiveConnectedDevices() -> array<ref<DeviceComponentPS>>scripted
protected func OnDeviceDynamicConnectionChange(evt: ref<DeviceDynamicConnectionChange>) -> EntityNotificationTypescripted
protected func OnFillTakeOverChainBBoardEvent(evt: ref<FillTakeOverChainBBoardEvent>) -> EntityNotificationTypescripted
protected cb func OnInstantiated() -> Boolscripted
protected func OnRefreshSlavesEvent(evt: ref<RefreshSlavesEvent>) -> EntityNotificationTypescripted
public func OnRequestDeviceWidgetUpdate(evt: ref<RequestDeviceWidgetUpdateEvent>)scripted
public func OnRequestThumbnailWidgetsUpdate(evt: ref<RequestThumbnailWidgetsUpdateEvent>)scripted
public final func RefreshDefaultHighlightOnSlaves()scripted
public final func RefreshPowerOnSlaves_Event()scripted
public final func RefreshSlaves_Event(opt onInitialize: Bool, opt force: Bool)scripted
public final func RequestAllDevicesWidgetsUpdate(blackboard: ref<IBlackboard>)scripted
public final func RequestAreaEffectVisualisationUpdateOnSlaves(areaEffectID: CName, show: Bool)scripted
public func RequestDeviceWidgetsUpdate(blackboard: ref<IBlackboard>, deviceID: PersistentID)scripted
public func RequestDeviceWidgetsUpdate(blackboard: ref<IBlackboard>, devices: script_ref<array<PersistentID>>)scripted
public func RequestThumbnailWidgetsUpdate(blackboard: ref<IBlackboard>)scripted
public func RevealDevicesGrid(shouldDraw: Bool, opt ownerEntityPosition: Vector4, opt fxDefault: FxResource, opt isPing: Bool, opt lifetime: Float, opt revealSlave: Bool, opt revealMaster: Bool, opt ignoreRevealed: Bool)scripted
protected final const func SendActionsToAllSlaves(actions: script_ref<array<ref<ScriptableDeviceAction>>>)scripted
protected const func SendActionToAllSlaves(action: ref<ScriptableDeviceAction>)scripted
protected final const func SendEventToAllSlaves(evt: ref<Event>)scripted
public final func SetSlavesAsQuestImportant(isImportant: Bool)scripted