Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectConfig ¶
ConnectConfig is the configuration for sending a player.
type Player ¶
type Player interface { Conn() *minecraft.Conn CurrentId() *atomic.Int64 Entities() *entity.Store UniqueEntities() *entity.Store Blocks() *blocks.Store RemoteDisconnect(error) Server() Server Dimension() *atomic.Int32 Send(info Info, config ...ConnectConfig) error }
Player represents a player who is connected to the server.
type Remote ¶
type Remote struct { Player Player Conn *minecraft.Conn Entities *entity.Store UniqueEntities *entity.Store Blocks *blocks.Store HandleStartGame chan bool // contains filtered or unexported fields }
Remote is a connection to a server.
Click to show internal directories.
Click to hide internal directories.