Method |
Description |
|
AddEntity ( Player player, Position newPos ) : void |
|
|
ClearBlockUpdateQueue ( ) : void |
|
|
ClearPriorityOutputQueue ( ) : void |
|
|
DenyMovement ( ) : void |
|
|
Disconnect ( ) : void |
|
|
GetIP ( ) : IPAddress |
|
|
HideEntity ( VisibleEntity entity ) : void |
|
|
IoLoop ( ) : void |
|
|
JoinWorld ( World newWorld ) : void |
|
|
JoinWorld ( World newWorld, Position position ) : void |
|
|
JoinWorldInternal ( World newWorld, Position position, bool doUseWorldPosition ) : void |
|
|
Kick ( string message ) : void |
|
|
Kick ( string message, LeaveReason leaveReason ) : void |
Kick (asynchronous). Immediately blocks all client input, but waits until client thread sends the kick packet. |
|
KickNow ( string message ) : void |
|
|
KickNow ( string message, LeaveReason leaveReason ) : void |
Kick (synchronous). Immediately sends the kick packet. Can only be used from IoThread (this is not thread-safe). |
|
LoginSequence ( ) : void |
|
|
MeasureBandwidthUseRates ( ) : void |
|
|
MoveEntity ( VisibleEntity entity, Position newPos ) : void |
|
|
ProcessMovementPacket ( ) : void |
|
|
ProcessSetBlockPacket ( ) : void |
|
|
ReAddEntity ( VisibleEntity entity, Player player, Position newPos ) : void |
|
|
RemoveEntity ( Player player ) : void |
|
|
ResetVisibleEntities ( ) : void |
|
|
Send ( Packet packet ) : void |
Send packet (asynchronous, priority queue). This is used for most packets (movement, chat, etc). |
|
Send ( Packet packet, bool isHighPriority ) : void |
|
|
SendDelayed ( Packet packet ) : void |
Send packet (asynchronous, delayed queue). This is currently only used for block updates. |
|
SendNow ( Packet packet ) : void |
Send packet to player (synchronous). Sends the packet off immediately. Should not be used from any thread other than this session's IoThread. Not thread-safe (for performance reason). |
|
Session ( TcpClient tcpClient ) : System |
|
|
Session ( World _world, TcpClient _client ) : System |
|
|
ShowEntity ( VisibleEntity entity, Position newPos ) : void |
|
|
Start ( ) : void |
|
|
ToString ( ) : string |
|
|
UpdateVisibleEntities ( ) : void |
|
|
WaitForDisconnect ( ) : void |
Blocks the calling thread until this session disconnects. |
|