REDNODE / GAME API

WireRepairable

classscriptedClass

extends GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 5

NameTypeFlags
brokenmeshref<IVisualComponent>scriptedprivate
dependableEntitiesarray<NodeRef>scriptedprivate
fixedmeshref<IVisualComponent>scriptedprivate
interactionref<InteractionComponent>scriptedprivate
isBrokenBoolscriptedpublic

Methods 8

private final func ChangeState(newstate: Bool) -> Boolscripted
private final func ChangeWiringBrokenOnConnectedPanels(newWiringBroken: Bool)scripted
protected cb func OnBasicInteraction(choiceEvent: ref<InteractionChoiceEvent>) -> Boolscripted
protected cb func OnGameAttached() -> Boolscripted
protected cb func OnInteractionActivated(evt: ref<InteractionActivationEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnVisionModeVisual(evt: ref<gameVisionModeVisualEvent>) -> Boolscripted