DB
classPrototype database filled by mods
Functions
DB:remove(proto)
Remove Prototype from DB
| proto | Prototype | Prototype to remove |
returns boolean was Prototype removed
DB:from_table(table)
Register object with class "class" and name "name" from table, filling all other properties from that table too
| table | table | Object table |
Standard members (4)
Generated for every class of this kind by the game's codegen, not written for DB.
| DB.cast(object) | Trying to cast Object into DB |
| DB.get_class() | Return DB class object |
| DB.new(parent, name) | Creates a new DB instance |
| DB.new_simple() | Creates a new DB instance |
Inherited from Instance (1)
- Instance:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (3)
- name Object name
- Object.find(name) Find an already loaded object by name
- Object:get_class() Class of this object