1
This commit is contained in:
parent
9f88d10a66
commit
f10c8b30fd
131
server/tools/protobuild/out/cs_msgid.proto
Normal file
131
server/tools/protobuild/out/cs_msgid.proto
Normal file
@ -0,0 +1,131 @@
|
||||
package cs;
|
||||
|
||||
enum CMMessageId_e
|
||||
{
|
||||
_CMPing = 101;
|
||||
|
||||
_CMLogin = 103;
|
||||
|
||||
_CMFriendInvite = 105;
|
||||
_CMFriendAgree = 106;
|
||||
_CMFriendDelete = 108;
|
||||
_CMFriendApply = 109;
|
||||
_CMFriendApplyList = 110;
|
||||
_CMFriendBlackList = 111;
|
||||
_CMFriendAddBlack = 112;
|
||||
_CMFriendDeleteBlack = 113;
|
||||
_CMFriendRefuse = 114;
|
||||
_CMFriendList = 115;
|
||||
_CMQueryUserStatus = 116;
|
||||
_CMRecommandFriend = 117;
|
||||
_CMFriendIdList = 118;
|
||||
|
||||
_CMSendChatMsg = 151;
|
||||
_CMSendCustomMsg = 152;
|
||||
_CMUpdateTempCustomData = 153;
|
||||
_CMUpdateUserInfo = 154;
|
||||
_CMDirtyWordCheck = 155;
|
||||
_CMGetUserGuild = 156;
|
||||
_CMReadMsgAndOpenChatNotify = 157;
|
||||
_CMCloseChatNotify = 158;
|
||||
_CMSetCurrPrivateChatTarget = 159;
|
||||
|
||||
_CMGuildMsgBegin = 230;
|
||||
_CMGuildCreate = 231;
|
||||
_CMGuildJoin = 232;
|
||||
_CMGuildAgree = 233;
|
||||
_CMGuildKick = 234;
|
||||
_CMGuildQuit = 235;
|
||||
_CMGuildDismiss = 236;
|
||||
_CMGuildChange = 237;
|
||||
_CMGuildInfo = 238;
|
||||
_CMGuildSearch = 239;
|
||||
_CMGuildRank = 240;
|
||||
_CMGuildMemberList = 241;
|
||||
_CMGuildApplyList = 242;
|
||||
_CMGuildLog = 243;
|
||||
_CMGuildMemberSetJob = 244;
|
||||
_CMGuildRefuse = 245;
|
||||
_CMGuildAgreeInvite = 246;
|
||||
_CMGuildGainExp = 247;
|
||||
_CMGuildSearchMember = 248;
|
||||
_CMGuildMsgEnd = 270;
|
||||
|
||||
_CMTeamCreate = 301;
|
||||
_CMTeamJoin = 302;
|
||||
_CMTeamAgree = 303;
|
||||
_CMTeamKick = 304;
|
||||
_CMTeamQuit = 305;
|
||||
_CMTeamDismiss = 306;
|
||||
_CMTeamRename = 307;
|
||||
|
||||
}
|
||||
|
||||
enum SMMessageId_e
|
||||
{
|
||||
_SMPing = 101;
|
||||
_SMRpcError = 102;
|
||||
|
||||
_SMLogin = 103;
|
||||
|
||||
_SMFriendInvite = 105;
|
||||
_SMFriendAgree = 106;
|
||||
_SMFriendDelete = 108;
|
||||
_SMFriendApply = 109;
|
||||
_SMFriendApplyList = 110;
|
||||
_SMFriendBlackList = 111;
|
||||
_SMFriendAddBlack = 112;
|
||||
_SMFriendDeleteBlack = 113;
|
||||
_SMFriendRefuse = 114;
|
||||
_SMFriendList = 115;
|
||||
_SMQueryUserStatus = 116;
|
||||
_SMRecommandFriend = 117;
|
||||
_SMFriendIdList = 118;
|
||||
|
||||
_SMDirtyWordCheck = 155;
|
||||
_SMGetUserGuild = 156;
|
||||
|
||||
_SMGuildMsgBegin = 230;
|
||||
_SMGuildCreate = 231;
|
||||
_SMGuildJoin = 232;
|
||||
_SMGuildAgree = 233;
|
||||
_SMGuildKick = 234;
|
||||
_SMGuildQuit = 235;
|
||||
_SMGuildDismiss = 236;
|
||||
_SMGuildChange = 237;
|
||||
_SMGuildInfo = 238;
|
||||
_SMGuildSearch = 239;
|
||||
_SMGuildRank = 240;
|
||||
_SMGuildMemberList = 241;
|
||||
_SMGuildApplyList = 242;
|
||||
_SMGuildLog = 243;
|
||||
_SMGuildMemberSetJob = 244;
|
||||
_SMGuildRefuse = 245;
|
||||
_SMGuildAgreeInvite = 246;
|
||||
_SMGuildGainExp = 247;
|
||||
_SMGuildSearchMember = 248;
|
||||
_SMGuildMsgEnd = 270;
|
||||
|
||||
_SMTeamCreate = 301;
|
||||
_SMTeamJoin = 302;
|
||||
_SMTeamAgree = 303;
|
||||
_SMTeamKick = 304;
|
||||
_SMTeamQuit = 305;
|
||||
_SMTeamDismiss = 306;
|
||||
_SMTeamRename = 307;
|
||||
|
||||
_SMUserStatusNotify = 501;
|
||||
_SMUserInfoUpdate = 502;
|
||||
_SMCustomMsgNotify = 503;
|
||||
_SMUserTempCustomDataUpdate = 504;
|
||||
_SMDeleteFriendNotify = 505;
|
||||
_SMUpdateAccountInfo = 506;
|
||||
_SMUpdateRedPointNotify = 507;
|
||||
_SMShowErrorMsg = 508;
|
||||
_SMAddBlackListNotify = 509;
|
||||
_SMDeleteBlackListNotify = 510;
|
||||
_SMUpdateChatRedPointNotify = 511;
|
||||
_SMUpdateChatChannelLastId = 512;
|
||||
_SMUpdatePrivateChatRedPointNotify = 513;
|
||||
_SMChatMsgNotify = 514;
|
||||
}
|
736
server/tools/protobuild/out/cs_proto.proto
Normal file
736
server/tools/protobuild/out/cs_proto.proto
Normal file
@ -0,0 +1,736 @@
|
||||
package cs;
|
||||
|
||||
enum Constant_e
|
||||
{
|
||||
ProtoVersion = 2020061101;
|
||||
}
|
||||
|
||||
message CMPing
|
||||
{
|
||||
}
|
||||
message SMPing
|
||||
{
|
||||
optional int32 param1 = 1;
|
||||
}
|
||||
|
||||
message MFStringTuple
|
||||
{
|
||||
repeated string values = 1;
|
||||
}
|
||||
|
||||
message MFPairInt32
|
||||
{
|
||||
optional int32 key = 1;
|
||||
optional int32 val = 2;
|
||||
}
|
||||
|
||||
message MFPairInt64
|
||||
{
|
||||
optional int64 key = 1;
|
||||
optional int64 val = 2;
|
||||
}
|
||||
|
||||
message MFPaging
|
||||
{
|
||||
optional int32 curr_page = 1;
|
||||
optional int32 page_size = 2;
|
||||
optional int32 _total_page = 3;
|
||||
optional int32 _total_count = 4;
|
||||
}
|
||||
|
||||
message MFBaseUserData
|
||||
{
|
||||
optional string account_id = 1;
|
||||
optional string nickname = 2;
|
||||
optional string avatar_url = 3;
|
||||
optional int32 sex = 4;
|
||||
optional int32 last_login_time = 5;
|
||||
optional int64 guild_id = 6;
|
||||
optional int32 guild_job = 7;
|
||||
optional int32 vip_lv = 8 [default = 0];
|
||||
optional int32 head = 9 [default = 0];
|
||||
optional int32 contribute = 10 [default = 0];
|
||||
|
||||
optional int64 user_value1 = 50;
|
||||
optional int64 user_value2 = 51;
|
||||
optional int64 user_value3 = 52;
|
||||
optional int64 base_data_version = 100;
|
||||
|
||||
optional int32 _online = 101;
|
||||
}
|
||||
|
||||
message MFUserTempCustomData
|
||||
{
|
||||
optional int64 value1 = 1 [default = 0];
|
||||
optional int64 value2 = 2 [default = 0];
|
||||
optional int64 value3 = 3 [default = 0];
|
||||
}
|
||||
|
||||
message MFAccountInfo
|
||||
{
|
||||
optional MFUserInfo user_info = 1;
|
||||
optional string user_sign = 2;
|
||||
}
|
||||
|
||||
message MFUserInfo
|
||||
{
|
||||
optional MFBaseUserData base_data = 1;
|
||||
optional MFUserTempCustomData temp_custom_data = 2;
|
||||
optional int32 is_sys_user = 3;
|
||||
}
|
||||
|
||||
message MFUserStatus
|
||||
{
|
||||
optional string account_id = 1;
|
||||
optional int32 _online = 2;
|
||||
optional MFUserTempCustomData temp_custom_data = 3;
|
||||
}
|
||||
|
||||
message MFFriendApply
|
||||
{
|
||||
optional int64 idx = 1;
|
||||
optional int64 applyid = 2;
|
||||
optional string target_id = 3;
|
||||
optional MFBaseUserData base_data = 4;
|
||||
}
|
||||
|
||||
message MFGuildApply
|
||||
{
|
||||
optional int64 idx = 1;
|
||||
optional int64 applyid = 2;
|
||||
optional int64 guild_id = 3;
|
||||
optional MFBaseUserData base_data = 4;
|
||||
}
|
||||
|
||||
message MFGuildBasic
|
||||
{
|
||||
optional int64 guild_id = 1;
|
||||
optional string guild_name = 2;
|
||||
optional int32 guild_lv = 3;
|
||||
optional double guild_exp = 4;
|
||||
optional int32 guild_badge = 5;
|
||||
optional int32 member_num = 6;
|
||||
optional string guild_declaration = 7;
|
||||
optional string owner_id = 8;
|
||||
optional string owner_name = 9;
|
||||
optional string owner_avatar_url = 10;
|
||||
optional int32 owner_sex = 23;
|
||||
optional int32 owner_vip_lv = 12 [default = 0];
|
||||
optional int32 owner_head = 13 [default = 0];
|
||||
optional int32 join_unlimited = 11;
|
||||
optional int32 join_cond1 = 20;
|
||||
optional int32 join_cond2 = 21;
|
||||
optional int32 applyed = 22;
|
||||
|
||||
optional int32 _gameid = 100;
|
||||
optional int32 _channel = 101;
|
||||
optional int32 _createtime = 102;
|
||||
optional int32 _modifytime = 103;
|
||||
optional int64 _name_ext1 = 104;
|
||||
optional int64 _name_ext2 = 105;
|
||||
optional int64 _guild_status = 106;
|
||||
}
|
||||
|
||||
|
||||
message MFChatMsg
|
||||
{
|
||||
optional int64 msg_uuid = 1;
|
||||
optional MFUserInfo sender = 2;
|
||||
optional MFUserInfo receiver = 3;
|
||||
optional int32 chat_channel = 4;
|
||||
optional int32 msg_type = 5;
|
||||
optional string msg_body = 6;
|
||||
optional int32 send_time = 7;
|
||||
}
|
||||
|
||||
message CMLoginCommonHead
|
||||
{
|
||||
optional int32 server_id = 1;
|
||||
}
|
||||
message CMLoginOld
|
||||
{
|
||||
optional string account_id = 3;
|
||||
optional string session_id = 20;
|
||||
optional string nickname = 4;
|
||||
optional string avatar_url = 5;
|
||||
optional int32 sex = 6;
|
||||
}
|
||||
message CMLogin
|
||||
{
|
||||
optional int32 server_id = 1;
|
||||
optional string reserved2 = 2;
|
||||
optional string account_id = 3;
|
||||
optional string session_id = 20;
|
||||
optional string nickname = 4;
|
||||
optional int32 proto_version = 5;
|
||||
optional int32 sex = 6;
|
||||
optional string avatar_url = 7;
|
||||
optional int32 vip_lv = 8;
|
||||
optional int32 head = 9;
|
||||
}
|
||||
|
||||
message SMLogin
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFAccountInfo account_info = 3;
|
||||
}
|
||||
|
||||
message CMUpdateUserInfo
|
||||
{
|
||||
optional string nickname = 2;
|
||||
optional string avatar_url = 3;
|
||||
optional int32 sex = 4;
|
||||
optional int32 vip_lv = 8;
|
||||
optional int32 head = 9;
|
||||
optional int32 contribute = 10;
|
||||
|
||||
optional int64 user_value1 = 50;
|
||||
optional int64 user_value2 = 51;
|
||||
optional int64 user_value3 = 52;
|
||||
|
||||
optional int32 delay_time = 100;
|
||||
optional int32 delay_flag = 101;
|
||||
}
|
||||
|
||||
message CMDirtyWordCheck
|
||||
{
|
||||
optional string text = 2;
|
||||
}
|
||||
message SMDirtyWordCheck
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGetUserGuild
|
||||
{
|
||||
optional string account_id = 1;
|
||||
}
|
||||
message SMGetUserGuild
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional string account_id = 3;
|
||||
optional int64 guild_id = 4;
|
||||
optional int32 guild_job = 5;
|
||||
}
|
||||
|
||||
message CMFriendList
|
||||
{
|
||||
}
|
||||
message SMFriendList
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
repeated MFUserInfo friend_list = 3;
|
||||
}
|
||||
|
||||
message CMFriendApply
|
||||
{
|
||||
optional string friend_id = 1;
|
||||
optional string msg = 2;
|
||||
}
|
||||
message SMFriendApply
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMFriendApplyList
|
||||
{
|
||||
optional MFPaging paging = 1;
|
||||
}
|
||||
message SMFriendApplyList
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFPaging paging = 3;
|
||||
repeated MFFriendApply apply_list = 4;
|
||||
}
|
||||
|
||||
message CMFriendAgree
|
||||
{
|
||||
optional MFFriendApply apply = 1;
|
||||
}
|
||||
message SMFriendAgree
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMFriendRefuse
|
||||
{
|
||||
optional MFFriendApply apply = 1;
|
||||
}
|
||||
message SMFriendRefuse
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMFriendDelete
|
||||
{
|
||||
optional string friend_id = 1;
|
||||
}
|
||||
message SMFriendDelete
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional string friend_id = 3;
|
||||
}
|
||||
|
||||
message CMFriendBlackList
|
||||
{
|
||||
}
|
||||
message SMFriendBlackList
|
||||
{
|
||||
repeated MFUserInfo black_list = 1;
|
||||
}
|
||||
|
||||
message CMFriendAddBlack
|
||||
{
|
||||
optional MFUserInfo user_info = 1;
|
||||
}
|
||||
message SMFriendAddBlack
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMFriendDeleteBlack
|
||||
{
|
||||
optional string account_id = 1;
|
||||
}
|
||||
message SMFriendDeleteBlack
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMFriendIdList
|
||||
{
|
||||
}
|
||||
message SMFriendIdList
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
repeated string friends = 3;
|
||||
repeated string blacklist = 4;
|
||||
}
|
||||
|
||||
message CMTeamCreate
|
||||
{
|
||||
optional string team_name = 1;
|
||||
}
|
||||
message SMTeamCreate
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMTeamJoin
|
||||
{
|
||||
optional int64 team_id = 1;
|
||||
}
|
||||
message SMTeamJoin
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMTeamAgree
|
||||
{
|
||||
}
|
||||
message SMTeamAgree
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMTeamKick
|
||||
{
|
||||
optional string account_id = 1;
|
||||
}
|
||||
|
||||
message SMTeamKick
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMTeamQuit
|
||||
{
|
||||
}
|
||||
message SMTeamQuit
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMTeamDismiss
|
||||
{
|
||||
}
|
||||
message SMTeamDismiss
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMTeamRename
|
||||
{
|
||||
optional string new_team_name = 1;
|
||||
}
|
||||
message SMTeamRename
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildInfo
|
||||
{
|
||||
optional int64 guild_id = 1;
|
||||
}
|
||||
message SMGuildInfo
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFGuildBasic info = 3;
|
||||
}
|
||||
|
||||
message CMGuildCreate
|
||||
{
|
||||
optional string guild_name = 1;
|
||||
optional int32 guild_badge = 2;
|
||||
optional string guild_declaration = 3;
|
||||
optional int32 join_unlimited = 4;
|
||||
optional int32 join_cond1 = 5;
|
||||
optional int32 join_cond2 = 6;
|
||||
}
|
||||
message SMGuildCreate
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional int64 guild_id = 3;
|
||||
}
|
||||
|
||||
message CMGuildJoin
|
||||
{
|
||||
optional int64 guild_id = 1;
|
||||
}
|
||||
message SMGuildJoin
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildAgree
|
||||
{
|
||||
optional MFGuildApply apply = 1;
|
||||
optional int32 batchid = 2;
|
||||
}
|
||||
message SMGuildAgree
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildRefuse
|
||||
{
|
||||
optional MFGuildApply apply = 1;
|
||||
optional int32 batchid = 2;
|
||||
}
|
||||
message SMGuildRefuse
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildKick
|
||||
{
|
||||
optional string account_id = 1;
|
||||
}
|
||||
|
||||
message SMGuildKick
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildQuit
|
||||
{
|
||||
}
|
||||
message SMGuildQuit
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildDismiss
|
||||
{
|
||||
}
|
||||
message SMGuildDismiss
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildChange
|
||||
{
|
||||
optional string guild_name = 1;
|
||||
optional int32 guild_badge = 2;
|
||||
optional string guild_declaration = 3;
|
||||
optional int32 join_unlimited = 4;
|
||||
optional int32 join_cond1 = 5;
|
||||
optional int32 join_cond2 = 6;
|
||||
}
|
||||
message SMGuildChange
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFGuildBasic info = 3;
|
||||
}
|
||||
|
||||
message CMGuildSearch
|
||||
{
|
||||
optional MFPaging paging = 1;
|
||||
optional string guild_name = 2;
|
||||
}
|
||||
message SMGuildSearch
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFPaging paging = 3;
|
||||
repeated MFGuildBasic guild_list = 4;
|
||||
}
|
||||
|
||||
message CMGuildRank
|
||||
{
|
||||
optional MFPaging paging = 1;
|
||||
}
|
||||
message SMGuildRank
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFPaging paging = 3;
|
||||
repeated MFGuildBasic guild_list = 4;
|
||||
}
|
||||
|
||||
message CMGuildMemberList
|
||||
{
|
||||
optional MFPaging paging = 1;
|
||||
optional string member_name = 2;
|
||||
}
|
||||
message SMGuildMemberList
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFPaging paging = 3;
|
||||
repeated MFUserInfo member_list = 4;
|
||||
optional int32 guild_lv = 5;
|
||||
}
|
||||
|
||||
message CMGuildApplyList
|
||||
{
|
||||
optional MFPaging paging = 1;
|
||||
}
|
||||
message SMGuildApplyList
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFPaging paging = 3;
|
||||
repeated MFGuildApply apply_list = 4;
|
||||
optional int32 guild_lv = 5;
|
||||
}
|
||||
|
||||
message CMGuildLog
|
||||
{
|
||||
optional MFPaging paging = 1;
|
||||
}
|
||||
message SMGuildLog
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFPaging paging = 3;
|
||||
repeated MFStringTuple logs = 4;
|
||||
}
|
||||
|
||||
message CMGuildMemberSetJob
|
||||
{
|
||||
optional string member_id = 1;
|
||||
optional int32 job = 2;
|
||||
}
|
||||
message SMGuildMemberSetJob
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildAgreeInvite
|
||||
{
|
||||
optional int64 guild_id = 1;
|
||||
optional string user_sign = 2;
|
||||
}
|
||||
message SMGuildAgreeInvite
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildGainExp
|
||||
{
|
||||
optional int32 exp = 1;
|
||||
}
|
||||
message SMGuildGainExp
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message CMGuildSearchMember
|
||||
{
|
||||
optional string target_id = 1;
|
||||
}
|
||||
message SMGuildSearchMember
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
optional MFGuildBasic guild_basic = 3;
|
||||
optional MFUserInfo user_info = 4;
|
||||
}
|
||||
|
||||
message CMSendChatMsg
|
||||
{
|
||||
optional int32 chat_channel = 1;
|
||||
optional string target = 2;
|
||||
optional int32 msg_type = 3;
|
||||
optional string msg_body = 4;
|
||||
repeated string members = 5;
|
||||
}
|
||||
|
||||
message CMReadMsgAndOpenChatNotify
|
||||
{
|
||||
optional int32 curr_channel = 1;
|
||||
repeated MFPairInt64 last_ids = 2;
|
||||
}
|
||||
|
||||
message CMSetCurrPrivateChatTarget
|
||||
{
|
||||
optional string private_target = 1;
|
||||
optional int64 last_id = 2;
|
||||
}
|
||||
|
||||
message CMCloseChatNotify
|
||||
{
|
||||
}
|
||||
|
||||
message CMSendCustomMsg
|
||||
{
|
||||
repeated string target_list = 1;
|
||||
optional string msg = 2;
|
||||
optional int64 param1 = 3;
|
||||
optional int64 param2 = 4;
|
||||
optional int64 param3 = 5;
|
||||
}
|
||||
|
||||
message CMUpdateTempCustomData
|
||||
{
|
||||
optional int32 update_type = 1;
|
||||
optional MFUserTempCustomData temp_custom_data = 2;
|
||||
|
||||
optional int32 delay_time = 100;
|
||||
optional int32 delay_flag = 101;
|
||||
}
|
||||
|
||||
message CMQueryUserStatus
|
||||
{
|
||||
repeated string user_list = 1;
|
||||
}
|
||||
message SMQueryUserStatus
|
||||
{
|
||||
repeated MFUserStatus status_list = 1;
|
||||
}
|
||||
|
||||
message CMRecommandFriend
|
||||
{
|
||||
}
|
||||
message SMRecommandFriend
|
||||
{
|
||||
repeated MFUserInfo friend_list = 1;
|
||||
}
|
||||
|
||||
message SMUserStatusNotify
|
||||
{
|
||||
repeated string online_users = 1;
|
||||
repeated string offline_users = 2;
|
||||
}
|
||||
|
||||
message SMChatMsgNotify
|
||||
{
|
||||
repeated MFChatMsg msg_list = 1;
|
||||
}
|
||||
|
||||
message SMCustomMsgNotify
|
||||
{
|
||||
optional string sender = 1;
|
||||
optional string msg = 2;
|
||||
optional int64 param1 = 3;
|
||||
optional int64 param2 = 4;
|
||||
optional int64 param3 = 5;
|
||||
}
|
||||
|
||||
message SMUserInfoUpdate
|
||||
{
|
||||
repeated MFUserInfo user_infos = 1;
|
||||
}
|
||||
|
||||
message SMDeleteFriendNotify
|
||||
{
|
||||
repeated string user_list = 1;
|
||||
}
|
||||
|
||||
message SMAddBlackListNotify
|
||||
{
|
||||
repeated MFUserInfo user_infos = 1;
|
||||
}
|
||||
|
||||
message SMDeleteBlackListNotify
|
||||
{
|
||||
repeated string user_list = 1;
|
||||
}
|
||||
|
||||
message SMUserTempCustomDataUpdate
|
||||
{
|
||||
optional string account_id = 1;
|
||||
optional MFUserTempCustomData temp_custom_data = 2;
|
||||
}
|
||||
|
||||
message SMUpdateAccountInfo
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
message SMUpdateRedPointNotify
|
||||
{
|
||||
optional int32 red_point_flags = 1;
|
||||
}
|
||||
|
||||
message SMUpdateChatRedPointNotify
|
||||
{
|
||||
repeated int32 has_unread_msg_channels = 1;
|
||||
}
|
||||
|
||||
message SMUpdatePrivateChatRedPointNotify
|
||||
{
|
||||
repeated string has_unread_msg_accounts = 1;
|
||||
}
|
||||
|
||||
message SMUpdateChatChannelLastId
|
||||
{
|
||||
repeated MFPairInt64 last_ids = 1;
|
||||
}
|
||||
|
||||
message SMShowErrorMsg
|
||||
{
|
||||
optional string msg = 1;
|
||||
}
|
20
server/tools/protobuild/out/metatable.proto
Normal file
20
server/tools/protobuild/out/metatable.proto
Normal file
@ -0,0 +1,20 @@
|
||||
package metatable;
|
||||
|
||||
message MFPair
|
||||
{
|
||||
optional int32 key = 1;
|
||||
optional int32 value = 2;
|
||||
}
|
||||
|
||||
message Guild
|
||||
{
|
||||
optional int32 grade = 1;
|
||||
optional int32 experience = 2;
|
||||
optional int32 member = 3;
|
||||
}
|
||||
|
||||
message Text
|
||||
{
|
||||
optional string textid = 1;
|
||||
optional string text = 2;
|
||||
}
|
57
server/tools/protobuild/out/ss_msgid.proto
Normal file
57
server/tools/protobuild/out/ss_msgid.proto
Normal file
@ -0,0 +1,57 @@
|
||||
package ss;
|
||||
|
||||
enum SSMessageId_e
|
||||
{
|
||||
_SS_Ping = 8;
|
||||
_SS_Pong = 9;
|
||||
_SS_WSP_SocketDisconnect = 10;
|
||||
_SS_WSP_RequestTargetServer = 11;
|
||||
_SS_MS_ResponseTargetServer = 12;
|
||||
_SS_ForceCloseSocket = 13;
|
||||
|
||||
_SS_CMPing = 101;
|
||||
_SS_SMRpcError = 102;
|
||||
_SS_CMLogin = 103;
|
||||
_SS_CMReConnect = 104;
|
||||
|
||||
_SS_IM_ForwardMsg = 1001;
|
||||
_SS_MS_ForwardGroupCMMsg = 1002;
|
||||
_SS_MS_ForwardGroupSMMsg = 1003;
|
||||
_SS_MS_LoadGroup = 1004;
|
||||
_SS_IM_ReportServerInfo = 1005;
|
||||
_SS_MS_ConfirmedServerInfo = 1006;
|
||||
_SS_IM_UserOnline = 1007;
|
||||
_SS_IM_UserOffline = 1008;
|
||||
_SS_IM_PullUserList = 1009;
|
||||
_SS_MS_PushUserList = 1010;
|
||||
_SS_IM_SendChatMsg = 1011;
|
||||
_SS_IM_SendCustomMsg = 1012;
|
||||
_SS_IM_IMServerList = 1013;
|
||||
_SS_MS_IMServerList = 1014;
|
||||
_SS_IM_UpdateUserInfo = 1015;
|
||||
_SS_IM_FriendAgreeRequest = 1016;
|
||||
_SS_IM_FriendAgreeResponse = 1017;
|
||||
_SS_IM_FriendDeleteRequest = 1018;
|
||||
_SS_IM_FriendDeleteResponse = 1019;
|
||||
_SS_IM_FriendApply = 1020;
|
||||
_SS_IM_QueryUserOnlineState = 1021;
|
||||
_SS_IM_PushUserOnlineState = 1022;
|
||||
_SS_IM_OnUserOnline = 1023;
|
||||
_SS_IM_OnUserOffline = 1024;
|
||||
_SS_IM_RandomUsersRequest = 1025;
|
||||
_SS_IM_RandomUsersResponse = 1026;
|
||||
_SS_IM_ForwardGuildCMMsg = 1027;
|
||||
_SS_IM_ForwardGuildSMMsg = 1028;
|
||||
_SS_IM_GuildMemberQuitRequest = 1031;
|
||||
_SS_IM_GuildMemberQuitResponse = 1032;
|
||||
_SS_IM_GuildMemberUpdateRequest = 1033;
|
||||
_SS_IM_GuildMemberUpdateResponse = 1034;
|
||||
_SS_IM_RefeshGuildMemberInfo = 1035;
|
||||
_SS_GS_QueryGuildUserOnlineState = 1036;
|
||||
_SS_IM_PushGuildUserOnlineState = 1037;
|
||||
_SS_IM_GuildRecalcRedPoint = 1038;
|
||||
_SS_GS_PushGuildRedPoint = 1039;
|
||||
_SS_IM_GuildNewApply = 1041;
|
||||
_SS_GS_ApplyChangeRequest = 1042;
|
||||
_SS_IM_ApplyChangeResponse = 1043;
|
||||
}
|
414
server/tools/protobuild/out/ss_proto.proto
Normal file
414
server/tools/protobuild/out/ss_proto.proto
Normal file
@ -0,0 +1,414 @@
|
||||
package ss;
|
||||
|
||||
import "cs_proto.proto";
|
||||
|
||||
message MFIMMsgConext
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
optional cs.MFUserInfo user_info = 2;
|
||||
optional int32 socket_handle = 3;
|
||||
}
|
||||
|
||||
message MFIMServerInfo
|
||||
{
|
||||
optional int32 instance_id = 1;
|
||||
optional int32 online_num = 2;
|
||||
optional string ip = 3;
|
||||
optional int32 port = 4;
|
||||
optional bool servicing = 5;
|
||||
}
|
||||
|
||||
message MFGuildLogItem
|
||||
{
|
||||
optional string sender_id = 1;
|
||||
optional string sender_name = 2;
|
||||
optional string sender_avatar_url = 3;
|
||||
optional int32 sender_job = 4;
|
||||
optional int32 logtime = 5;
|
||||
optional int32 action = 6;
|
||||
optional string opt_id = 7;
|
||||
optional string opt_name = 8;
|
||||
optional string opt_avatar_url = 9;
|
||||
optional int32 opt_job = 10;
|
||||
}
|
||||
|
||||
message MFGuildLogDB
|
||||
{
|
||||
repeated MFGuildLogItem logs = 1;
|
||||
}
|
||||
|
||||
message MFBaseUserDataDB
|
||||
{
|
||||
optional string account_id = 1;
|
||||
optional string nickname = 2;
|
||||
optional string avatar_url = 3;
|
||||
optional int32 sex = 4;
|
||||
optional int32 last_login_time = 5;
|
||||
optional int64 guild_id = 6;
|
||||
optional string guild_name = 7;
|
||||
optional int32 guild_job = 8;
|
||||
optional int32 vip_lv = 9;
|
||||
optional int32 head = 10;
|
||||
optional int32 contribute = 11;
|
||||
|
||||
optional int64 user_value1 = 50;
|
||||
optional int64 user_value2 = 51;
|
||||
optional int64 user_value3 = 52;
|
||||
optional int64 base_data_version = 100;
|
||||
}
|
||||
|
||||
message MFRole
|
||||
{
|
||||
optional int32 today_apply_times = 1;
|
||||
optional int32 save_count = 2;
|
||||
optional int32 last_save_time = 3;
|
||||
optional int32 today_apply_guild_times = 4;
|
||||
optional int32 today_create_guild_times = 5;
|
||||
repeated cs.MFPairInt64 applyed_guild_list = 6;
|
||||
}
|
||||
|
||||
message MFGroupMemberDB
|
||||
{
|
||||
optional MFBaseUserDataDB base_data = 1;
|
||||
}
|
||||
|
||||
message MFGroupDB
|
||||
{
|
||||
repeated MFGroupMemberDB members = 1;
|
||||
}
|
||||
|
||||
message MFGuildMemberDB
|
||||
{
|
||||
optional MFBaseUserDataDB base_data = 1;
|
||||
}
|
||||
|
||||
message MFGuildDB
|
||||
{
|
||||
repeated MFGuildMemberDB members = 1;
|
||||
}
|
||||
|
||||
message MFFriendDB
|
||||
{
|
||||
optional MFBaseUserDataDB base_data = 1;
|
||||
}
|
||||
|
||||
message MFUserDB
|
||||
{
|
||||
repeated MFFriendDB friends = 1;
|
||||
optional MFRole role_data = 2;
|
||||
repeated MFFriendDB black_list = 3;
|
||||
optional int64 private_chat_last_id = 4;
|
||||
}
|
||||
|
||||
message SS_WSP_SocketDisconnect
|
||||
{
|
||||
}
|
||||
|
||||
message SS_CMPing
|
||||
{
|
||||
}
|
||||
|
||||
message SS_CommonError
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message SS_CMLogin_CMReConnect_CommonHead
|
||||
{
|
||||
optional int32 server_id = 1;
|
||||
}
|
||||
|
||||
message SS_CMLogin_CMReConnect_CommonHead2
|
||||
{
|
||||
optional int32 server_id = 1;
|
||||
optional string team_uuid = 2;
|
||||
optional string account_id = 3;
|
||||
}
|
||||
|
||||
message SS_WSP_RequestTargetServer
|
||||
{
|
||||
optional int64 context_id = 1;
|
||||
optional string account_id = 2;
|
||||
optional string team_id = 3;
|
||||
}
|
||||
|
||||
message SS_MS_ResponseTargetServer
|
||||
{
|
||||
optional int32 error_code = 1;
|
||||
optional string error_msg = 2;
|
||||
optional int64 context_id = 3;
|
||||
optional string host = 4;
|
||||
optional int32 port = 5;
|
||||
}
|
||||
|
||||
message SS_SMRpcError
|
||||
{
|
||||
optional int32 error_code = 1;
|
||||
optional string error_msg = 2;
|
||||
optional string debug_msg = 3;
|
||||
optional string file = 4;
|
||||
optional int32 lineno = 5;
|
||||
}
|
||||
|
||||
message SS_Ping
|
||||
{
|
||||
}
|
||||
|
||||
message SS_Pong
|
||||
{
|
||||
optional int32 param1 = 1;
|
||||
}
|
||||
|
||||
message SS_ForceCloseSocket
|
||||
{
|
||||
}
|
||||
|
||||
message SS_IM_ForwardMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional bytes payload = 2;
|
||||
}
|
||||
|
||||
message SS_MS_ForwardGroupCMMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional bytes payload = 2;
|
||||
}
|
||||
|
||||
message SS_MS_ForwardGroupSMMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional bytes payload = 2;
|
||||
}
|
||||
|
||||
message SS_MS_LoadGroup
|
||||
{
|
||||
optional int64 group_id = 1;
|
||||
}
|
||||
|
||||
message SS_IM_ForwardGuildCMMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional int64 guild_id = 2;
|
||||
optional int32 msgid = 3;
|
||||
optional bytes payload = 4;
|
||||
}
|
||||
|
||||
message SS_IM_ForwardGuildSMMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional int32 msgid = 2;
|
||||
optional bytes payload = 3;
|
||||
}
|
||||
|
||||
message SS_IM_ReportServerInfo
|
||||
{
|
||||
optional int32 instance_id = 1;
|
||||
optional int32 online_num = 2;
|
||||
optional string ip = 3;
|
||||
optional int32 port = 4;
|
||||
optional bool servicing = 5;
|
||||
}
|
||||
|
||||
message SS_MS_ConfirmedServerInfo
|
||||
{
|
||||
optional int32 errcode = 1;
|
||||
optional string errmsg = 2;
|
||||
}
|
||||
|
||||
message SS_IM_UserOnline
|
||||
{
|
||||
repeated cs.MFUserInfo user_infos = 1;
|
||||
}
|
||||
|
||||
message SS_IM_UserOffline
|
||||
{
|
||||
repeated string account_ids = 1;
|
||||
}
|
||||
|
||||
message SS_IM_PullUserList
|
||||
{
|
||||
repeated string account_ids = 1;
|
||||
}
|
||||
message SS_MS_PushUserList
|
||||
{
|
||||
repeated cs.MFUserInfo user_infos = 1;
|
||||
}
|
||||
|
||||
message SS_IM_SendChatMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional int32 chat_channel = 2;
|
||||
optional string target = 3;
|
||||
optional int32 msg_type = 4;
|
||||
optional string msg_body = 5;
|
||||
}
|
||||
|
||||
message SS_IM_SendCustomMsg
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional string target = 2;
|
||||
optional string msg = 3;
|
||||
optional int64 param1 = 4;
|
||||
optional int64 param2 = 5;
|
||||
optional int64 param3 = 6;
|
||||
}
|
||||
|
||||
message SS_IM_IMServerList
|
||||
{
|
||||
}
|
||||
message SS_MS_IMServerList
|
||||
{
|
||||
repeated MFIMServerInfo server_list = 1;
|
||||
}
|
||||
|
||||
message SS_IM_UpdateUserInfo
|
||||
{
|
||||
optional cs.MFUserInfo user_info = 1;
|
||||
}
|
||||
|
||||
message SS_IM_FriendAgreeRequest
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional string target_id = 3;
|
||||
}
|
||||
|
||||
message SS_IM_FriendAgreeResponse
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional string target_id = 3;
|
||||
}
|
||||
|
||||
message SS_IM_FriendDeleteRequest
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional string target_id = 3;
|
||||
optional int32 reason = 4;
|
||||
}
|
||||
|
||||
message SS_IM_FriendDeleteResponse
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional string target_id = 3;
|
||||
}
|
||||
|
||||
message SS_IM_FriendApply
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional string target_id = 3;
|
||||
}
|
||||
|
||||
message SS_IM_QueryUserOnlineState
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
repeated string account_ids = 3;
|
||||
}
|
||||
|
||||
message SS_IM_PushUserOnlineState
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
repeated cs.MFUserInfo user_infos = 2;
|
||||
}
|
||||
|
||||
message SS_IM_OnUserOnline
|
||||
{
|
||||
repeated string account_ids = 3;
|
||||
}
|
||||
|
||||
message SS_IM_OnUserOffline
|
||||
{
|
||||
repeated string account_ids = 3;
|
||||
}
|
||||
|
||||
message SS_IM_RandomUsersRequest
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
repeated string exclude_account_ids = 3;
|
||||
}
|
||||
|
||||
message SS_IM_RandomUsersResponse
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
repeated cs.MFUserInfo user_infos = 2;
|
||||
}
|
||||
|
||||
message SS_IM_GuildMemberQuitRequest
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
optional int64 guild_id = 2;
|
||||
optional string sender_id = 3;
|
||||
optional string target_id = 4;
|
||||
optional int32 reason = 5;
|
||||
}
|
||||
|
||||
message SS_IM_GuildMemberQuitResponse
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
}
|
||||
|
||||
message SS_IM_GuildMemberUpdateRequest
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
optional int64 guild_id = 2;
|
||||
optional string sender_id = 3;
|
||||
optional string target_id = 4;
|
||||
optional int32 reason = 5;
|
||||
optional int32 guild_job = 6;
|
||||
}
|
||||
|
||||
message SS_IM_GuildMemberUpdateResponse
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
}
|
||||
|
||||
message SS_IM_RefeshGuildMemberInfo
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
}
|
||||
|
||||
message SS_GS_QueryGuildUserOnlineState
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
optional int64 guild_id = 2;
|
||||
repeated string account_ids = 3;
|
||||
}
|
||||
|
||||
message SS_IM_PushGuildUserOnlineState
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
optional int64 guild_id = 2;
|
||||
repeated string online_users = 3;
|
||||
}
|
||||
|
||||
message SS_IM_GuildRecalcRedPoint
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional int64 guild_id = 2;
|
||||
}
|
||||
|
||||
message SS_GS_PushGuildRedPoint
|
||||
{
|
||||
optional int64 guild_id = 1;
|
||||
optional string account_id = 2;
|
||||
optional int32 has_apply = 3;
|
||||
}
|
||||
|
||||
message SS_IM_GuildNewApply
|
||||
{
|
||||
optional MFIMMsgConext context = 1;
|
||||
optional int64 guild_id = 2;
|
||||
}
|
||||
|
||||
message SS_GS_ApplyChangeRequest
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
optional int64 guild_id = 2;
|
||||
optional string account_id = 3;
|
||||
optional int32 is_refuse = 4;
|
||||
}
|
||||
|
||||
message SS_IM_ApplyChangeResponse
|
||||
{
|
||||
optional int64 seqid = 1;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user