记录类的使用
com.iohao.game.external.core.session.UserChannelId
使用UserChannelId的程序包
程序包
说明
游戏对外服 - UserSessions
-
com.iohao.game.external.core.netty.session中UserChannelId的使用
-
com.iohao.game.external.core.session中UserChannelId的使用
修饰符和类型方法说明UserSessions.getUserSession
(UserChannelId userChannelId) getUserSessionboolean
UserSessions.settingUserId
(UserChannelId userChannelId, long userId) 设置 channel 的 userId,表示已经身份验证了(即登录过了)。