User Tools

Site Tools


preview:api:resource

Differences

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

Link to this comparison view

Next revision
Previous revision
preview:api:resource [2019/10/02 15:19] – external edit 127.0.0.1preview:api:resource [2023/12/12 12:16] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 **Category**: Asset **Category**: Asset
 +
 +Parent class:  [[preview:api:asset|ASSET]]\\
 +Inherited by [[preview:api:blueprint|BLUEPRINT]]
 +
  
  
Line 11: Line 15:
  
 ==== ResourceName ==== ==== ResourceName ====
-  * **Type**: ''String''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#string|string]]'' 
 +  * **Expected**: ''string value'' 
 + 
 +---- 
 + 
 +==== OrderId ==== 
 +//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' 
 +  * **Expected**: ''integer value'' 
 +  * **Default value**: ''0''
  
 ---- ----
  
 ==== Icon ==== ==== Icon ====
-  * **Type**: ''[[preview:api:texture|TEXTURE]]'' +//[[:annotations#serialized|Serialized]]// 
-  * **Expected**: ''Asset ID''+ 
 +  * **Type**: ''[[preview:api:atlas_cell|ATLAS_CELL]]'' 
 +  * **Expected**: ''asset ID''
  
 ---- ----
  
 ==== ResourceTypeList ==== ==== ResourceTypeList ====
-See [[api:additional: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''
  
 ---- ----
  
 ==== ResourceLayoutType ==== ==== ResourceLayoutType ====
 +//[[:annotations#serialized|Serialized]]//
 +
   * **Type**: ''[[preview:api:resource_layout_type|RESOURCE_LAYOUT_TYPE]]''   * **Type**: ''[[preview:api:resource_layout_type|RESOURCE_LAYOUT_TYPE]]''
-  * **Expected**: ''String Enum Value'' +  * **Expected**: ''enum value'' 
-  * **Default value**: ''CRATES''+  * **Default value**: ''RESOURCE_LAYOUT_TYPE.CRATES''
  
 ---- ----
  
-==== IsTradable ==== +==== IsUnique ==== 
-  * **Type**''Boolean'' +//[[:annotations#serialized|Serialized]]//
-  * **Default value**: ''true''+
  
----- +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
- +  * **Expected**: ''boolean value'' 
-==== FillnessPerc ==== +  * **Default value**: ''false''
-  * **Type**: ''Float'' +
-  * **Default value**: ''1.0f''+
  
 ---- ----
  
-==== SellingPrice ==== +==== IsTradable ==== 
-  * **Type**: ''Float'' +//[[:annotations#serialized|Serialized]]// 
-  * **Default value**: ''1.0f''+ 
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
 +  * **Expected**: ''boolean value'' 
 +  * **Default value**: ''true''
  
 ---- ----
  
-==== BuyingPrice ==== +==== TradeBuyingPrice ==== 
-  * **Type**: ''Float'' +//[[:annotations#serialized|Serialized]]// 
-  * **Default value**: ''1.0f''+ 
 +  * **Type**: ''[[preview:api:resource_collection_value|RESOURCE_COLLECTION_VALUE]]'' 
 +  * **Can also be built from**: ''[[preview:data-types#list|list]]<[[preview:api:resource_quantity_pair|RESOURCE_QUANTITY_PAIR]]>'' 
 +  * **Expected**: ''RESOURCE_COLLECTION_VALUE value'' or ''list of RESOURCE_QUANTITY_PAIR values'' 
 +  * **Default value**: ''nil''
  
 ---- ----
  
-==== VillagerBuyingPrice ==== +==== TradeSellingPrice ==== 
-  * **Type**: ''[[preview:api:resource_quantity_pair|RESOURCE_QUANTITY_PAIR]]''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:api:resource_collection_value|RESOURCE_COLLECTION_VALUE]]'' 
 +  * **Can also be built from**: ''[[preview:data-types#list|list]]<[[preview:api:resource_quantity_pair|RESOURCE_QUANTITY_PAIR]]>'' 
 +  * **Expected**: ''RESOURCE_COLLECTION_VALUE value'' or ''list of RESOURCE_QUANTITY_PAIR values''
   * **Default value**: ''nil''   * **Default value**: ''nil''
  
Line 65: Line 95:
  
 ==== CanGoNegative ==== ==== CanGoNegative ====
-  * **Type**: ''Boolean''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
 +  * **Expected**: ''boolean value''
   * **Default value**: ''false''   * **Default value**: ''false''
  
Line 71: Line 104:
  
 ==== DisplayInInventory ==== ==== DisplayInInventory ====
-  * **Type**: ''Boolean''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
 +  * **Expected**: ''boolean value''
   * **Default value**: ''true''   * **Default value**: ''true''
  
Line 77: Line 113:
  
 ==== DisplayInToolbar ==== ==== DisplayInToolbar ====
-  * **Type**: ''Boolean''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
 +  * **Expected**: ''boolean value''
   * **Default value**: ''false''   * **Default value**: ''false''
 +
 +----
 +
 +==== DisplayGizmo ====
 +//[[:annotations#serialized|Serialized]]//
 +
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]''
 +  * **Expected**: ''boolean value''
 +  * **Default value**: ''true''
 +
 +----
 +
 +==== IsDisplayContainerTracker ====
 +//[[:annotations#serialized|Serialized]]//
 +
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]''
 +  * **Expected**: ''boolean value''
 +  * **Default value**: ''true''
  
 ---- ----
  
 ==== DepositSoundEvent ==== ==== DepositSoundEvent ====
-  * **Type**: ''String''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#string|string]]'' 
 +  * **Expected**: ''string value''
  
 ---- ----
  
 ==== GatheringSoundEvent ==== ==== GatheringSoundEvent ====
-  * **Type**: ''String''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#string|string]]'' 
 +  * **Expected**: ''string value''
  
 ---- ----
  
 ==== PlantingSoundEvent ==== ==== PlantingSoundEvent ====
-  * **Type**: ''String''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#string|string]]'' 
 +  * **Expected**: ''string value''
  
 ---- ----
  
-==== ConsumptionBehaviorOverride ==== +==== ResourceVisualPrefab ==== 
-  * **Type**: ''[[preview:api:behavior_tree|BEHAVIOR_TREE]]'' +//[[:annotations#serialized|Serialized]]// 
-  * **Expected**: ''Asset ID''+ 
 +  * **Type**: ''[[preview:api:prefab|PREFAB]]'' 
 +  * **Expected**: ''asset ID''
   * **Default value**: ''nil''   * **Default value**: ''nil''
  
 ---- ----
  
-==== ResourceVisualPrefab ====+==== IndividualResourceVisualPrefab ==== 
 +//[[:annotations#serialized|Serialized]]// 
   * **Type**: ''[[preview:api:prefab|PREFAB]]''   * **Type**: ''[[preview:api:prefab|PREFAB]]''
-  * **Expected**: ''Asset ID''+  * **Expected**: ''asset ID''
   * **Default value**: ''nil''   * **Default value**: ''nil''
  
Line 112: Line 182:
  
 ==== IsOnWater ==== ==== IsOnWater ====
-  * **Type**: ''Boolean''+//[[:annotations#serialized|Serialized]]// 
 + 
 +  * **Type**: ''[[preview:data-types#boolean|boolean]]'' 
 +  * **Expected**: ''boolean value''
   * **Default value**: ''false''   * **Default value**: ''false''
  
  
preview/api/resource.1570043990.txt.gz · Last modified: 2019/10/02 15:19 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki