示例#1
0
        public WeaponClip(ushort capacity, ushort roundCount, WeaponRound typeOfRounds)
        {
            Capacity = capacity;

            if (roundCount > capacity)
            {
                RoundCount = capacity;
            }
            else
            {
                RoundCount = roundCount;
            }

            TypeOfRounds = typeOfRounds;
        }
示例#2
0
 public WeaponClip(ushort capacity, WeaponRound typeOfRounds)
 {
     Capacity     = capacity;
     RoundCount   = capacity;
     TypeOfRounds = typeOfRounds;
 }