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

Public Member Functions

void initSystem ()
SFeedingTroughGlobalObject newLuaObject (GlobalObject globalObject)
SFeedingTroughGlobalObject addTrough (IsoGridSquare grid, umbrella::FeedingTroughDefinition def, boolean north, boolean slave)
boolean isValidIsoObject (IsoObject isoObject)
void OnClientCommand (string command, IsoPlayer playerObj, table args)
 SFeedingTroughSystem ()
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 SFeedingTroughSystem 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

◆ SFeedingTroughSystem()

SFeedingTroughSystem::SFeedingTroughSystem ( )

Member Function Documentation

◆ addTrough()

SFeedingTroughGlobalObject SFeedingTroughSystem::addTrough ( IsoGridSquare grid,
umbrella::FeedingTroughDefinition def,
boolean north,
boolean slave )

◆ initSystem()

void SFeedingTroughSystem::initSystem ( )

◆ isValidIsoObject()

boolean SFeedingTroughSystem::isValidIsoObject ( IsoObject isoObject)

◆ newLuaObject()

SFeedingTroughGlobalObject SFeedingTroughSystem::newLuaObject ( GlobalObject globalObject)

◆ OnClientCommand()

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

Member Data Documentation

◆ instance

SFeedingTroughSystem SFeedingTroughSystem::instance
static

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