Documentation ¶
Index ¶
- type Client
- func (cl *Client) Connect(ip string) error
- func (cl *Client) Handle() error
- func (cl *Client) HandleActions(d []byte)
- func (cl *Client) HandleBindPointUpdate(d []byte)
- func (cl *Client) HandleCharList(b []byte)
- func (cl *Client) HandleCompressedUpdate(d []byte)
- func (cl *Client) HandleDanceMoves(d []byte)
- func (cl *Client) HandleEquip(d []byte)
- func (cl *Client) HandleForcedReactions(d []byte)
- func (cl *Client) HandleLogin(b []byte)
- func (cl *Client) HandleMOTD(b []byte)
- func (cl *Client) HandleMessage(b []byte)
- func (cl *Client) HandleReputations(d []byte)
- func (cl *Client) HandleSocialList(d []byte)
- func (cl *Client) HandleSpellList(d []byte)
- func (cl *Client) HandleUpdateData(d []byte)
- func (cl *Client) HandleWarden(data []byte)
- func (cl *Client) InitWarden()
- func (cl *Client) On(t packet.WorldType, fn func([]byte))
- func (c *Client) Send(gp *packet.GamePacket)
- type ClientHandler
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Auth *auth.Client Player string PlayerGUID guid.GUID Config *Config RealmList *packet.RealmList_S Warden *warden.Warden Crypter *packet.Crypter SessionKey []byte Handlers map[packet.WorldType]*ClientHandler }
func (*Client) HandleActions ¶
func (*Client) HandleBindPointUpdate ¶
func (*Client) HandleCharList ¶
func (*Client) HandleCompressedUpdate ¶
func (*Client) HandleDanceMoves ¶
func (*Client) HandleEquip ¶
func (*Client) HandleForcedReactions ¶
func (*Client) HandleLogin ¶
func (*Client) HandleMOTD ¶
func (*Client) HandleMessage ¶
func (*Client) HandleReputations ¶
func (*Client) HandleSocialList ¶
func (*Client) HandleSpellList ¶
func (*Client) HandleUpdateData ¶
func (*Client) HandleWarden ¶
func (*Client) InitWarden ¶
func (cl *Client) InitWarden()
func (*Client) Send ¶
func (c *Client) Send(gp *packet.GamePacket)
type ClientHandler ¶
Click to show internal directories.
Click to hide internal directories.