Table of Contents

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

integer_and_unsigned_integer getCapacity()

Events


ON_LODGING_CHANGED

ON_LODGING_CHANGED(integer_and_unsigned_integer currentOccupationCount)