コード例 #1
0
ファイル: ItemTypes.cs プロジェクト: jrfinley/Sagittarius
 public ItemTypes(ItemTypes types)
 {
     itemType           = types.ItemType;
     equipmentType      = types.EquipmentType;
     equipSlot          = types.EquipSlot;
     weightClass        = types.WeightClass;
     damageType         = types.DamageType;
     weaponRange        = types.WeaponRange;
     itemRarity         = types.Rarity;
     prefixItemModifyer = types.PrefixModifyer;
     suffixItemModifyer = types.SuffixModifyer;
 }
コード例 #2
0
ファイル: ItemTypes.cs プロジェクト: jrfinley/Sagittarius
 public ItemTypes(EItemType itemType, EEquipmentType equipmentType, EItemEquipSlot equipSlot, EItemWeightClass weightClass,
                  EWeaponDamageType damageType, EWeaponRange weaponRange, EItemRarity itemRarity,
                  EItemModifyer prefixItemModifyer = EItemModifyer.NONE, EItemModifyer suffixItemModifyer = EItemModifyer.NONE)
 {
     this.itemType           = itemType;
     this.equipmentType      = equipmentType;
     this.equipSlot          = equipSlot;
     this.weightClass        = weightClass;
     this.damageType         = damageType;
     this.weaponRange        = weaponRange;
     this.itemRarity         = itemRarity;
     this.prefixItemModifyer = prefixItemModifyer;
     this.suffixItemModifyer = suffixItemModifyer;
 }