extends

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeChlCtx

func ChangeChlCtx(s session.ISession, chlCtx service.IChannelContext)

func ChannelContextEquals

func ChannelContextEquals(chlCtx service.IChannelContext, other service.IChannelContext) (ret bool)

func ChannelContextToString

func ChannelContextToString(chlCtx service.IChannelContext) string

func Close

func Close(chlCtx service.IChannelContext)

func Conflict

func Conflict(chlCtx service.IChannelContext)

*

  • 设置以前的用户连接为废弃,废弃连接的后续消息都将不处理 *

func GetLngType

func GetLngType(chlCtx service.IChannelContext) int8

func HasUserInfo

func HasUserInfo(chlCtx service.IChannelContext) bool

func IsClose

func IsClose(chlCtx service.IChannelContext) (ret bool)

func IsConflict

func IsConflict(chlCtx service.IChannelContext) (ret bool)

func IsLogout

func IsLogout(chlCtx service.IChannelContext) (ret bool)

func IsOfflie

func IsOfflie(chlCtx service.IChannelContext) (ret bool)

func IsSystemKick

func IsSystemKick(chlCtx service.IChannelContext) (ret bool)

func Logout

func Logout(chlCtx service.IChannelContext)

func MsgID

func MsgID(request service.IServiceRequest) uint32

func Offlie

func Offlie(chlCtx service.IChannelContext)

func PutInUserInfo

func PutInUserInfo(chlCtx service.IChannelContext, uID int64, lngType int8)

放入用户信息代表后续Command事件中可以执行派发Event事件的行为了

func SessionEquals

func SessionEquals(m session.ISession, n session.ISession) (ret bool)

func SessionToString

func SessionToString(s session.ISession) string

func SetMsgID

func SetMsgID(request service.IServiceRequest, msgSeqID uint32)

func SystemKick

func SystemKick(chlCtx service.IChannelContext)

func UID

func UID(chlCtx service.IChannelContext) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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