Nanook.QueenBee.Parser.PakFormat.GetQbItemType C# (CSharp) Method

GetQbItemType() public method

public GetQbItemType ( uint type ) : QbItemType
type uint
return QbItemType
        public QbItemType GetQbItemType(uint type)
        {
            for (int i = 0; i < _types.GetUpperBound(0) + 1; i++)
            {
                if (_types[i, (int)PakFormatType] == type)
                    return (QbItemType)i;
            }
            return 0;
        }