LogicImportOption

LogicImportOption

class

One importable 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

NameTypeDescription
signal StaticItem Signal item this option imports
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.

LogicImportOption.cast(object) Trying to cast Object into LogicImportOption
LogicImportOption.get_class() Return LogicImportOption class object
LogicImportOption.find(name) Looks LogicImportOption up in db, nil when there is none
LogicImportOption.get(name) Takes LogicImportOption from db, reports a miss to the log
LogicImportOption.reg(name, spec) load-only Register a new LogicImportOption static object, or take the registered one of that name
Inherited from Prototype (2)
Inherited from Object (1)

Used by