api:component
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api:component [2021/07/15 15:03] – external edit 127.0.0.1 | api:component [2024/02/06 13:53] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
Inherited by: | Inherited by: | ||
- | * [[api:comp_building_part|COMP_BUILDING_PART]] | + | * [[:api:comp_abstract_buildable|COMP_ABSTRACT_BUILDABLE]] |
- | * [[api:comp_rigid_body|COMP_RIGID_BODY]] | + | * [[:api:comp_agent|COMP_AGENT]] |
- | * [[api:comp_dirt_rectangle|COMP_DIRT_RECTANGLE]] | + | * [[:api:comp_agent_need_processor|COMP_AGENT_NEED_PROCESSOR]] |
- | * [[api:comp_plantable|COMP_PLANTABLE]] | + | * [[:api:comp_building_attach_node|COMP_BUILDING_ATTACH_NODE]] |
- | * [[api:comp_crop_field_element|COMP_CROP_FIELD_ELEMENT]] | + | * [[:api:comp_building_manager|COMP_BUILDING_MANAGER]] |
- | * [[api:comp_particle_emitter_toggle|COMP_PARTICLE_EMITTER_TOGGLE]] | + | * [[:api:comp_building_zone|COMP_BUILDING_ZONE]] |
- | * [[api:comp_main_game_loop|COMP_MAIN_GAME_LOOP]] | + | * [[:api:comp_crop_field_element|COMP_CROP_FIELD_ELEMENT]] |
- | * [[api:comp_particle_emitter|COMP_PARTICLE_EMITTER]] | + | * [[:api:comp_dirt_circle|COMP_DIRT_CIRCLE]] |
- | * [[api:comp_building_attach_node|COMP_BUILDING_ATTACH_NODE]] | + | * [[:api:comp_dirt_rectangle|COMP_DIRT_RECTANGLE]] |
- | * [[api: | + | * [[:api: |
- | * [[api:comp_agent|COMP_AGENT]] | + | * [[:api:comp_guest|COMP_GUEST]] |
- | * [[api:comp_villager|COMP_VILLAGER]] | + | * [[:api:comp_immigration_manager|COMP_IMMIGRATION_MANAGER]] |
- | * [[api:comp_resource_container|COMP_RESOURCE_CONTAINER]] | + | * [[:api:comp_interactive_location|COMP_INTERACTIVE_LOCATION]] |
- | * [[api:comp_workplace|COMP_WORKPLACE]] | + | * [[:api:comp_inventory|COMP_INVENTORY]] |
- | * [[api:comp_building|COMP_BUILDING]] | + | * [[:api:comp_livestock|COMP_LIVESTOCK]] |
- | * [[api:comp_building_manager|COMP_BUILDING_MANAGER]] | + | * [[:api:comp_lodging|COMP_LODGING]] |
- | * [[api:comp_building_zone|COMP_BUILDING_ZONE]] | + | * [[:api:comp_main_game_loop|COMP_MAIN_GAME_LOOP]] |
- | * [[api: | + | * [[: |
- | * [[api:comp_dirt_circle|COMP_DIRT_CIRCLE]] | + | * [[: |
- | * [[api: | + | * [[: |
- | * [[api: | + | * [[: |
+ | * [[: | ||
+ | * [[:api: | ||
+ | * [[:api:comp_resource_container|COMP_RESOURCE_CONTAINER]] | ||
+ | * [[: | ||
+ | * [[:api: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[:api: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | |||
+ | |||
+ | |||
+ | ===== Properties ===== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Enabled ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
===== Functions ===== | ===== Functions ===== | ||
Line 33: | Line 62: | ||
==== getOwner ==== | ==== getOwner ==== | ||
- | '' | + | '' |
Line 40: | Line 69: | ||
==== getLevel ==== | ==== getLevel ==== | ||
- | '' | + | '' |
Line 47: | Line 76: | ||
==== isPreInitialized ==== | ==== isPreInitialized ==== | ||
- | '' | + | '' |
Line 54: | Line 83: | ||
==== isInitialized ==== | ==== isInitialized ==== | ||
- | '' | + | '' |
Line 61: | Line 90: | ||
==== isEnabled ==== | ==== isEnabled ==== | ||
- | '' | + | '' |
+ | |||
+ | Deprecated since version 1.8.1; use Enabled property instead | ||
Line 68: | Line 99: | ||
==== hasEnabledFlag ==== | ==== hasEnabledFlag ==== | ||
- | '' | + | '' |
Line 75: | Line 106: | ||
==== init ==== | ==== init ==== | ||
- | **[[: | + | //[[: |
'' | '' | ||
Line 82: | Line 113: | ||
---- | ---- | ||
- | ==== finalize | + | ==== onFinalize |
- | **[[: | + | //[[: |
- | '' | + | '' |
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
- | | //'' | + | | //'' |
---- | ---- | ||
- | ==== destroy | + | ==== onDestroy |
- | **[[: | + | //[[: |
- | '' | + | '' |
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
- | | //'' | + | | //'' |
---- | ---- | ||
Line 106: | Line 137: | ||
==== onEnabled ==== | ==== onEnabled ==== | ||
- | **[[: | + | //[[: |
'' | '' | ||
Line 115: | Line 146: | ||
==== onDisabled ==== | ==== onDisabled ==== | ||
- | **[[: | + | //[[: |
'' | '' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== getComponentType ==== | ||
+ | |||
+ | '' | ||
+ | |||
api/component.1626375831.txt.gz · Last modified: 2021/07/15 15:03 by 127.0.0.1