query

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EntryNotFound = 0x80000000

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name struct {
	ID guid.GUID
}

func (*Name) Decode

func (nq *Name) Decode(build vsn.Build, in *packet.WorldPacket) (err error)

func (*Name) Encode

func (nq *Name) Encode(build vsn.Build, out *packet.WorldPacket) error

type NameResponse

type NameResponse struct {
	ID        guid.GUID
	NotFound  bool
	Name      string
	RealmName string
	Race      models.Race
	Class     models.Class
	BodyType  uint8

	DeclinedNames []string
}
if s.Build().AddedIn(vsn.V2_4_3) {
	resp.WriteByte(0)
}

func (*NameResponse) Decode

func (nr *NameResponse) Decode(build vsn.Build, in *packet.WorldPacket) (err error)

func (*NameResponse) Encode

func (nr *NameResponse) Encode(build vsn.Build, out *packet.WorldPacket) error

type PetName

type PetName struct {
	PetNumber uint32
	PetGUID   guid.GUID
}

func (*PetName) Decode

func (p *PetName) Decode(build vsn.Build, in *packet.WorldPacket) (err error)

func (*PetName) Encode

func (p *PetName) Encode(build vsn.Build, out *packet.WorldPacket) (err error)

type PetNameResponse

type PetNameResponse struct {
	PetNumber        uint32
	PetName          string
	PetNameTimestamp uint32
}

func (*PetNameResponse) Decode

func (p *PetNameResponse) Decode(build vsn.Build, in *packet.WorldPacket) (err error)

func (*PetNameResponse) Encode

func (p *PetNameResponse) 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