User Tools

Site Tools


preview:api:building_function_market

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
preview:api:building_function_market [2019/10/07 17:07] maximepreview:api:building_function_market [2023/12/12 12:15] (current) – external edit 127.0.0.1
Line 5: Line 5:
 Parent class:  [[preview:api:building_function_workplace|BUILDING_FUNCTION_WORKPLACE]]\\ Parent class:  [[preview:api:building_function_workplace|BUILDING_FUNCTION_WORKPLACE]]\\
  
-[[preview:assets:building_function_market| List of BUILDING_FUNCTION_MARKET assets]]+ 
 + 
 +[[preview:assets:building_function#building_function_market| List of BUILDING_FUNCTION_MARKET assets]]
  
 ===== Properties ===== ===== Properties =====
Line 12: Line 14:
  
 ==== TypeList ==== ==== TypeList ====
-See [[api:resource_type|RESOURCE_TYPE]] for the list of core resource types +//[[:annotations#serialized|Serialized]]// 
-  * **Type**: ''List<String>''+ 
 +  * **Type**: ''[[preview:data-types#list|list]]<[[preview:api:resource_type|RESOURCE_TYPE]]>'' 
 +  * **Expected**: ''list of enum values''
  
 ---- ----
  
-==== ResourceSlotCount ==== +==== SlotCount ==== 
-  * **Type**: ''Integer''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' 
 +  * **Expected**: ''integer value''
   * **Default value**: ''1''   * **Default value**: ''1''
  
Line 24: Line 31:
  
 ==== CapacityMultiplier ==== ==== CapacityMultiplier ====
 +//[[:annotations#serialized|Serialized]]//
 +
 Used only if [[api:building_function_market#IsOverrideCapacity|IsOverrideCapacity]] is set to ''false'' Used only if [[api:building_function_market#IsOverrideCapacity|IsOverrideCapacity]] is set to ''false''
-  * **Type**: ''Integer''+ 
 +  * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' 
 +  * **Expected**: ''integer value''
   * **Default value**: ''20''   * **Default value**: ''20''
  
Line 31: Line 42:
  
 ==== IsOverrideCapacity ==== ==== IsOverrideCapacity ====
 +//[[:annotations#serialized|Serialized]]//
 +
 If set to ''true'', the market's resource capacity will be equal to [[api:building_function_market#CapacityPerSlot|CapacityPerSlot]]. If set to ''false'', it will be equal to the owning building part's [[api:building_part#VillagerCapacity|VillagerCapacity]] multiplied by [[api:building_function_market#CapacityMultiplier|CapacityMultiplier]] If set to ''true'', the market's resource capacity will be equal to [[api:building_function_market#CapacityPerSlot|CapacityPerSlot]]. If set to ''false'', it will be equal to the owning building part's [[api:building_part#VillagerCapacity|VillagerCapacity]] multiplied by [[api:building_function_market#CapacityMultiplier|CapacityMultiplier]]
-  * **Type**: ''Boolean''+ 
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
 +  * **Expected**: ''boolean value''
   * **Default value**: ''false''   * **Default value**: ''false''
  
Line 38: Line 53:
  
 ==== CapacityPerSlot ==== ==== CapacityPerSlot ====
 +//[[:annotations#serialized|Serialized]]//
 +
 Used only if [[api:building_function_market#IsOverrideCapacity|IsOverrideCapacity]] is set to ''true'' Used only if [[api:building_function_market#IsOverrideCapacity|IsOverrideCapacity]] is set to ''true''
-  * **Type**: ''Integer''+ 
 +  * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' 
 +  * **Expected**: ''integer value''
   * **Default value**: ''20''   * **Default value**: ''20''
 +
 +----
 +
 +==== SortOrder ====
 +//[[:annotations#serialized|Serialized]]//
 +
 +Defines the placement of this market in the market window (the lower ''SortOrder'' is, the higher the market will be in the market list)
 +
 +  * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]''
 +  * **Expected**: ''integer value''
 +  * **Default value**: ''1000''
  
  
preview/api/building_function_market.txt · Last modified: 2023/12/12 12:15 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki