Documentation ¶
Index ¶
- type ServerClient
- func (c *ServerClient) SendDisconnect(reason chat.Message)
- func (c *ServerClient) SendKeepAlive(id int64)
- func (c *ServerClient) SendLogin(w *world.World)
- func (c *ServerClient) SendPacket(packet pk.Packet)
- func (c *ServerClient) SendServerData(motd *chat.Message, favIcon string, enforceSecureProfile bool)
- func (c *ServerClient) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerClient ¶
type ServerClient struct {
// contains filtered or unexported fields
}
ServerClient represents a client connected to the server.
func NewServerClient ¶
func (*ServerClient) SendDisconnect ¶
func (c *ServerClient) SendDisconnect(reason chat.Message)
func (*ServerClient) SendKeepAlive ¶
func (c *ServerClient) SendKeepAlive(id int64)
func (*ServerClient) SendLogin ¶
func (c *ServerClient) SendLogin(w *world.World)
func (*ServerClient) SendPacket ¶
func (c *ServerClient) SendPacket(packet pk.Packet)
func (*ServerClient) SendServerData ¶
func (c *ServerClient) SendServerData(motd *chat.Message, favIcon string, enforceSecureProfile bool)
func (*ServerClient) Start ¶
func (c *ServerClient) Start()
Click to show internal directories.
Click to hide internal directories.