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

Public Member Functions

boolean isValidIsoObject (IsoObject isoObject)
CPlantGlobalObject newLuaObject (GlobalObject globalObject)
void OnServerCommand (string command, table args)
number getXp (IsoPlayer character)
void changePlayer (IsoPlayer player)
 CFarmingSystem ()
Public Member Functions inherited from CGlobalObjectSystem
void noise (string message)
void initSystem ()
void initLuaObjects ()
integer false getLuaObjectCount ()
CGlobalObject getLuaObjectByIndex (integer index)
void isValidIsoObject (IsoObject isoObject)
IsoObject getIsoObjectOnSquare (IsoGridSquare square)
IsoObject getIsoObjectAt (number x, number y, number z)
void newLuaObject (GlobalObject globalObject)
CGlobalObject newLuaObjectAt (number x, number y, number z)
void removeLuaObject (CGlobalObject luaObject)
void removeLuaObjectAt (number x, number y, number z)
CGlobalObject getLuaObjectAt (number x, number y, number z)
CGlobalObject getLuaObjectOnSquare (IsoGridSquare square)
void OnLuaObjectUpdated (CGlobalObject luaObject)
void sendCommand (IsoPlayer playerObj, string command, table args)
void OnServerCommand (string command, table args)
 CGlobalObjectSystem (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 ()

Public Attributes

number hoursElapsed
Public Attributes inherited from CGlobalObjectSystem
GlobalObjectSystem system
string systemName
boolean wantNoise
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Static Public Attributes

static CFarmingSystem instance

Additional Inherited Members

Static Public Member Functions inherited from CGlobalObjectSystem
static void RegisterSystemClass (CGlobalObjectSystem luaClass)

Constructor & Destructor Documentation

◆ CFarmingSystem()

CFarmingSystem::CFarmingSystem ( )

Member Function Documentation

◆ changePlayer()

void CFarmingSystem::changePlayer ( IsoPlayer player)

◆ getXp()

number CFarmingSystem::getXp ( IsoPlayer character)

◆ isValidIsoObject()

boolean CFarmingSystem::isValidIsoObject ( IsoObject isoObject)

◆ newLuaObject()

CPlantGlobalObject CFarmingSystem::newLuaObject ( GlobalObject globalObject)

◆ OnServerCommand()

void CFarmingSystem::OnServerCommand ( string command,
table args )

Member Data Documentation

◆ hoursElapsed

number CFarmingSystem::hoursElapsed

◆ instance

CFarmingSystem CFarmingSystem::instance
static

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