Class LivingEquipmentList
Equipment data for a Living
Inheritance
System.Object
LivingEquipmentList
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class LivingEquipmentList : object
Constructors
LivingEquipmentList(String)
Get an EquipmentList
Declaration
public LivingEquipmentList(string loc)
Parameters
Type | Name | Description |
---|---|---|
System.String | loc | The EquipmentList to fetch |
Properties
AutoSelect
Set to true will consider this list as a way to equip people with weapons/armors. According ammo will be supplied automatically. And the "Count" field for individual items will be their probablity to spawn compared to others equipment of the same type.
Declaration
public bool AutoSelect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Inventory
Item(s) to grant
Declaration
public List<InventoryItem> Inventory { get; set; }
Property Value
Type | Description |
---|---|
List<InventoryItem> |
Methods
GetInventory()
Get the Inventory JSON property.
Declaration
public List<InventoryItem> GetInventory()
Returns
Type | Description |
---|---|
List<InventoryItem> |
SetInventory(List<InventoryItem>)
Set the Inventory JSON property.
Declaration
public void SetInventory(List<InventoryItem> value)
Parameters
Type | Name | Description |
---|---|---|
List<InventoryItem> | value |