DarkEmu_GameServer.Systems.MasteryGet C# (CSharp) Méthode

MasteryGet() private méthode

private MasteryGet ( int id ) : byte
id int
Résultat 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