예제 #1
0
        private string getShooterClassString(Structs.Competitor comp)
        {
            string toReturn = "";

            Structs.Weapon weapon = CommonCode.GetWeapon(comp.WeaponId);
            toReturn += CommonCode.ConvertWeaponsClassToResultClass(weapon.WClass).ToString();

            Structs.ShootersClassShort shortSC = (Structs.ShootersClassShort)comp.ShooterClass;
            toReturn += shortSC.ToString()
                        .Replace("Klass", "");
            return(toReturn);
        }