chat

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildChannelMessage

func BuildChannelMessage(u *User, p *InChatPacket) []byte

func BuildChatMessage added in v0.3.9

func BuildChatMessage(sender *User, p *InChatPacket, chattype uint8) []byte

func BuildDirectMessage

func BuildDirectMessage(sender *User, reciver *User, isReciver uint8, p *InChatPacket) []byte

func OnChat

func OnChat(p *PacketData, client net.Conn)

func OnChatChannelMessage

func OnChatChannelMessage(p *InChatPacket, client net.Conn)

func OnChatDirectMessage

func OnChatDirectMessage(p *InChatPacket, client net.Conn)

func OnChatGlobalMessage

func OnChatGlobalMessage(p *InChatPacket, client net.Conn)

func OnChatRoomMessage

func OnChatRoomMessage(p *InChatPacket, client net.Conn)

func OnChatTeamMessage

func OnChatTeamMessage(p *InChatPacket, client net.Conn)

Types

This section is empty.

Jump to

Keyboard shortcuts

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