Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PublicKey = []byte{}/* 256 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type ServerAllowed ¶
type ServerAllowed struct { State ServerState ProvideInfo bool NeedsKey bool Revision uint32 // Revision (from .toc), can be used by AddonSecureVisible to display "update available" in client addon controls URL string }
type ServerBanned ¶
type ServerResponse ¶
type ServerResponse struct { Allowed []ServerAllowed Banned []ServerBanned }
func SkipServerCheck ¶
func SkipServerCheck(build vsn.Build, info *List) *ServerResponse
This function is merely to skip addon checking. It's only here to get the client to connect. Not a proper implementation of actually banning addons designated as harmful. A proper implementation may be added soon™
func (*ServerResponse) Decode ¶
func (sar *ServerResponse) Decode(build vsn.Build, out *packet.WorldPacket) error
func (*ServerResponse) Encode ¶
func (sar *ServerResponse) Encode(build vsn.Build, out *packet.WorldPacket) error
type ServerState ¶
type ServerState uint8
const ( StateBanned ServerState = iota StateSecureVisible StateSecureHidden )
Click to show internal directories.
Click to hide internal directories.