Méthode | Description | |
---|---|---|
Treasure ( int id, string name, EquipmentRarity rarity, |
Initializes a new instance of the Treasure class.
|
Méthode | Description | |
---|---|---|
ObjectInvariant ( ) : void |
public Treasure ( int id, string name, EquipmentRarity rarity, |
||
id | int | /// The id of the treasure /// |
name | string | /// The name of the treasure /// |
rarity | EquipmentRarity | /// The rarity of the treasure /// |
equipment | /// The equipment equipment in the treasure /// | |
coins | int | /// The amount of coins in the treasure /// |
Résultat | System.Diagnostics.Contracts |