api:comp_lodging
Table of Contents
COMP_LODGING
Category: Component
Parent class: COMPONENT
Properties
AssetBuildingFunctionLodging
- Expected:
asset ID
Functions
registerGuest
unregisterGuest
isFull
boolean isFull()
getCurrentOccupationCount
integer getCurrentOccupationCount()
getGuestList
list<COMP_GUEST> getGuestList()
isClosed
boolean isClosed()
getCapacity
integer getCapacity()
Events
ON_LODGING_CHANGED
ON_LODGING_CHANGED(integer currentOccupationCount)
api/comp_lodging.txt · Last modified: 2023/10/02 13:54 by 127.0.0.1