ClassLuaDisplayPanelControlBehaviorextendsLuaControlBehavior
| Inherits from LuaControlBehavior |
Members
| get_message(index) | → DisplayPanelMessageDefinition | Get a specific message definition |
Get a specific message definition | ||
| set_message(index, message) | Set the message at the specified index | |
Set the message at the specified index | ||
| messages | :: RW array[DisplayPanelMessageDefinition] | The full list of configured messages. |
The full list of configured messages. | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||
| get_circuit_network(wire_connector_id) | → LuaCircuitNetwork? | |
| type | :: R defines.control_behavior.type | The concrete type of this control behavior. |
The concrete type of this control behavior. | ||
| entity | :: R LuaEntity | The entity this control behavior belongs to. |
The entity this control behavior belongs to. | ||
Methods
get_message(index) → DisplayPanelMessageDefinition
Parameters
| index | :: uint32 | Message index. |
Message index. | ||
Return values
| → DisplayPanelMessageDefinition | The message definition at the specified index. |
set_message(index, message)
Parameters
| index | :: int32 | Message index. Use |
Message index. Use | ||
| message | :: DisplayPanelMessageDefinition or nil | The message definition for the specified index. Specify |
The message definition for the specified index. Specify | ||

