circuit_component_wirenet_connection ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 1](git.png)
Vars | |
connection_callback | Callback to invoke when the component is connected to a powernet |
---|---|
disconnection_callback | Callback to invoke when the component is disconnected from a powernet |
layer_1_action | What action sets the component to link to cable layer 1 |
layer_2_action | What action sets the component to link to cable layer 2 |
layer_3_action | What action sets the component to link to cable layer 3 |
post_set_cable_layer_callback | Callback to invoke after setting the cable layer to link to |
Var Details
connection_callback ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 22](git.png)
Callback to invoke when the component is connected to a powernet
disconnection_callback ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 25](git.png)
Callback to invoke when the component is disconnected from a powernet
layer_1_action ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 13](git.png)
What action sets the component to link to cable layer 1
layer_2_action ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 16](git.png)
What action sets the component to link to cable layer 2
layer_3_action ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 19](git.png)
What action sets the component to link to cable layer 3
post_set_cable_layer_callback ![code/modules/wiremod/dcs_components/component_wirenet_connection.dm 30](git.png)
Callback to invoke after setting the cable layer to link to