DarkEmu_GameServer.Systems.MasteryGet C# (CSharp) Метод

MasteryGet() приватный Метод

private MasteryGet ( int id ) : byte
id int
Результат byte
        byte MasteryGet(int id)
        {
            try
            {
                for (byte b = 1; b <= 7; b++)
                    if (Character.Stat.Skill.Mastery[b] == id) return b;
            }
            catch (Exception ex)
            {
                Systems.Debugger.Write(ex);
            }
            return 0;
        }
Systems