Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientPool ¶
func NewServerPool ¶
Types ¶
type Disconnect ¶
type Disconnect struct { // HideDisconnectionScreen specifies if the disconnection screen should be hidden when the client is // disconnected, meaning it will be sent directly to the main menu. HideDisconnectionScreen bool // Message is an optional message to show when disconnected. This message is only written if the // HideDisconnectionScreen field is set to true. Message string }
Disconnect may be sent by the server to disconnect the client using an optional message to send as the disconnect screen.
func (*Disconnect) Marshal ¶
func (pk *Disconnect) Marshal(io protocol.IO)
Click to show internal directories.
Click to hide internal directories.