Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagFriend = 0x01 FlagIgnored = 0x02 FlagMuted = 0x04 FlagRecruitAFriend = 0x08 )
View Source
const ( FriendDBError = 0x00 FriendListFull = 0x01 FriendOnline = 0x02 FriendOffline = 0x03 FriendNotFound = 0x04 FriendRemoved = 0x05 FriendAddedOnline = 0x06 FriendAddedOffline = 0x07 FriendAlready = 0x08 FriendSelf = 0x09 FriendEnemy = 0x0A FriendIgnoreFull = 0x0B FriendIgnoreSelf = 0x0C FriendIgnoreNotFound = 0x0D FriendIgnoreAlready = 0x0E FriendIgnoreAdded = 0x0F FriendIgnoreRemoved = 0x10 FriendIgnoreAmbiguous = 0x11 // That name is ambiguous, type more of the player's server name FriendMuteFull = 0x12 FriendMuteSelf = 0x13 FriendMuteNotFound = 0x14 FriendMuteAlready = 0x15 FriendMuteAdded = 0x16 FriendMuteRemoved = 0x17 FriendMuteAmbiguous = 0x18 // That name is ambiguous, type more of the player's server name FriendUnk1 = 0x19 // no message at client FriendUnk2 = 0x1A FriendUnk3 = 0x1B FriendUnknown = 0x1C // Unknown friend response from server )
View Source
const DefaultContactFlags uint32 = 0x7
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactList ¶
func (*ContactList) Decode ¶
func (cl *ContactList) Decode(build vsn.Build, in *packet.WorldPacket) error
func (*ContactList) Encode ¶
func (cl *ContactList) Encode(build vsn.Build, out *packet.WorldPacket) error
type ContactStatus ¶
func (*ContactStatus) Decode ¶
func (c *ContactStatus) Decode(build vsn.Build, in *packet.WorldPacket) (err error)
func (*ContactStatus) Encode ¶
func (c *ContactStatus) Encode(build vsn.Build, out *packet.WorldPacket) (err error)
type FriendResult ¶
type FriendResult uint8
type FriendStatus ¶
type FriendStatus struct { Result FriendResult ID guid.GUID Note string ContactStatus }
func (*FriendStatus) Decode ¶
func (fs *FriendStatus) Decode(build vsn.Build, in *packet.WorldPacket) (err error)
func (*FriendStatus) Encode ¶
func (fs *FriendStatus) Encode(build vsn.Build, out *packet.WorldPacket) error
type PlayerList ¶
func (*PlayerList) Decode ¶
func (l *PlayerList) Decode(build vsn.Build, in *packet.WorldPacket) error
func (*PlayerList) Encode ¶
func (l *PlayerList) Encode(build vsn.Build, out *packet.WorldPacket) error
type WhoRequest ¶
type WhoRequest struct {
LevelMin, LevelMax uint32
PlayerName, GuildName string
RaceMask, ClassMask uint32
ZonesCount uint32
Strings []string
}
func (*WhoRequest) Decode ¶
func (wr *WhoRequest) Decode(build vsn.Build, e *packet.WorldPacket) error
Click to show internal directories.
Click to hide internal directories.