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;
        }