gameobject

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

Documentation

Index

Constants

View Source
const (
	TypeDoor                 = 0
	TypeButton               = 1
	TypeQuestgiver           = 2
	TypeChest                = 3
	TypeBinder               = 4
	TypeGeneric              = 5
	TypeTrap                 = 6
	TypeChair                = 7
	TypeSpellFocus           = 8
	TypeText                 = 9
	TypeGoober               = 10
	TypeTransport            = 11
	TypeAreadamage           = 12
	TypeCamera               = 13
	TypeMapObject            = 14
	TypeMoTransport          = 15
	TypeDuelArbiter          = 16
	TypeFishingnode          = 17
	TypeRitual               = 18
	TypeMailbox              = 19
	TypeAuctionHouse         = 20
	TypeGuardpost            = 21
	TypeSpellcaster          = 22
	TypeMeetingstone         = 23
	TypeFlagstand            = 24
	TypeFishinghole          = 25
	TypeFlagdrop             = 26
	TypeMiniGame             = 27
	TypeLotteryKiosk         = 28
	TypeCapturePoint         = 29
	TypeAuraGenerator        = 30
	TypeDungeonDifficulty    = 31
	TypeBarberChair          = 32
	TypeDestructibleBuilding = 33
	TypeGuildBank            = 34
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	ID uint32
}

func (*Query) Decode

func (gq *Query) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*Query) Encode

func (gq *Query) Encode(build vsn.Build, out *packet.WorldPacket) error

type QueryResponse

type QueryResponse struct {
	ID uint32
	// Locale should be set by client and server. If not, English will be used as the default!
	Locale     i18n.Locale
	GameObject *models.GameObjectTemplate
}

func (*QueryResponse) Decode

func (gr *QueryResponse) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*QueryResponse) Encode

func (gr *QueryResponse) Encode(build vsn.Build, out *packet.WorldPacket) error

type Use

type Use struct {
	ID guid.GUID
}

func (*Use) Decode

func (gou *Use) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*Use) Encode

func (gou *Use) Encode(build vsn.Build, out *packet.WorldPacket) error

Jump to

Keyboard shortcuts

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