Project Zomboid Lua Docs 42.13.0
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISBaseObject Class Reference
Inheritance diagram for ISBaseObject:
CGlobalObject CGlobalObjectSystem DebugChunkStateUI_Tool DebugGlobalObjectStateUI_Tool ISBaseTimedAction ISBuildingObject ISCraftInputItemNode ISCraftInputItems ISEmoteRadialMenu ISFMODEventPlayerParameterEditor ISFirearmRadialMenu ISFirearmRadialMenu::BaseCommand ISFluidContainer ISHealthPanel::BaseHandler ISInventoryWindowControlHandler ISLightSourceRadialMenu ISLootWindowFloorControlHandler ISLootWindowObjectControlHandler ISPlayerDataObject ISRichTextLayout ISTableLayoutCell ISTableLayoutColumn ISTableLayoutRow ISTimedActionQueue ISTransferAction ISTutorialPageInfo ISTutorialSetInfo ISUIElement ISWorldMapSymbolTool ISXuiTableLayoutCell ISXuiTableLayoutColumn ISXuiTableLayoutRow JoypadControllerData JoypadData LuaList MainOptions::GameOption MainOptions::GameOptions SGlobalObject SGlobalObjectSystem SadisticMusicDirector SurvivalGuideManager TileGeometryEditor_EditMode TileGeometryEditor_SceneTiles TileGeometryEditor_Tool TutorialStep WorldMapEditorLocationControl WorldMapEditorResizer umbrella::ISHealthPanel::BodyPartHandler

Public Member Functions

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 Type
table< string, table< function, unknown > > __eventListeners

Constructor & Destructor Documentation

◆ ISBaseObject()

ISBaseObject::ISBaseObject ( )

Member Function Documentation

◆ addEventListener()

void ISBaseObject::addEventListener ( string _event,
function _callback,
unknown _target )

◆ clearEventListeners()

void ISBaseObject::clearEventListeners ( )

◆ derive()

ISBaseObject ISBaseObject::derive ( string type)

◆ initialise()

void ISBaseObject::initialise ( )

◆ removeEventListener()

void ISBaseObject::removeEventListener ( string _event,
function _callback )

◆ triggerEvent()

void ISBaseObject::triggerEvent ( string _event,
unknown ...  )

Member Data Documentation

◆ __eventListeners

table<string, table<function, unknown> > ISBaseObject::__eventListeners

◆ Type

string ISBaseObject::Type

The documentation for this class was generated from the following file: