印度包网
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.
 
 
 

155 lines
3.3 KiB

syntax = "proto3";
package pb;
import "platform.proto";
option go_package = "../../pb";
// 服务器内部协议
message ClientDisConnectNotify {
uint32 UserID = 1;
string SessionId = 2;
}
message ReloadGameConfig {
int32 Type = 1;
bytes Data = 2;
}
// 新玩家登录发布消息
message NewPlayerLogin {
int32 uid = 1;
string GateServerID = 2;
string HallServerID = 3;
}
message InnerBroadcast {
int32 ID = 1;
string Content = 2;
int32 Priority = 3;
int32 Frequency = 4;
int32 Interval = 5;
}
message InnerBroadcastAll {
uint32 ProtocolType = 1; // 主协议号
uint32 ProtocolID = 2; // 子协议号
bytes Data = 3; // 数据
}
message InnerRefreshGold {
uint32 UID = 1;
repeated CurrencyPair Pair = 2;
uint32 Event = 3;
int64 Amount = 4; // 如果是充值,代表充值金额
string Desc = 5;
}
message InnerRefreshMail {
repeated uint32 UIDs = 1;
}
// InnerStatisticsData 内部玩家数据统计
message InnerStatisticsData {
uint32 UID = 1;
uint32 Channel = 2;
bytes Data = 3;
}
// InnerOnlineData 内部玩家在线统计
message InnerOnlineData {
bytes Data = 1;
string Field = 2;
int64 Time = 3;
}
// InnerPushRed 内部玩家红点推送
message InnerPushRed {
uint32 UID = 1;
}
// InnerUpdateRed 内部更新玩家红点推送
message InnerUpdateRed {
uint32 UID = 1;
uint32 Num = 2;
string Module = 3;
}
// InnerPlayerData 内部更新玩家数据
message InnerPlayerData {
uint32 UID = 1;
bytes Update = 2;
}
// InnerTableFee 内部更新每日台费
message InnerTableFee {
uint32 Channel = 1;
bytes Data = 2;
}
// InnerReply 内部请求回复结构
message InnerReply {
uint32 Code = 1;
string Msg = 2;
}
// InnerWarn 内部预警请求结构
message InnerWarn {
string ID = 1; // 预警ID
uint32 Opt = 2; // 操作类型 1新增 2修改 3删除
bytes Content = 3; // 内容
}
// InnerUpdateWarn 内部预警更新参数/确认是否触发预警请求结构
message InnerUpdateWarn {
uint32 Type = 1; // 预警类型
uint32 Opt = 2; // 操作类型 1更新 2确认
repeated int64 Amount = 3; // 参数
}
// InnerOptPlayer 内部通知对玩家做出某些操作
message InnerOptPlayer {
uint32 UID = 1; // uid
uint32 Opt = 2; // 操作类型 1踢出玩家
}
// InnerWhiteSwitch 内部白名单更新
message InnerWhiteSwitch {
uint32 Channel = 1; //
uint32 Opt = 2; // 操作类型 1开启 2关闭
}
// InnerWaterConfig 内部通知水位配置改动
message InnerWaterConfig {
uint32 GameID = 1; // 游戏id
uint32 RoomID = 2; // 房间id
}
// InnerWithdrawCallback 通知某个玩家退出回调了
message InnerWithdrawCallback {
uint32 UID = 1; // 玩家id
}
// InnerAfterSettle 玩家结算后逻辑
message InnerAfterSettle {
int64 UID = 1; // 玩家id
int64 ProviderID = 2;
int64 GameID = 3;
int64 TotalBet = 4; // 有效投注
int64 OriginSettle = 5;
int64 FinalSettle = 6;
string Phone = 7;
string UUID = 8;
string Nick = 9;
string MyUUID = 10;
int64 CurrencyType = 11;
bool IsNew = 12;
int64 SubID = 13;
int64 PlayTime = 14;
}
// 客服消息通知
message InnerCustomerMsgNotify {
uint32 UID = 1; // 玩家id
}