Documentation
¶
Index ¶
Constants ¶
View Source
const NewResponse = vsn.V4_0_1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassAvailability ¶
type EnterEncryptedMode ¶
func (*EnterEncryptedMode) Decode ¶
func (eem *EnterEncryptedMode) Decode(build vsn.Build, in *packet.WorldPacket) error
func (*EnterEncryptedMode) Encode ¶
func (eem *EnterEncryptedMode) Encode(build vsn.Build, out *packet.WorldPacket) error
type Legacy ¶
type Legacy uint8
const ( Ok Legacy = 0x0C Failed Legacy = 0x0D Reject Legacy = 0x0E BadServerProof Legacy = 0x0F SystemError Legacy = 0x11 BillingError Legacy = 0x12 BillingExpired Legacy = 0x13 VersionMismatch Legacy = 0x14 UnknownAccount Legacy = 0x15 IncorrectPassword Legacy = 0x16 SessionExpired Legacy = 0x17 ServerShuttingDown Legacy = 0x18 AlreadyLoggingIn Legacy = 0x19 LoginServerNotFound Legacy = 0x1A WaitQueue Legacy = 0x1B Banned Legacy = 0x1C AlreadyOnline Legacy = 0x1D NoTime Legacy = 0x1E DBBusy Legacy = 0x1F Suspended Legacy = 0x20 ParentalControl Legacy = 0x21 LockedEnforced Legacy = 0x22 )
type RaceClassAvailability ¶
type RaceClassAvailability struct {
RaceID uint8
Classes []ClassAvailability
}
type Response ¶
type Response struct {
Result bnet.Status
SuccessInfo *SuccessInfo
WaitInfo *WaitInfo
}
type SessionClient ¶
type SessionClient struct {
Build vsn.Build
BuildType int
LoginServerID uint32
Account string // 0-terminated string
LoginServerType uint32
LocalChallenge []byte
RegionID uint32
BattlegroupID uint32
RealmID uint32
DosResponse uint64
Digest []byte
AddonList *addon.List
RealmJoinTicket string
UseIPv6 bool
}
func (*SessionClient) Decode ¶
func (c *SessionClient) Decode(build vsn.Build, in *packet.WorldPacket) error
func (*SessionClient) Encode ¶
func (c *SessionClient) Encode(build vsn.Build, out *packet.WorldPacket) error
type SuccessInfo ¶
type SuccessInfo struct {
ActiveExpansionLevel uint8
AccountExpansionLevel uint8
TimeRested uint32
VirtualRealmAddress uint32
TimeSecondsUntilPCKick uint32
CurrencyID uint32
Time int64
GameTimeInfo GameTime
VirtualRealms []VirtualRealmInfo
Templates []character.Template
AvailableClasses []RaceClassAvailability
IsExpansionTrial bool
ForceCharacterTemplate bool
NumPlayersRedTeam uint16
NumPlayersBlueTeam uint16
ExpansionTrialExpiration uint32
}
type VirtualRealmInfo ¶
type VirtualRealmInfo struct {
VirtualAddress uint32
VirtualRealmNameInfo
}
type VirtualRealmNameInfo ¶
Click to show internal directories.
Click to hide internal directories.