Exemplo 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));
     }
 }
Exemplo n.º 2
0
Arquivo: Map.cs Projeto: ipud2/OWLib
 public static teMapPlaceableData GetPlaceableData(STUMapHeader map, Enums.teMAP_PLACEABLE_TYPE modelGroup)
 {
     return(GetPlaceableData(map, (byte)modelGroup));
 }
Exemplo n.º 3
0
 public static ulong GetChunkKey(this STUMapHeader w, Enums.teMAP_PLACEABLE_TYPE type)
 {
     return((GetChunkRoot(w) & ~0xFFFF00000000ul) | ((ulong)type << 32));
 }