Свойство | Type | Description | |
---|---|---|---|
BlockSize | int | ||
DroppedItems | List |
||
GameMode | |||
GameProjectiles | MiningGameServer.Entities.ServerProjectile[] | ||
NetworkPlayers | List |
||
Random | |||
ScheduledUpdates | List |
||
ServerNetworkManager | |||
WorldBlocks | ].BlockData[ |
Méthode | Description | |
---|---|---|
AbsoluteToTile ( Vector2 tile ) : Vector2 | ||
CanWalkThrough ( byte id ) : bool | ||
DestroyBlockGib ( int x, int y ) : void |
Destroys a block. Will cause gibbing.
|
|
DropItem ( ItemStack stack, Vector2 position, Vector2 velocity = default(Vector2), |
||
GameServer ( int port ) : System | ||
GenerateCaves ( ) : void | ||
GenerateOreVein ( int x, int y, byte id, int startX, int startY ) : void | ||
GenerateOres ( ) : void | ||
GenerateTree ( int x, int y ) : void | ||
GenerateTrees ( ) : void | ||
GenerateWorld ( ) : void | ||
GetFreeDroppedItemIndex ( ) : short | ||
GetFreeProjectileSlot ( ) : int | ||
HandleGameEvent ( byte eventID, Packet p, |
||
HurtBlock ( int x, int y, byte damage ) : void |
"Hurts" a block. Will automatically gib if enough damage is done.
|
|
ScheduleUpdate ( int x, int y, int frames = 5 ) : void | ||
SendMessageToAll ( string message ) : void | ||
SetBlock ( |
||
SetBlock ( int x, int y, short blockID, bool notify = true, byte metaData ) : void | ||
SetBlockMetaData ( int x, int y, byte metadata ) : void | ||
UnscheduleUpdate ( int x, int y ) : void | ||
Update ( |
||
UpdateScheduled ( int x, int y ) : bool |
Méthode | Description | |
---|---|---|
GetBlockAt ( Vector2 location ) : BlockData | ||
GetBlockAt ( float x, float y ) : BlockData | ||
GetBlockAt ( int x, int y ) : BlockData |
public static AbsoluteToTile ( Vector2 tile ) : Vector2 | ||
tile | Vector2 | |
Résultat | Vector2 |
public static CanWalkThrough ( byte id ) : bool | ||
id | byte | |
Résultat | bool |
public static DestroyBlockGib ( int x, int y ) : void | ||
x | int | X Co-ordinate of the block |
y | int | Y Co-ordinate of the block |
Résultat | void |
public static DropItem ( ItemStack stack, Vector2 position, Vector2 velocity = default(Vector2), |
||
stack | ItemStack | |
position | Vector2 | |
velocity | Vector2 | |
dropper | ||
Résultat | void |
public static GenerateOreVein ( int x, int y, byte id, int startX, int startY ) : void | ||
x | int | |
y | int | |
id | byte | |
startX | int | |
startY | int | |
Résultat | void |
public static GetFreeDroppedItemIndex ( ) : short | ||
Résultat | short |
public static GetFreeProjectileSlot ( ) : int | ||
Résultat | int |
public static HandleGameEvent ( byte eventID, Packet p, |
||
eventID | byte | |
p | Packet | |
player | ||
Résultat | void |
public static HurtBlock ( int x, int y, byte damage ) : void | ||
x | int | |
y | int | |
damage | byte | |
Résultat | void |
public static ScheduleUpdate ( int x, int y, int frames = 5 ) : void | ||
x | int | |
y | int | |
frames | int | |
Résultat | void |
public static SendMessageToAll ( string message ) : void | ||
message | string | |
Résultat | void |
public static SetBlock ( |
||
placer | ||
x | int | |
y | int | |
blockID | short | |
notify | bool | |
metaData | byte | |
Résultat | void |
public static SetBlock ( int x, int y, short blockID, bool notify = true, byte metaData ) : void | ||
x | int | |
y | int | |
blockID | short | |
notify | bool | |
metaData | byte | |
Résultat | void |
public static SetBlockMetaData ( int x, int y, byte metadata ) : void | ||
x | int | |
y | int | |
metadata | byte | |
Résultat | void |
public static UnscheduleUpdate ( int x, int y ) : void | ||
x | int | |
y | int | |
Résultat | void |
public Update ( |
||
time | ||
Résultat | void |
public static UpdateScheduled ( int x, int y ) : bool | ||
x | int | |
y | int | |
Résultat | bool |
public static ServerGameMode,MiningGameServer.GameModes GameMode | ||
Résultat |
public static ServerProjectile[],MiningGameServer.Entities GameProjectiles | ||
Résultat | MiningGameServer.Entities.ServerProjectile[] |
public static ServerNetworkManager,MiningGameServer ServerNetworkManager | ||
Résultat |