Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
SCampfireSystem Class Reference
Inheritance diagram for SCampfireSystem:
SGlobalObjectSystem ISBaseObject

Public Member Functions

void initSystem ()
SCampfireGlobalObject newLuaObject (GlobalObject globalObject)
boolean isValidModData (table modData)
boolean isValidIsoObject (IsoObject isoObject)
void convertOldModData ()
SCampfireGlobalObject addCampfire (IsoGridSquare grid)
void removeCampfire (SCampfireGlobalObject luaObject)
void putOut (SCampfireGlobalObject luaObject)
void lowerFirelvl ()
void lowerFuelAmount ()
void lowerFuelAmountSpecific (SCampfireGlobalObject luaObject, number amt)
void nearCamp (number delay)
void OnClientCommand (string command, IsoPlayer playerObj, table args)
 SCampfireSystem ()
Public Member Functions inherited from SGlobalObjectSystem
void noise (string message)
void initSystem ()
unknown getInitialStateForClient ()
integer getLuaObjectCount ()
SGlobalObject getLuaObjectByIndex (integer index)
void initLuaObjects ()
void isValidIsoObject (IsoObject isoObject)
IsoObject getIsoObjectOnSquare (IsoGridSquare square)
IsoObject getIsoObjectAt (number x, number y, number z)
void newLuaObject (GlobalObject globalObject)
SGlobalObject newLuaObjectAt (number x, number y, number z)
SGlobalObject newLuaObjectOnSquare (IsoGridSquare square)
void removeLuaObject (SGlobalObject luaObject)
void removeLuaObjectAt (number x, number y, number z)
void removeLuaObjectOnSquare (IsoGridSquare square)
void newLuaObjectOnClient (SGlobalObject luaObject)
void removeLuaObjectOnClient (SGlobalObject luaObject)
void updateLuaObjectOnClient (SGlobalObject luaObject)
SGlobalObject getLuaObjectAt (number x, number y, number z)
SGlobalObject getLuaObjectOnSquare (IsoGridSquare square)
void loadIsoObject (IsoObject isoObject)
void sendCommand (string command, table args)
void OnClientCommand (string command, IsoPlayer playerObj, table args)
void OnDestroyIsoThumpable (IsoObject isoObject, IsoPlayer playerObj)
void OnObjectAdded (IsoObject isoObject)
void OnObjectAboutToBeRemoved (IsoObject isoObject)
void OnModDataChangeItself (IsoObject isoObject)
void OnIsoObjectChangedItself (IsoObject isoObject)
void OnChunkLoaded (number wx, number wy)
 SGlobalObjectSystem (string name)
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 ()

Static Public Attributes

static SCampfireSystem instance

Additional Inherited Members

Static Public Member Functions inherited from SGlobalObjectSystem
static void RegisterSystemClass (SGlobalObjectSystem luaClass)
Public Attributes inherited from SGlobalObjectSystem
GlobalObjectSystem system
string systemName
boolean wantNoise
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Constructor & Destructor Documentation

◆ SCampfireSystem()

SCampfireSystem::SCampfireSystem ( )

Member Function Documentation

◆ addCampfire()

SCampfireGlobalObject SCampfireSystem::addCampfire ( IsoGridSquare grid)

◆ convertOldModData()

void SCampfireSystem::convertOldModData ( )

◆ initSystem()

void SCampfireSystem::initSystem ( )

◆ isValidIsoObject()

boolean SCampfireSystem::isValidIsoObject ( IsoObject isoObject)

◆ isValidModData()

boolean SCampfireSystem::isValidModData ( table modData)

◆ lowerFirelvl()

void SCampfireSystem::lowerFirelvl ( )

◆ lowerFuelAmount()

void SCampfireSystem::lowerFuelAmount ( )

◆ lowerFuelAmountSpecific()

void SCampfireSystem::lowerFuelAmountSpecific ( SCampfireGlobalObject luaObject,
number amt )

◆ nearCamp()

void SCampfireSystem::nearCamp ( number delay)

◆ newLuaObject()

SCampfireGlobalObject SCampfireSystem::newLuaObject ( GlobalObject globalObject)

◆ OnClientCommand()

void SCampfireSystem::OnClientCommand ( string command,
IsoPlayer playerObj,
table args )

◆ putOut()

void SCampfireSystem::putOut ( SCampfireGlobalObject luaObject)

◆ removeCampfire()

void SCampfireSystem::removeCampfire ( SCampfireGlobalObject luaObject)

Member Data Documentation

◆ instance

SCampfireSystem SCampfireSystem::instance
static

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