User Tools

Site Tools


api:comp_lodging

COMP_LODGING

Category: Component

Parent class: COMPONENT

Properties


AssetBuildingFunctionLodging

Runtime only, Savegame

Functions


registerGuest

void registerGuest(guest)

Name Type Description
guest COMP_GUEST

unregisterGuest

void unregisterGuest(guest)

Name Type Description
guest COMP_GUEST

isFull

boolean isFull()


getCurrentOccupationCount

integer_and_unsigned_integer getCurrentOccupationCount()


getGuestList

list<COMP_GUEST> getGuestList()


isClosed

boolean isClosed()


getCapacity

Events


ON_LODGING_CHANGED

ON_LODGING_CHANGED(integer_and_unsigned_integer currentOccupationCount)

api/comp_lodging.txt · Last modified: 2024/02/06 13:53 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki