在服务器哪里,网络通信有两个接口:IClientSocketSink IAttemperEngineSink
IClientSocketSink一般用用于网络服务器之间通信
IAttemperEngineSink用于和客户端通信
// logon server
CAttemperEngineSink::OnEventSocketRead
MDM_GP_LOGON //登录消息
SUB_GP_LOGON_ACCOUNTS //帐号登录
CMD_GP_LogonByAccounts
SUB_GP_LOGON_USERID //ID 登录
CMD_GP_LogonByUserID
SUB_GP_REGISTER_ACCOUNTS //注册帐号
CMD_GP_RegisterAccounts
// gamer server
CAttemperEngineSink::OnEventSocketRead
MDM_GR_LOGON //登录消息
SUB_GP_LOGON_ACCOUNTS //帐号登录
CMD_GP_LogonByAccounts
SUB_GP_LOGON_USERID //ID 登录
CMD_GP_LogonByUserID
MDM_GR_USER //用户消息
SUB_GR_USER_SIT_REQ //坐下桌子
SUB_GR_USER_LOOKON_REQ //旁观桌子
CMD_GR_UserSitReq
SUB_GR_USER_STANDUP_REQ //起立请求
SUB_GR_USER_LEFT_GAME_REQ //强退请求
SUB_GR_USER_CHAT //聊天消息
CMD_GR_UserChat
SUB_GR_USER_WISPER //私语消息
CMD_GR_Wisper
SUB_GR_USER_RULE //用户规则
CMD_GR_UserRule
SUB_GR_USER_INVITE_REQ //邀请用户
CMD_GR_UserInviteReq
MDM_GR_MANAGER //管理消息
SUB_GR_SEND_WARNING: //警告消息
CMD_GR_SendWarning
SUB_GR_LOOK_USER_IP: //查看地址
CMD_GR_LookUserIP
SUB_GR_KILL_USER: //踢出用户
CMD_GR_KillUser
SUB_GR_LIMIT_ACCOUNS: //禁用帐户
CMD_GR_LimitAccounts
SUB_GR_SET_USER_RIGHT: //用户权限
CMD_GR_SetUserRight
SUB_GR_SEND_MESSAGE: //发送消息
CMD_GR_SendMessage
SUB_GR_OPTION_SERVER: //房间设置
CMD_GR_OptionServer
MDM_GF_FRAME //框架消息
MDM_GF_GAME //游戏消息
// center server
CAttemperEngineSink::OnEventSocketRead
MDM_CS_SERVER_LIST: //列表消息
SUB_CS_GET_SERVER_LIST: //获取列表
MDM_CS_SERVER_MANAGER: //房间管理
SUB_CS_REG_GAME_SERVER: //房间注册
SUB_CS_UNREG_GAME_SERVER: //注销房间
SUB_CS_SERVER_ONLINE_COUNT: //更新人数