Project Zomboid Lua Docs 42.20.3
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISBaseObject Class Reference
Inheritance diagram for ISBaseObject:
CGlobalObject CGlobalObjectSystem CharacterJoypadBindingUI CharacterJoypadBindingUIEntry DebugChunkStateUI_Tool DebugGlobalObjectStateUI_Tool GameOption GameOptionControllerTab GameOptions ISBaseTimedAction ISBrush ISBuildingObject ISCraftInputItemNode ISCraftInputItems ISEmoteRadialMenu ISFMODEventPlayerParameterEditor ISFirearmRadialMenu ISFirearmRadialMenu::BaseCommand ISFluidContainer ISHealthPanel::BaseHandler ISInventoryWindowControlHandler ISLightSourceRadialMenu ISLootWindowFloorControlHandler ISLootWindowObjectControlHandler ISPlayerDataObject ISRichTextLayout ISStyle ISTableLayoutCell ISTableLayoutColumn ISTableLayoutRow ISTimedActionQueue ISTransferAction ISUIElement ISUISpriteBounds ISUISpriteBoundsGetter ISUITextureGetter ISWorldMapSymbolTool ISXuiTableLayoutCell ISXuiTableLayoutColumn ISXuiTableLayoutRow JoypadControllerData JoypadData LuaList SGlobalObject SGlobalObjectSystem SadisticMusicDirector SpriteBounds_PlayStation SpriteBounds_SteamDeck SpriteBounds_XBox TileGeometryEditor_EditMode TileGeometryEditor_SceneTiles TileGeometryEditor_Tool TutorialStep WorldMapEditorLocationControl WorldMapEditorResizer

Public Member Functions

void initialise ()
ISBaseObject derive (string type)
boolean instanceof (unknown object, 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
ISBaseObject SuperType
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 ( )

◆ instanceof()

boolean ISBaseObject::instanceof ( unknown object,
string type )

◆ 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

◆ SuperType

ISBaseObject ISBaseObject::SuperType

◆ Type

string ISBaseObject::Type

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