Méthode | 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 | |
Résultat | IEnumerable |
public static FromMapPos ( ulong v ) : Vector3i | ||
v | ulong | |
Résultat | Vector3i |
public static Index2d ( int x, int y, int sizex ) : int | ||
x | int | |
y | int | |
sizex | int | |
Résultat | 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 | |
Résultat | int |
public static IsSolidChunk ( byte chunk ) : bool | ||
chunk | byte | |
Résultat | 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 | |
Résultat | bool |
public static IsValidPos ( IMapStorage map, int x, int y, int z ) : bool | ||
map | IMapStorage | |
x | int | |
y | int | |
z | int | |
Résultat | bool |
public static PlayerArea ( int playerAreaSize, int centerAreaSize, Vector3i blockPosition ) : Point | ||
playerAreaSize | int | |
centerAreaSize | int | |
blockPosition | Vector3i | |
Résultat | Point |
public static PlayerCenterArea ( int playerAreaSize, int centerAreaSize, Vector3i blockPosition ) : Point | ||
playerAreaSize | int | |
centerAreaSize | int | |
blockPosition | Vector3i | |
Résultat | Point |
public static Pos ( int index, int sizex, int sizey ) : Vector3i | ||
index | int | |
sizex | int | |
sizey | int | |
Résultat | Vector3i |
public static SearchColumn ( IMapStorage map, int x, int y, int id ) : int | ||
map | IMapStorage | |
x | int | |
y | int | |
id | int | |
Résultat | 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 | |
Résultat | int |
public static ToFlatMap ( byte map ) : byte[] | ||
map | byte | |
Résultat | byte[] |
public static ToMapPos ( int x, int y, int z ) : ulong | ||
x | int | |
y | int | |
z | int | |
Résultat | ulong |
public static blockheight ( IMapStorage map, int tileidempty, int x, int y ) : int | ||
map | IMapStorage | |
tileidempty | int | |
x | int | |
y | int | |
Résultat | int |