Documentation
¶
Index ¶
- Variables
- type Conn
- func (c *Conn) ChunkRadius() int
- func (c *Conn) ClientCacheEnabled() bool
- func (c *Conn) ClientData() login.ClientData
- func (c *Conn) Close() (err error)
- func (c *Conn) Flush() error
- func (c *Conn) IdentityData() login.IdentityData
- func (c *Conn) Latency() time.Duration
- func (c *Conn) ReadPacket() (packet.Packet, error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) StartGameContext(_ context.Context, data minecraft.GameData) (err error)
- func (c *Conn) WritePacket(pk packet.Packet) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Conn ¶ added in v0.0.10
type Conn struct {
// contains filtered or unexported fields
}
func NewConn ¶ added in v0.0.10
func NewConn(conn io.ReadWriteCloser, authentication util.Authentication, pool packet.Pool) (c *Conn, err error)
func (*Conn) ClientCacheEnabled ¶ added in v0.0.10
ClientCacheEnabled ...
func (*Conn) ClientData ¶ added in v0.0.10
func (c *Conn) ClientData() login.ClientData
ClientData ...
func (*Conn) IdentityData ¶ added in v0.0.10
func (c *Conn) IdentityData() login.IdentityData
IdentityData ...
func (*Conn) ReadPacket ¶ added in v0.0.10
ReadPacket ...
func (*Conn) StartGameContext ¶ added in v0.0.10
StartGameContext ...
Click to show internal directories.
Click to hide internal directories.