preview:api:building_function
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
preview:api:building_function [2020/07/07 17:52] – maxime | preview:api:building_function [2023/12/12 12:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== BUILDING_FUNCTION ====== | ====== BUILDING_FUNCTION ====== | ||
- | //Abstract class//\\ | + | **[[: |
**Category**: | **Category**: | ||
- | |||
- | **Extendable** | ||
Parent class: | Parent class: | ||
Inherited by: | Inherited by: | ||
+ | * [[preview: | ||
* [[preview: | * [[preview: | ||
+ | * [[preview: | ||
+ | * [[preview: | ||
* [[preview: | * [[preview: | ||
- | * [[preview: | + | * [[preview: |
- | * [[preview: | + | * [[preview: |
+ | * [[preview: | ||
+ | * [[preview: | ||
* [[preview: | * [[preview: | ||
- | * [[preview: | + | * [[preview: |
* [[preview: | * [[preview: | ||
- | * [[preview: | ||
- | * [[preview: | ||
- | * [[preview: | ||
- | * [[preview: | ||
* [[preview: | * [[preview: | ||
+ | * [[preview: | ||
+ | * [[preview: | ||
+ | * [[preview: | ||
+ | * [[preview: | ||
* [[preview: | * [[preview: | ||
- | * [[preview: | + | |
[[preview: | [[preview: | ||
Line 30: | Line 34: | ||
==== Name ==== | ==== Name ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Description ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: '' | ||
---- | ---- | ||
==== HasMaximumInstance ==== | ==== HasMaximumInstance ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: '' | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 41: | Line 59: | ||
==== MaximumInstanceAllowed ==== | ==== MaximumInstanceAllowed ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: '' | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 47: | Line 68: | ||
==== UpkeepPerCapacity ==== | ==== UpkeepPerCapacity ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Can also be built from**: '' | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== UpkeepPerCapacityMultiplier ==== | ==== UpkeepPerCapacityMultiplier ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: '' | ||
* **Default value**: '' | * **Default value**: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== GameRuleModifierList ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== IsDescriptionOverride ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== ShowNameInTags ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== IsDisplayable ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
+ | |||
===== Functions ===== | ===== Functions ===== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== onBuildingFunctionKnown ==== | ||
+ | |||
+ | // | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
---- | ---- | ||
==== onBuildingFunctionAvailable ==== | ==== onBuildingFunctionAvailable ==== | ||
+ | |||
+ | // | ||
+ | |||
'' | '' | ||
Line 67: | Line 145: | ||
==== activateBuilding ==== | ==== activateBuilding ==== | ||
- | '' | + | |
+ | // | ||
+ | |||
+ | '' | ||
+ | |||
+ | Deprecated since version 1.9.7; Override onInit instead | ||
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| //'' | | //'' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== onInit ==== | ||
+ | |||
+ | // | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== onSetIsActive ==== | ||
+ | |||
+ | // | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | | //'' | ||
---- | ---- | ||
==== reloadBuildingFunction ==== | ==== reloadBuildingFunction ==== | ||
+ | |||
+ | // | ||
+ | |||
'' | '' | ||
Line 83: | Line 192: | ||
==== removeBuildingFunction ==== | ==== removeBuildingFunction ==== | ||
+ | |||
+ | // | ||
+ | |||
'' | '' | ||
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| //'' | | //'' | ||
+ | |||
preview/api/building_function.txt · Last modified: 2023/12/12 12:15 by 127.0.0.1