BattleNet.CheckRevision.RetrieveMpqIndex C# (CSharp) Метод

RetrieveMpqIndex() защищенный статический Метод

protected static RetrieveMpqIndex ( String mpq, uint &offset ) : bool
mpq String
offset uint
Результат bool
        protected static bool RetrieveMpqIndex(String mpq,ref uint offset)
        {
            if (mpq.Length != 14)
                return false;

            char input = mpq[9];

            if (input >= '0' && input <= '9')
            {
                offset = (uint)(input - '0');
                return true;
            }
            return false;
        }