====== COMP_BUILDING_PART ====== **Category**: Component Parent class: [[:api:comp_abstract_buildable|COMP_ABSTRACT_BUILDABLE]]\\ ===== Properties ===== ---- ==== BuildingPartType ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:attach_node_type|ATTACH_NODE_TYPE]]'' * **Expected**: ''enum value'' * **Default value**: ''ATTACH_NODE_TYPE.MAJOR'' ---- ==== AttachNodes ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:comp_building_attach_node|COMP_BUILDING_ATTACH_NODE]]>'' * **Expected**: ''list of pairs of asset ID and component data type'' ---- ==== FeedbackComponentListToActivate ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:component|COMPONENT]]>'' * **Expected**: ''list of COMPONENT values'' ---- ==== IsAlwaysGrounded ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== GroundToHighestZonePoint ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== PathList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:building_path|BUILDING_PATH]]>'' * **Expected**: ''list of BUILDING_PATH values'' ===== Functions ===== ---- ==== getIsPreview ==== ''[[:data-types#boolean|boolean]] **getIsPreview**()'' ---- ==== getIsPlaced ==== ''[[:data-types#boolean|boolean]] **getIsPlaced**()'' ---- ==== isVisibleWhenBuilt ==== ''[[:data-types#boolean|boolean]] **isVisibleWhenBuilt**()'' ---- ==== isDisplayable ==== ''[[:data-types#boolean|boolean]] **isDisplayable**()'' ---- ==== isMonumentCore ==== ''[[:data-types#boolean|boolean]] **isMonumentCore**()'' ===== Events ===== ---- ==== ON_PART_BUILT ==== ''ON_PART_BUILT([[:api:comp_building_part|COMP_BUILDING_PART]])'' ---- ==== ON_PART_DESTROYED ==== ''ON_PART_DESTROYED([[:api:comp_building_part|COMP_BUILDING_PART]])'' ---- ==== ON_PARENT_BUILDING_CHANGED ==== ''ON_PARENT_BUILDING_CHANGED([[:api:comp_building_part|COMP_BUILDING_PART]] newParent, [[:api:comp_building|COMP_BUILDING]] newParent)''