Method | Description | |
---|---|---|
BlocksAround ( Vector3 pos ) : IEnumerable |
||
FromMapPos ( ulong v ) : Vector3i | ||
Index2d ( int x, int y, int sizex ) : int | ||
Index3d ( int x, int y, int h, int sizex, int sizey ) : int | ||
IsSolidChunk ( byte chunk ) : bool | ||
IsValidChunkPos ( IMapStorage map, int cx, int cy, int cz, int chunksize ) : bool | ||
IsValidPos ( IMapStorage map, int x, int y, int z ) : bool | ||
PlayerArea ( int playerAreaSize, int centerAreaSize, Vector3i blockPosition ) : Point | ||
PlayerCenterArea ( int playerAreaSize, int centerAreaSize, Vector3i blockPosition ) : Point | ||
Pos ( int index, int sizex, int sizey ) : Vector3i | ||
SearchColumn ( IMapStorage map, int x, int y, int id ) : int | ||
SearchColumn ( IMapStorage map, int x, int y, int id, int startH ) : int | ||
ToFlatMap ( byte map ) : byte[] | ||
ToMapPos ( int x, int y, int z ) : ulong | ||
blockheight ( IMapStorage map, int tileidempty, int x, int y ) : int |
public static BlocksAround ( Vector3 pos ) : IEnumerable |
||
pos | Vector3 | |
return | IEnumerable |
public static FromMapPos ( ulong v ) : Vector3i | ||
v | ulong | |
return | Vector3i |
public static Index2d ( int x, int y, int sizex ) : int | ||
x | int | |
y | int | |
sizex | int | |
return | int |
public static Index3d ( int x, int y, int h, int sizex, int sizey ) : int | ||
x | int | |
y | int | |
h | int | |
sizex | int | |
sizey | int | |
return | int |
public static IsSolidChunk ( byte chunk ) : bool | ||
chunk | byte | |
return | bool |
public static IsValidChunkPos ( IMapStorage map, int cx, int cy, int cz, int chunksize ) : bool | ||
map | IMapStorage | |
cx | int | |
cy | int | |
cz | int | |
chunksize | int | |
return | bool |
public static IsValidPos ( IMapStorage map, int x, int y, int z ) : bool | ||
map | IMapStorage | |
x | int | |
y | int | |
z | int | |
return | bool |
public static PlayerArea ( int playerAreaSize, int centerAreaSize, Vector3i blockPosition ) : Point | ||
playerAreaSize | int | |
centerAreaSize | int | |
blockPosition | Vector3i | |
return | Point |
public static PlayerCenterArea ( int playerAreaSize, int centerAreaSize, Vector3i blockPosition ) : Point | ||
playerAreaSize | int | |
centerAreaSize | int | |
blockPosition | Vector3i | |
return | Point |
public static Pos ( int index, int sizex, int sizey ) : Vector3i | ||
index | int | |
sizex | int | |
sizey | int | |
return | Vector3i |
public static SearchColumn ( IMapStorage map, int x, int y, int id ) : int | ||
map | IMapStorage | |
x | int | |
y | int | |
id | int | |
return | int |
public static SearchColumn ( IMapStorage map, int x, int y, int id, int startH ) : int | ||
map | IMapStorage | |
x | int | |
y | int | |
id | int | |
startH | int | |
return | int |
public static ToFlatMap ( byte map ) : byte[] | ||
map | byte | |
return | byte[] |
public static ToMapPos ( int x, int y, int z ) : ulong | ||
x | int | |
y | int | |
z | int | |
return | ulong |
public static blockheight ( IMapStorage map, int tileidempty, int x, int y ) : int | ||
map | IMapStorage | |
tileidempty | int | |
x | int | |
y | int | |
return | int |