Table of Contents
COMP_BUILDING
Properties
AssetBuilding
AppliedMaterialSetIndex
- Expected:
integer value
- Default value:
0
Functions
getBuildingPartList
list<COMP_BUILDING_PART> getBuildingPartList()
getSubBuildingList
list<COMP_BUILDING> getSubBuildingList()
getEditMode
Events
ON_PREVIEW_PART_ADDED
ON_PREVIEW_PART_ADDED(COMP_BUILDING_PART)
ON_PREVIEW_PART_MOVED
ON_PREVIEW_PART_MOVED(COMP_BUILDING_PART)
ON_PREVIEW_PART_PLACED
ON_PREVIEW_PART_PLACED(COMP_BUILDING_PART, boolean)
ON_EDIT_MODE_CHANGED
ON_EDIT_MODE_CHANGED(boolean)
ON_BUILDING_PART_REMOVED
ON_BUILDING_PART_REMOVED(COMP_BUILDING_PART isRootPart, boolean isRootPart)
ON_SUB_BUILDING_ADDED
ON_SUB_BUILDING_ADDED(COMP_BUILDING)
ON_SUB_BUILDING_DESTROYED
ON_SUB_BUILDING_DESTROYED(COMP_BUILDING)
ON_SUB_BUILDING_COMPLETED
ON_SUB_BUILDING_COMPLETED(COMP_BUILDING isConstructionFinished, boolean isConstructionFinished)
ON_CONSTRUCTION_STARTED
ON_CONSTRUCTION_STARTED(COMP_BUILDING)
ON_UPGRADING
ON_UPGRADING(COMP_BUILDING)
ON_BUILDING_DESTROYED
ON_BUILDING_DESTROYED(COMP_BUILDING)
ON_BUILDING_COMPLETED
ON_BUILDING_COMPLETED(COMP_BUILDING isConstructionFinished, boolean isConstructionFinished)
ON_CUSTOM_NAME_CHANGED
ON_CUSTOM_NAME_CHANGED(string)
ON_BUILDING_CHANGED
ON_BUILDING_CHANGED()
ON_BUILDING_FUNCTION_ASSIGNED
ON_BUILDING_FUNCTION_ASSIGNED()
ON_BUILDING_BATCH_CHANGE_FINISHED
ON_BUILDING_BATCH_CHANGE_FINISHED()
ON_BUILDING_BATCH_CHANGE_IN_FRAME
ON_BUILDING_BATCH_CHANGE_IN_FRAME()
ON_BUILDING_PART_BUILT
ON_BUILDING_PART_BUILT(COMP_BUILDING_PART)
ON_MATERIAL_SET_CHANGED
ON_MATERIAL_SET_CHANGED()
ON_CONSTRUCTION_CONDITION_TOGGLED
ON_CONSTRUCTION_CONDITION_TOGGLED()