コード例 #1
0
 public EquipmentItem(string name, string category, double weight, int?price, int count, RuleSource source)
 {
     _name     = name;
     _category = category;
     _weight   = weight;
     _price    = price;
     _count    = count;
     _source   = source;
 }
コード例 #2
0
 public ThiefManeuver(string name, string weapons, int?advantage, bool groupAdvantage,
                      string specificAdvantage, IList <Requirement> requirements, RuleSource source)
 {
     Name              = name;
     Weapons           = weapons;
     Advantage         = advantage;
     GroupAdvantage    = groupAdvantage;
     SpecificAdvantage = specificAdvantage;
     Requirements      = requirements;
     Source            = source;
 }
コード例 #3
0
ファイル: Race.cs プロジェクト: Trampod/SpravceDenikuDrDplus
 public Race(string name, string femaleName, Dictionary <AttributeCode, int> racialAttributes, Dictionary <AttributeCode, int> genderModifier, List <string> racialAbilities, string racialSense, int averageHeight, int averageWeight, int baseSize, bool playable, RuleSource source)
 {
     Name             = name;
     FemaleName       = femaleName;
     RacialAttributes = racialAttributes;
     GenderModifier   = genderModifier;
     RacialAbilities  = racialAbilities;
     RacialSense      = racialSense;
     AverageHeight    = averageHeight;
     AverageWeight    = averageWeight;
     BaseSize         = baseSize;
     Playable         = playable;
     Source           = source;
 }
コード例 #4
0
ファイル: Ammo.cs プロジェクト: Trampod/SpravceDenikuDrDplus
        public Ammo(string name, string category, double weight, int?price, int count, RuleSource source, int?neededStrength, int attack, int damage, string damageType, int range)
        {
            _name     = name;
            _category = category;
            _weight   = weight;
            _price    = price;
            _count    = count;
            _source   = source;

            _neededStrength = neededStrength;
            _attack         = attack;
            _damage         = damage;
            _damageType     = damageType;
            _range          = range;
        }
コード例 #5
0
ファイル: Armor.cs プロジェクト: Trampod/SpravceDenikuDrDplus
        public Armor(string name, string category, double weight, int?price, int count, RuleSource source,
                     int?neededStrength, int restriction, int protection, bool isHelmet)
        {
            _name     = name;
            _category = category;
            _weight   = weight;
            _price    = price;
            _count    = count;
            _source   = source;

            _neededStrength = neededStrength;
            _restriction    = restriction;
            _protection     = protection;
            _isHelmet       = isHelmet;
        }
コード例 #6
0
        public Shield(string name, string category, double weight, int?price, int count, RuleSource source,
                      Guid guid, string weaponCategory, int?neededStrength, int attack, int damage, string damageType, int block, int?restriction)
        {
            _name     = name;
            _category = category;
            _weight   = weight;
            _price    = price;
            _count    = count;
            _source   = source;

            _guid           = guid;
            _weaponCategory = weaponCategory;
            _neededStrength = neededStrength;
            _attack         = attack;
            _damage         = damage;
            _damageType     = damageType;
            _block          = block;
            _restriction    = restriction;
        }
コード例 #7
0
        public MeleeWeapon(string name, string category, double weight, int?price, int count, RuleSource source,
                           Guid guid, string weaponCategory, int?neededStrength, int?length, int attack, int damage, string damageType, int block, bool isTwoHanded)
        {
            _name     = name;
            _category = category;
            _weight   = weight;
            _price    = price;
            _count    = count;
            _source   = source;

            _guid           = guid;
            _weaponCategory = weaponCategory;
            _neededStrength = neededStrength;
            _length         = length;
            _attack         = attack;
            _damage         = damage;
            _damageType     = damageType;
            _block          = block;
            _isTwoHanded    = isTwoHanded;
        }