synctime

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryTime

type QueryTime struct {
}

func (*QueryTime) Decode

func (qt *QueryTime) Decode(build vsn.Build, out *packet.WorldPacket) error

func (*QueryTime) Encode

func (qt *QueryTime) Encode(build vsn.Build, out *packet.WorldPacket) error

type QueryTimeResponse

type QueryTimeResponse struct {
	Unix int32
}

func (*QueryTimeResponse) Encode

func (tr *QueryTimeResponse) Encode(build vsn.Build, out *packet.WorldPacket) error

type Request

type Request struct {
	ServerTimeMs uint32
}

func (*Request) Decode

func (r *Request) Decode(build vsn.Build, in *packet.WorldPacket) (err error)

func (*Request) Encode

func (r *Request) Encode(build vsn.Build, out *packet.WorldPacket) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL