LogicExportOption
classOne exportable signal option shown in the logic GUI
- load-only Usable only while mods load. The game seals these members once loading finishes, so a call or a write from a running world raises an error.
Fields
| Name | Type | Description | |
|---|---|---|---|
| signal | StaticItem | Signal item this option exports | |
| use_signal | boolean | Whether the GUI row shows a signal slot | |
| enabled | boolean | Initial checkbox state in the GUI | |
| label | Loc | Localized row name | |
| tooltip | Loc | Localized row tooltip | |
Standard members (5)
These members are available on all classes of this kind.
| LogicExportOption.cast(object) | Trying to cast Object into LogicExportOption |
| LogicExportOption.get_class() | Return LogicExportOption class object |
| LogicExportOption.find(name) | Looks LogicExportOption up in db, nil when there is none |
| LogicExportOption.get(name) | Takes LogicExportOption from db, reports a miss to the log |
| LogicExportOption.reg(name, spec) load-only | Register a new LogicExportOption static object, or take the registered one of that name |
Inherited from Prototype (2)
- name read-only Object name
- Prototype:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (1)
- Object:get_class() Class of this object