syntax = "proto3"; package Sining.Message; ///通知游戏服角色进入该游戏服 message G2Common_EnterRequest // IAddressRequest,G2Common_EnterResponse { int64 AccountId = 1; //账号id int64 GateRouteId = 2; //网关路由地址 int32 RouteType = 3; //登陆的路由类型 } message G2Common_EnterResponse // IAddressResponse { int64 UnitRouteId = 1; //实体的路由id int32 RouteType = 2; //登陆的场景类型 } message G2Common_ExitRequest // IAddressRequest,Common2G_ExitResponse { int64 AccountId = 1; //账号id int64 GateRouteId = 2;//网关路由地址 } message Common2G_ExitResponse // IAddressResponse { } ///获取玩家基础信息 message S2G_GetPlayerBasicInfoRequest // IAddressRequest,G2S_GetPlayerBasicInfoResponse { repeated int64 IdList = 1; // 查询列表 } ///获取玩家基础信息响应 message G2S_GetPlayerBasicInfoResponse // IAddressResponse { repeated RoleSimpleInfo RoleList = 1; } message S2G_ChatMessage // IAddressMessage { ChatMessageInfo Message = 1; //聊天内容 repeated int64 IdList = 2; // 群发列表 } ///创建聊天频道 message Club2Chat_CreateChannel // IAddressMessage { int64 ChannelId = 1; //频道id } /// 请求进入房间 message G2Map_EnterMapRequest // IAddressRequest,Map2G_EnterMapResponse { string RoomCode = 1; //房间代码 int64 AccountId = 2; //账号id int32 MapId = 3; //地图id } /// 请求进入房间响应 message Map2G_EnterMapResponse // IAddressResponse { string RoomCode = 1; //房间代码 int32 MapId = 2; //地图id repeated MapUnitInfo Units = 3; //房间玩家列表 } /// 请求离开房间 message G2Map_ExitRoomRequest // IAddressRequest,Map2G_ExiRoomResponse { string RoomCode = 1; //房间代码 int64 AccountId = 2; //账号id } /// 请求离开房间响应 message Map2G_ExiRoomResponse // IAddressResponse { }