Свойство | Тип | Описание | |
---|---|---|---|
ENABLE_CHATLOG | bool | ||
ENABLE_FORTRESS | bool | ||
LocalPlayerId | int | ||
gamepathlogs | string | ||
mapreceivedsizex | int | ||
mapreceivedsizey | int | ||
mapreceivedsizez | int | ||
receivedMapStream |
Метод | Описание | |
---|---|---|
Connect ( string serverAddress, int port, string username, string auth ) : void | ||
ConnectedPlayers ( ) : IEnumerable |
||
Disconnect ( ) : void | ||
Dispose ( ) : void | ||
Process ( ) : void |
This function should be called in program main loop. It exits immediately.
|
|
SendChat ( string s ) : void | ||
SendPacket ( byte packet ) : void | ||
SendPosition ( Vector3 position, Vector3 orientation ) : void | ||
SendSetBlock ( Vector3 position, BlockSetMode mode, int type, int materialslot ) : void |
Метод | Описание | |
---|---|---|
ChatLog ( string p ) : void | ||
CreateLoginPacket ( string username, string verificationKey ) : byte[] | ||
InvalidPlayerWarning ( byte playerid ) : void | ||
InvokeMapLoadingProgress ( int progressPercent, int progressBytes ) : void | ||
MakeValidFileName ( string name ) : string | ||
ReadAndUpdatePlayerPosition ( |
||
TryReadPacket ( ) : int | ||
UpdatePositionDiff ( byte playerid, Vector3 v ) : void |
public Connect ( string serverAddress, int port, string username, string auth ) : void | ||
serverAddress | string | |
port | int | |
username | string | |
auth | string | |
Результат | void |
public SendPosition ( Vector3 position, Vector3 orientation ) : void | ||
position | Vector3 | |
orientation | Vector3 | |
Результат | void |
public SendSetBlock ( Vector3 position, BlockSetMode mode, int type, int materialslot ) : void | ||
position | Vector3 | |
mode | BlockSetMode | |
type | int | |
materialslot | int | |
Результат | void |