You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

401 lines
19 KiB

1 month ago
// Generated by the protocsstruct compiler. DO NOT EDIT!
using System;
namespace ProtoCSStruct
{
//
//enum
//
#region Enums
public enum SSMsgID
{
None = 0,
QueryAccountDb = 502, //从DB查询Account信息1
LoginCheckValidReq = 503, //游戏服务器向Lobby确认登录是否有效
LoginCheckValidRes = 504,
GameReportRealmlistReq = 505, //world上报给realmlist
GameReportRealmlistRes = 506, //realmlist返回的时候带上配置的所有realm,game需要这个校验连接是否合法
HttpCheckAccountTokenRes = 508, //校验token,拉取信息等等
QuerySnsFriendAccountReq = 509, //游戏服务器向account查询好友信息
QuerySnsFriendAccountRes = 510, //查询结果
QueryHttpSnsFriendListReq = 511, //account向http查询snsfriend列表
QueryHttpSnsFriendListRes = 512, //account向http查询snsfriend列表回应
QueryDbSnsFriendAccountReq = 513, //查询accountdb好友的信息uid
QueryDbSnsFriendAccountRes = 514, //查询accountdb好友的信息
BindGuestFacebookHttpCheckReq = 515, //绑定游客帐号http验证
BindGuestFacebookHttpCheckRes = 516,
BindGuestFacebookDbReq = 517, //绑定游客帐号db处理
BindGuestFacebookDbRes = 518, //绑定游客帐号db处理
UnbindGuestFacebookDbReq = 519, //解绑定游客帐号db处理
UnbindGuestFacebookDbRes = 520, //解绑定游客帐号db处理
UnbindGuestFacebookNotifyHttp = 523, //解绑定游客帐号成功后通知http清除cache
SnsFriendSyncAddFriend = 530, //account通知world同步增加了一个好友
GcmGooglePushInfo = 540, //推送信息发往account
QueryUidByFbuseridReq = 541, //根据fbuserid查询uid
QueryUidByFbuseridRes = 542, //根据fbuserid查询uid
ChangeFacebookUidDbReq = 543, //绑定Facebook帐号到另一个uid,gm使用,解决用户fb帐号被封问题
ChangeFacebookUidDbRes = 544, //绑定Facebook帐号到另一个uid
UpdateAccountLastloginrealm = 545, //更新最后登录服务器字段
QueryUidByWxidReq = 546, //根据WXID查询uid
QueryUidByWxidRes = 547, //根据WXID查询uid
RealmBriefReq = 551, // realm简要信息
RealmBriefRes = 552,
RealmRoleBriefReq = 553, // realm role简要信息
RealmRoleBriefRes = 554,
UpdateRealmRoleBrief = 555, // 更新realm role的简要信息, 注意字段要判断是否有效
QueryRealmUidDataReq = 556, // 查询realmUid
QueryRealmUidDataRes = 557,
SaveRealmUidDataReq = 558, // 保存realmUid
SaveRealmUidDataRes = 559,
NameQueryReq = 561, //查询name
NameQueryRes = 562, //查询name
NameInsertReq = 563, //插入name
NameInsertRes = 564, //插入name
NameUpdateReq = 565, //重新name
NameUpdateRes = 566, //重新name
NameDeleteReq = 567, //删除name
NameDeleteRes = 568, //删除name
GetClientVerionReq = 569, //获取客户端版本号
GetClientVerionRes = 570, //获取客户端版本号
UpdateAccountGradeDbReq = 571, // 更新玩家评价信息
UpdateAccountGradeDbRes = 572, // 更新玩家评价信息
SyncRoleinfoToOpsvr = 580, //同步玩家信息到opsvr
RealmOnlineplayerToOpsvr = 585, //realm在线人数信息同步到opsvr
SsAddRealmReq = 586, //新增服务器信息realm
SsAddRealmRes = 587, //新增服务器信息realm
AllRealmReq = 588, //所有realm信息
AllRealmRes = 589, //所有realm信息
SsRealmOperationReq = 590, //realm操作
SsRealmOperationRes = 591, //realm操作
SsRealmDbqueryReq = 592, //realm操作 DB
SsRealmDbqueryRes = 593, //realm操作 DB
SsRealmDbsaveReq = 594, //realm操作 DB
SsRealmDbsaveRes = 595, //realm操作 DB
RealmAllbriefReq = 596, // 所有 realm简要信息
RealmAllbriefRes = 597,
SsRealmNewPlayer = 598, //game通知realm新玩家注册
SsRealmSavePlayernum = 599,
SendGifts = 610,
}
public enum SSGameMsgID
{
None = 0,
QueryRoleDropDbRes = 20000,
QueryRoleDbReq = 20001,
QueryRoleDbRes = 20002,
GameReportReq = 20003,
OnlineReport = 20004,
SaveRoleReq = 20005,
SaveRoleRes = 20006,
BillLogReq = 20007,
Gmcmd = 20008,
PayGoogleReq = 20009,
PayGoogleRes = 20010,
PayGoogleSuccessReq = 20011,
PayGoogleSuccessRes = 20012,
PayDbAddDiamondStatusReq = 20013, // 通知数据库修改状态
PayDbAddDiamondStatusRes = 20014, // 通知数据库修改状态
PayDiamondHolderQueryReq = 20015, //查询托管钻石数量
PayDiamondHolderQueryRes = 20016, //查询托管钻石数量
PayDiamondHolderCostReq = 20017, //扣除托管钻石
PayDiamondHolderCostRes = 20018, //扣除托管钻石
PayDiamondHolderCostCancelReq = 20019, //取消扣除托管钻石(扣钻石买东西,成功后玩家对象找不到了,这种情况相当于回滚扣除操作)
PayDiamondHolderAddReq = 20021, //赠送钻石(就是添加,系统送)
PayDiamondHolderAddRes = 20022, //赠送钻石(就是添加,系统送)
QueryPayGoogleSuccOrder = 20023, //查询支付成功但没有添加钻石的订单
GmTestHeroPaySucc = 20024, // gm指令测试支付, 单独用一条消息, 避免影响正常逻辑
PaySendDbRefundReq = 20025, // 通知DB退款
PaySendDbRefundRes = 20026,
PayAddPlayerItemNotify = 20027, // 支付发货通知
PayHeroSaveHttpContentReq = 20028, // 英雄支付http请求保存到DB
PayHeroSaveHttpContentRes = 20029,
PayHeroSelectHttpContentReq = 20030, // 拉取英雄支付http请求, 目前用于发货
PayHeroSelectHttpContentRes = 20031,
PayHeroDeleteHttpContentNotify = 20032, // 删除英雄支付http请求, 目前用于发货
BdcLogReq = 20033, //BDC日志
TaLogReq = 20034, //TA日志
PayItemStockInfoReq = 20035, // game向world请求库存
PayItemStockInfoRes = 20036,
NotifyItemStockInfo = 20037, // world向game同步库存
PlayerDisconnectNotify = 20080, // 玩家断开连接
RolebaseReq = 20081, // 拉取rolebase
RolebaseRes = 20082, // 拉取rolebase
SaveRoleNotify = 20083, //保存roledata通知
QueryFriendListReq = 20101, //向db查好友列表
QueryFriendListRes = 20102,
QueryFriendInfoCacheReq = 20103, //向db查好友信息,一般是cache使用
QueryFriendInfoCacheRes = 20104,
SaveFriendListReq = 20105, //保存数据库
SaveFriendListRes = 20106, //保存数据库
FriendPlayerStatChgNotify = 20107, //好友系统需要知道一些玩家的统计数据变化
FriendSomeOpNotifyChat = 20108, //好友聊天系统需要知道好友的一些动作,比如送钱
FriendOpReq = 20109, // 好友异步操作
FriendOpRes = 20110,
FriendOpFinalResult = 20111, // 好友异步操作最终结果
FriendSelfChgNotify = 20112, // 自己的信息发生变化时, 通知其他服务器的好友更新关于自己的信息
PrivateChatNotify = 20113, // 通知对方私聊信息(不属于同一个服务器时)
QueryBlacklistReq = 20114, //查询黑名单
QueryBlacklistRes = 20115, //查询黑名单
HttpApiDbReq = 20121, //封装http api db请求
GetMailWithRuleReq = 20131, //获取oss邮件
GetMailWithRuleRes = 20132, //获取oss邮件
SendMailWithRule = 20133, //game通知world发邮件,比如全服
RoleLoginSuccessNotify = 20134, //玩家登陆通知,触发用
SendMailWithRuleRes = 20135, //game通知world发邮件,比如全服
DiscardMailWithRuleReq = 20136, //废弃邮件
QueryRankDbReq = 20145, //向db查询排行榜数据
QueryRankDbRes = 20146, //向db查询排行榜数据
SaveRankDbReq = 20147, //保存db排行榜数据
SaveRankDbRes = 20148, //保存db排行榜数据
AddRankDataReq = 20149, //向Rank添加排行榜数据
AddRankDataRes = 20150, //向Rank添加排行榜数据
UpdateAwardRank = 20151, //更新能领奖的排行榜
PlayerShowinfoUpdate = 20152, //玩家展示用的信息更新了
PlayerPowerUpdate = 20153, //玩家战力更新了
QueryRankOneReq = 20154, //查询玩家排行数据
QueryRankOneRes = 20155, //查询玩家排行数据
SendRankRewardReq = 20158, //通知排行榜发放奖励
SendRankRewardRes = 20159,
PlayerMainlandUpdate = 20160, //玩家主线进度更新了
FirebaseidSaveDbReq = 20161, //firebasePushId 保存数据库
FirebaseidQueryDbReq = 20162, //firebasePushId 查询数据库
FirebaseidQueryDbRes = 20163, //firebasePushId 查询数据库
GmQueryUserPayRecordReq = 20165, //查询支付记录
GmQueryUserPayRecordRes = 20166, //查询支付记录
QueryBattleReplayDbReq = 20167, //向db查询战斗回放数据
QueryBattleReplayDbRes = 20168, //向db查询战斗回放数据
SaveBattleReplayDbReq = 20169, //向db保存战斗回放数据
SaveBattleReplayDbRes = 20170, //向db保存战斗回放数据
DeleteBattleReplayDbReq = 20171, //向db发删除战斗回放
DeleteBattleReplayDbRes = 20172, //向db发删除战斗回放
GmPlayerPhoneInfo = 20175, //玩家安装时的设备信息
GmLinkClickCount = 20177, //玩家分享的链接被点击次数
UpdateBattleRecordReq = 20178, //战斗完成后更新战斗记录
UpdateBattleRecordRes = 20179, //战斗完成后更新战斗记录
UpdateBattleGroupRecordReq = 20181, //战斗完成后更新战斗记录
UpdateBattleGroupRecordRes = 20182, //战斗完成后更新战斗记录
MailOpReq = 20201, //邮件操作请求
MailOpRes = 20202, //邮件操作
QueryMailReq = 20203, //邮件查询请求
QueryMailRes = 20204, //邮件查询
QueryMailVersionReq = 20205, //邮件查询群发邮件版本号
QueryMailVersionRes = 20206, //邮件查询群发邮件版本号
UpdateRoleDataToWorld = 20220, // gamesvr向world更新部分角色的数据
UpdateRolebaseToWorld = 20221, //更新rolebase
GamePlayerDestroy = 20222, //game->world game->room,通知gameserver上玩家下线删除对象了
AddServerTimeSync = 20223, //服务器时间偏移同步
GooglePushInfo = 20231, //谷歌play推送信息发往world
ServerStopNotify = 20232, //正式停服通知
GmStopServerNotify = 20233, //gamesvr gm指令设置停服通知
SysNoticeLamp = 20234, //走马灯
GmSetFreezeTime = 20239, // 设置封号时间
GmSetFreezeTimeRes = 20240, // 设置封号时间
RandomTaskReq = 20241, // gamesvr向world请求随机任务
RandomTaskRes = 20242,
StatisticsChg = 20249,
SysNoticeLampReq = 20259,
ChatConsumeReq = 20263,
ChatConsumeRes = 20264,
ChatNoticeReq = 20265, //OperationServer向ChatServer推送公告
ChatNoticeRes = 20266, //ChatServer向OperationServer拉取公告
ChatDelNotice = 20267, //OperationServer向ChatServer删除公告
GmQueryUserAccountinfoReq = 20268, //OperationServer查询账号信息
GmQueryUserAccountinfoRes = 20269, //OperationServer查询账号信息
GmQueryUserRoleReq = 20270, //OperationServer查询角色信息
GmQueryUserRoleRes = 20271, //OperationServer查询角色信息
GmChangeRoleNameReq = 20272, //OperationServer修改角色名字
GmChangeRoleNameRes = 20273, //OperationServer修改角色名字
GmUpdateUserRoleReq = 20280, //OperationServer更新角色信息
GmUpdateUserRoleRes = 20281, //OperationServer更新角色信息
GmImportUserRoleReq = 20282, //OperationServer导入角色信息
GmImportUserRoleRes = 20283, //OperationServer导入角色信息
BattleBeginReq = 20301, // 开始战斗
BattleBeginRes = 20302,
BattleEndNotify = 20303, //通知战斗结束
BattleDestroyNotify = 20305, //通知战斗销毁
GametoworldConnectnotify = 20400, //game通知world 玩家连接
WorldClusterlinkdataChangenotify = 20401, //用于连接变化后通知 账户服务器 game服务器
WorldtogameDeleteplayersession = 20402, //world 通知game 删除playersession
NotifyworldBroadcastgmcmd = 20500, //通知world广播下gm指令
DealgmcmdNotify = 20501, //通知服务器处理下GM指令
WaitplayerRemaintimeNotify = 20502, //通知game服务器通知客户端等待连接还剩多长时间
BattleServerVersionReq = 20505, //战斗服务器版本请求
BattleServerVersionRes = 20506, //战斗服务器版本请求
RankQueryRoleDbReq = 20601,
RankQueryRoleDbRes = 20602,
RankRealmlistReq = 20611, // 更新Game排行列表 */
RankRealmlistRes = 20612, // 更新Game排行列表 */
SynRoleRankData = 20627, //同步玩家排行榜数据
WorldglobaldataDbOpReq = 20664, //向db操作全局数据
WorldglobaldataDbOpRes = 20665, //向db操作全局数据
WorldglobaldataDbOpNewReq = 20666, //新版向db操作全局数据,不需要player
WorldglobaldataDbOpNewRes = 20667, //向db操作全局数据,不需要player
CheckDirtyStringReq = 21029, //检查脏词
CheckDirtyStringRes = 21030, //检查脏词
PlayerQueryOfflineRoleReq = 30000, //查询离线玩家缓存起来
PlayerQueryOfflineRoleRes = 30001, //查询离线玩家缓存起来
PlayerSearchRoledbBynameReq = 30002, //玩家通过名称搜索玩家
PlayerSearchRoledbBynameRes = 30003, //玩家通过名称搜索玩家
ExchangeCodeSynNotify = 30010, //兑换码同步
ExchangeCodeTakeReq = 30011, //兑换码领取
ExchangeCodeTakeRes = 30012, //兑换码领取
ExchangeSaveDbReq = 30013, //兑换码存盘
ExchangeSaveDbRes = 30014, //兑换码存盘
ExchangeQueryDbReq = 30015, //兑换码查询
ExchangeQueryDbRes = 30016, //兑换码查询
ChatRealtimeValidateReq = 30017, // 英雄舆情系统实时检测请求
ChatRealtimeValidateRes = 30018,
NoticeBackgroundsReq = 30019, // 公告背景图通知请求
NoticeBackgroundsRes = 30020, // 公告背景图通知
ExchangeRecordSaveDbReq = 30025, //兑换码记录存盘
ExchangeRecordSaveDbRes = 30026, //兑换码记录存盘
ExchangeRecordQueryDbReq = 30027, //兑换码记录查询
ExchangeRecordQueryDbRes = 30028, //兑换码记录查询
EnableSendMsgReq = 30030, // 聊天禁言请求
EnableSendMsgRes = 30031, // 聊天禁言
ExchangeStatusChangeReq = 30035, //兑换码状态修改
ExchangeStatusChangeRes = 30036, //兑换码状态修改
PandoraActivityRankReq = 30109, //PANDORA活动排行榜发奖
PlaydataOpReq = 30110, // 玩家数据操作查询
PlaydataOpRes = 30111, // 玩家数据操作查询
HomeAdSendHttpSyn = 31050, //点击广告
HomeAdSendAwardSyn = 31100, //首页广告
HomeAdShowAdSyn = 31101,
ClearRankReq = 31102, //清空某个排行榜
ClearRankRes = 31103, //清空某个排行榜
QueryRoleBaseInfoListReq = 31104, //请求拉取最新的roleBaseInfo数据
QueryRoleBaseInfoListRes = 31105, //请求拉取最新的roleBaseInfo数据
OperationFakepay = 31300, //OperationServer 向通过WordServer向Gameserver请求发送礼包
OperationFakepayRes = 31301, //OperationServer 向通过WordServer向Gameserver请求发送礼包
OperationCostItemReq = 31302, //OperationServer 向通过WordServer向Gameserver请求发送扣除玩家道具
OperationCostItemRes = 31303, //OperationServer 向通过WordServer向Gameserver请求发送扣除玩家道具
OperationMailSearchReq = 31304, //OperationServer 向通过WordServer向GameDbServer请求玩家邮件数据
OperationMailSearchRes = 31305, //OperationServer 向通过WordServer向GameDbServer请求玩家邮件数据
OperationMailDeleteReq = 31306, //OperationServer 向通过WordServer向GameServer请求删除玩家邮件数据
OperationMailDeleteRes = 31307, //OperationServer 向通过WordServer向GameServer请求删除玩家邮件数据
OperationMonitorReq = 31308, //OperationServer 向通过WordServer向GameServer请求服务器数据
OperationMonitorRes = 31309, //OperationServer 向通过WordServer向GameServer返回服务器数据
OperationUpdateTaskReq = 31310, //OperationServer 向通过WordServer向GameServer请求修改玩家任务数据
PetpvpGetRealm = 31311,
PetpvpGetRealmRes = 31312,
PetpvpSaveRealm = 31313,
PetpvpSaveRealmRes = 31314,
PetpvpGetPlayer = 31315,
PetpvpGetPlayerRes = 31316,
PetpvpSavePlayer = 31317,
PetpvpSavePlayerRes = 31318,
PetpvpBattle = 31319,
PetpvpBattleRes = 31320,
PetpvpGetWorld = 31321,
PetpvpGetWorldRes = 31322,
PetpvpSaveWorld = 31323,
PetpvpSaveWorldRes = 31324,
OperationUpdateTaskRes = 31325, //OperationServer 向通过WordServer向GameServer返回修改玩家任务数据
OperationLimitReq = 31326, //OperationServer 向通过WordServer向RealListServer
OperationLimitRes = 31327, //OperationServer 向通过WordServer向RealListServer
SyncPresetReq = 31328, //同步preset data数据
SyncPresetRes = 31329,
QueryActRankDbReq = 31401, //活动排行版
QueryActRankDbRes = 31402,
AddActRankDataReq = 31403, //添加活动排行榜数据请求
AddActRankDataRes = 31404, //添加活动排行榜数据请求
SaveActRankDataReq = 31405, //save活动排行榜数据请求
SaveActRankDataRes = 31406,
Reward = 31500, //执行gmreward
RewardRes = 31501,
CbcPlayerReq = 31601,
}
public enum WorldCommCfgDescType
{
None = 0,
GameSvcStartTime = 1, //game开服时间
SchoolRCDBeginIndex = 2, //推荐英雄轮训Index
SchoolRCDLoopDays = 3, //推荐英雄轮训总天数
}
public enum OpRealmType
{
None = 0,
Add = 1,
Remove = 2,
Update = 3,
}
public enum QueryFriendInfoCacheReason
{
None = 0,
LoginQuerySnsFriend = 1, // 拉取完整的Friend信息, 要处理sns关系, 然后再返回friendList
LoginQueryDBFriend = 2, // 拉取完整的Friend信息, 不要处理sns关系, 提高效率, 然后再返回friendList
QueryByCliOp = 3, // 双方同服, 拉取后同时处理双方好友
QueryBySsOp = 4, // 双方不在同一个服务器, 先处理target后通知源服务器处理submitter
QueryByUid = 5, // 拉去后通知客户端DBFriendOne
QueryOtherDetail = 6, // 拉取后返回客户端detail, 暂时没用
QueryFriendOneStruct = 7, // 拉取后好友的DBFriendOne信息, 然后再返回friendList
QueryBySendGift = 8, // 拉取后处理好友赠送礼物
SaveChat = 9, // 拉取后保存聊天
QueryChat = 10, // 客户端请求聊天
QueryBlacklist = 11, // 黑名单查询拉取
}
public enum SendMailRuleType
{
None = 0,
All = 1,
Ios = 2,
Android = 3,
}
public enum ExchangeCodeStatus
{
None = 0,
Open = 1, //开启
Close = 2, //关闭
}
public enum NoticeTriggerType
{
FixedTime = 0,
OpeningTime = 1,
Timer = 2,
}
public enum OpPlayDataHandleType
{
None = 0,
Currency = 1, // 货币
Hero = 2, // 英雄
BagItem = 3, // 背包道具
BagEquip = 4, // 背包装备
VipActivity = 5, // vip活动
Debug = 6, // 测试
}
public enum DBOpType
{
None = 0,
Select = 1, //查询
Update = 2, //更新或插入
}
public enum QueryRoleBaseInfoType
{
None = 0,
QUERY = 1, //查询
ADD = 2, //插入
}
public enum WorldGlobalDataDBOpType
{
None = 0,
Query = 1, //查询
Update = 2, //更新或插入
}
#endregion
}