OpenRA.TileSet.TryGetTerrainIndex C# (CSharp) Method

TryGetTerrainIndex() public method

public TryGetTerrainIndex ( string type, byte &index ) : bool
type string
index byte
return bool
        public bool TryGetTerrainIndex(string type, out byte index)
        {
            return terrainIndexByType.TryGetValue(type, out index);
        }