|
Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
|
Public Member Functions | |
| void | fromModData (table modData) |
| boolean | checkForWallExploit (IsoGridSquare square) |
| CTrapGlobalObject (CTrapSystem luaSystem, GlobalObject globalObject) | |
| Public Member Functions inherited from CGlobalObject | |
| void | noise (string message) |
| IsoObject | getIsoObject () |
| IsoGridSquare | getSquare () |
| void | fromModData (table modData) |
| void | updateFromIsoObject () |
| CGlobalObject (CGlobalObjectSystem luaSystem, GlobalObject globalObject) | |
| Public Member Functions inherited from ISBaseObject | |
| void | initialise () |
| ISBaseObject | derive (string type) |
| void | addEventListener (string _event, function _callback, unknown _target) |
| void | removeEventListener (string _event, function _callback) |
| void | triggerEvent (string _event, unknown ...) |
| void | clearEventListeners () |
| ISBaseObject () | |
Public Attributes | |
| string | bait |
| umbrella::TrapAnimalDefinition | animal |
| Public Attributes inherited from CGlobalObject | |
| CGlobalObjectSystem | luaSystem |
| GlobalObject | globalObject |
| number | x |
| number | y |
| number | z |
| Public Attributes inherited from ISBaseObject | |
| string | Type |
| table< string, table< function, unknown > > | __eventListeners |
| CTrapGlobalObject::CTrapGlobalObject | ( | CTrapSystem | luaSystem, |
| GlobalObject | globalObject ) |
| boolean CTrapGlobalObject::checkForWallExploit | ( | IsoGridSquare | square | ) |
| void CTrapGlobalObject::fromModData | ( | table | modData | ) |
| umbrella::TrapAnimalDefinition CTrapGlobalObject::animal |
| string CTrapGlobalObject::bait |