Ejemplo n.º 1
0
 public static teMapPlaceableData GetPlaceableData(STUMapHeader map, Enums.teMAP_PLACEABLE_TYPE modelGroup)
 {
     using (Stream stream = OpenFile(map.GetChunkKey(modelGroup))) {
         if (stream == null)
         {
             return(null);
         }
         return(new teMapPlaceableData(stream, modelGroup));
     }
 }
Ejemplo n.º 2
0
Archivo: Map.cs Proyecto: ipud2/OWLib
 public static teMapPlaceableData GetPlaceableData(STUMapHeader map, byte type)
 {
     using (Stream stream = OpenFile(map.GetChunkKey(type))) {
         if (stream == null)
         {
             return(null);
         }
         return(new teMapPlaceableData(stream));
     }
 }