WireRepairable
classscriptedClass
extends GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 5
| Name | Type | Flags |
|---|---|---|
brokenmesh | ref<IVisualComponent> | scriptedprivate |
dependableEntities | array<NodeRef> | scriptedprivate |
fixedmesh | ref<IVisualComponent> | scriptedprivate |
interaction | ref<InteractionComponent> | scriptedprivate |
isBroken | Bool | scriptedpublic |
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