年兽活动 排行榜奖励配置
This commit is contained in:
parent
8a320c1cf4
commit
36708d2af6
|
@ -30,28 +30,29 @@ const (
|
||||||
ETCDKEY_PLAYERPOOL = "/game/plt/playerpool/" // 个人水池调控配置
|
ETCDKEY_PLAYERPOOL = "/game/plt/playerpool/" // 个人水池调控配置
|
||||||
ETCDKEY_GAME_CONFIG = "/game/plt/gameconfig/" // 游戏管理/全局配置
|
ETCDKEY_GAME_CONFIG = "/game/plt/gameconfig/" // 游戏管理/全局配置
|
||||||
ETCDKEY_ACT_PHONELOTTERY = "/game/act_phoneLottery"
|
ETCDKEY_ACT_PHONELOTTERY = "/game/act_phoneLottery"
|
||||||
ETCDKEY_ChannelSwitch = "/game/channel/switch" // 渠道开关
|
ETCDKEY_ChannelSwitch = "/game/channel/switch" // 渠道开关
|
||||||
ETCDKEY_ACT_Invite = "/game/act_invite" // 邀请活动配置
|
ETCDKEY_ACT_Invite = "/game/act_invite" // 邀请活动配置
|
||||||
ETCDKEY_ACT_Permit = "/game/act_permit" // 赛季通行证配置
|
ETCDKEY_ACT_Permit = "/game/act_permit" // 赛季通行证配置
|
||||||
ETCDKEY_DIAMOND_LOTTERY = "/game/diamond_lottery" // 钻石抽奖配置
|
ETCDKEY_DIAMOND_LOTTERY = "/game/diamond_lottery" // 钻石抽奖配置
|
||||||
ETCDKEY_Item = "/game/item" // 道具列表
|
ETCDKEY_Item = "/game/item" // 道具列表
|
||||||
ETCDKEY_SKin = "/game/skin_config" // 皮肤配置
|
ETCDKEY_SKin = "/game/skin_config" // 皮肤配置
|
||||||
ETCDKEY_RANK_TYPE = "/game/RankType" // 排行榜奖励配置
|
ETCDKEY_RANK_TYPE = "/game/RankType" // 排行榜奖励配置
|
||||||
ETCDKEY_AWARD_CONFIG = "/game/awardlog_config" //获奖记录
|
ETCDKEY_AWARD_CONFIG = "/game/awardlog_config" //获奖记录
|
||||||
ETCDKEY_GUIDE = "/game/guide_config" //新手引导配置
|
ETCDKEY_GUIDE = "/game/guide_config" //新手引导配置
|
||||||
ETCDKEY_MACHINE = "/game/machine_config" //娃娃机配置
|
ETCDKEY_MACHINE = "/game/machine_config" //娃娃机配置
|
||||||
ETCDKEY_MatchAudience = "/game/match_audience" //比赛观众
|
ETCDKEY_MatchAudience = "/game/match_audience" //比赛观众
|
||||||
ETCDKEY_Spirit = "/game/spirit" // 小精灵配置
|
ETCDKEY_Spirit = "/game/spirit" // 小精灵配置
|
||||||
ETCDKEY_RoomType = "/game/room_type/" // 房间类型配置
|
ETCDKEY_RoomType = "/game/room_type/" // 房间类型配置
|
||||||
ETCDKEY_RoomConfig = "/game/room_config/" // 房间配置
|
ETCDKEY_RoomConfig = "/game/room_config/" // 房间配置
|
||||||
ETCDKEY_RoomConfigSystem = "/game/room_system" // 系统房间配置
|
ETCDKEY_RoomConfigSystem = "/game/room_system" // 系统房间配置
|
||||||
ETCDKEY_ClientUpgrade = "/game/client_upgrade" // 客户端升级奖励配置
|
ETCDKEY_ClientUpgrade = "/game/client_upgrade" // 客户端升级奖励配置
|
||||||
ETCDKEY_PopUpWindow = "/game/PopUpWindowConfig" //弹窗配置
|
ETCDKEY_PopUpWindow = "/game/PopUpWindowConfig" //弹窗配置
|
||||||
ETCDKEY_LotteryConfig = "/game/lottery" //抽奖配置
|
ETCDKEY_LotteryConfig = "/game/lottery" //抽奖配置
|
||||||
ETCDKEY_LotteryUser = "/game/user_lottery" //抽奖用户必中配置
|
ETCDKEY_LotteryUser = "/game/user_lottery" //抽奖用户必中配置
|
||||||
ETCDKEY_PigBankDiamond = "/game/pigbank_diamond" //存钱罐消耗获得
|
ETCDKEY_PigBankDiamond = "/game/pigbank_diamond" //存钱罐消耗获得
|
||||||
ETCDKEY_PigBankProp = "/game/pigbank_prop" //存钱罐属性
|
ETCDKEY_PigBankProp = "/game/pigbank_prop" //存钱罐属性
|
||||||
ETCDKEY_NianConfig = "/game/activity_nian" //年兽活动配置
|
ETCDKEY_NianConfig = "/game/activity_nian" //年兽活动配置
|
||||||
ETCDKEY_REDPACKET = "/game/act_redpacket" //红包配置
|
ETCDKEY_NianRankConfig = "/game/activity_nian_rank" //年兽排行榜配置
|
||||||
|
ETCDKEY_REDPACKET = "/game/act_redpacket" //红包配置
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -145,15 +145,15 @@ type SCNianData struct {
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ActivityStartTime int64 `protobuf:"varint,1,opt,name=ActivityStartTime,proto3" json:"ActivityStartTime,omitempty"` //活动开始时间
|
ActivityStartTime int64 `protobuf:"varint,1,opt,name=ActivityStartTime,proto3" json:"ActivityStartTime,omitempty"` //活动开始时间
|
||||||
ActivityEndTime int64 `protobuf:"varint,2,opt,name=ActivityEndTime,proto3" json:"ActivityEndTime,omitempty"` //活动结束时间
|
ActivityEndTime int64 `protobuf:"varint,2,opt,name=ActivityEndTime,proto3" json:"ActivityEndTime,omitempty"` //活动结束时间
|
||||||
BossMaxHp int64 `protobuf:"varint,3,opt,name=BossMaxHp,proto3" json:"BossMaxHp,omitempty"` //Boss最大血量
|
BossMaxHp int64 `protobuf:"varint,3,opt,name=BossMaxHp,proto3" json:"BossMaxHp,omitempty"` //Boss最大血量
|
||||||
BossHp int64 `protobuf:"varint,4,opt,name=BossHp,proto3" json:"BossHp,omitempty"` //Boss当前血量
|
BossHp int64 `protobuf:"varint,4,opt,name=BossHp,proto3" json:"BossHp,omitempty"` //Boss当前血量
|
||||||
LuckData []*RankData `protobuf:"bytes,5,rep,name=LuckData,proto3" json:"LuckData,omitempty"` //幸运榜
|
RankData []*NianRankData `protobuf:"bytes,5,rep,name=RankData,proto3" json:"RankData,omitempty"` //排行榜奖励配置
|
||||||
AwardTime int64 `protobuf:"varint,6,opt,name=AwardTime,proto3" json:"AwardTime,omitempty"` //每日签到领取时间
|
AwardTime int64 `protobuf:"varint,6,opt,name=AwardTime,proto3" json:"AwardTime,omitempty"` //每日签到领取时间
|
||||||
BuffCount int64 `protobuf:"varint,7,opt,name=BuffCount,proto3" json:"BuffCount,omitempty"` //Buff剩余次数
|
BuffCount int64 `protobuf:"varint,7,opt,name=BuffCount,proto3" json:"BuffCount,omitempty"` //Buff剩余次数
|
||||||
BuffStatus bool `protobuf:"varint,8,opt,name=BuffStatus,proto3" json:"BuffStatus,omitempty"` //Buff领取状态
|
BuffStatus bool `protobuf:"varint,8,opt,name=BuffStatus,proto3" json:"BuffStatus,omitempty"` //Buff领取状态
|
||||||
SignAwardTime int64 `protobuf:"varint,9,opt,name=SignAwardTime,proto3" json:"SignAwardTime,omitempty"` //签到领取时间 0-未领取
|
SignAwardTime int64 `protobuf:"varint,9,opt,name=SignAwardTime,proto3" json:"SignAwardTime,omitempty"` //签到领取时间 0-未领取
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianData) Reset() {
|
func (x *SCNianData) Reset() {
|
||||||
|
@ -216,9 +216,9 @@ func (x *SCNianData) GetBossHp() int64 {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianData) GetLuckData() []*RankData {
|
func (x *SCNianData) GetRankData() []*NianRankData {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.LuckData
|
return x.RankData
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -340,18 +340,17 @@ func (x *SCNianBuff) GetBuffCount() int64 {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
//排行榜数据
|
type NianRankData struct {
|
||||||
//PACKET_CSNianRankData
|
|
||||||
type CSNianRankData struct {
|
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1-幸运榜 2-总伤害榜
|
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //1-幸运榜 2-总榜
|
||||||
|
Data []*NianRankInfo `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CSNianRankData) Reset() {
|
func (x *NianRankData) Reset() {
|
||||||
*x = CSNianRankData{}
|
*x = NianRankData{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[4]
|
mi := &file_protocol_activity_nian_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
@ -359,13 +358,13 @@ func (x *CSNianRankData) Reset() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CSNianRankData) String() string {
|
func (x *NianRankData) String() string {
|
||||||
return protoimpl.X.MessageStringOf(x)
|
return protoimpl.X.MessageStringOf(x)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*CSNianRankData) ProtoMessage() {}
|
func (*NianRankData) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *CSNianRankData) ProtoReflect() protoreflect.Message {
|
func (x *NianRankData) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[4]
|
mi := &file_protocol_activity_nian_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
@ -377,30 +376,36 @@ func (x *CSNianRankData) ProtoReflect() protoreflect.Message {
|
||||||
return mi.MessageOf(x)
|
return mi.MessageOf(x)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated: Use CSNianRankData.ProtoReflect.Descriptor instead.
|
// Deprecated: Use NianRankData.ProtoReflect.Descriptor instead.
|
||||||
func (*CSNianRankData) Descriptor() ([]byte, []int) {
|
func (*NianRankData) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{4}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CSNianRankData) GetTypeId() int32 {
|
func (x *NianRankData) GetTypeId() int32 {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.TypeId
|
return x.TypeId
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
//PACKET_SCNianRankData
|
func (x *NianRankData) GetData() []*NianRankInfo {
|
||||||
type SCNianRankData struct {
|
if x != nil {
|
||||||
|
return x.Data
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type NianRankInfo struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"`
|
RankId int32 `protobuf:"varint,1,opt,name=RankId,proto3" json:"RankId,omitempty"`
|
||||||
Data []*RankData `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`
|
Award []*RankAwardData `protobuf:"bytes,2,rep,name=Award,proto3" json:"Award,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianRankData) Reset() {
|
func (x *NianRankInfo) Reset() {
|
||||||
*x = SCNianRankData{}
|
*x = NianRankInfo{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[5]
|
mi := &file_protocol_activity_nian_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
@ -408,13 +413,13 @@ func (x *SCNianRankData) Reset() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianRankData) String() string {
|
func (x *NianRankInfo) String() string {
|
||||||
return protoimpl.X.MessageStringOf(x)
|
return protoimpl.X.MessageStringOf(x)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*SCNianRankData) ProtoMessage() {}
|
func (*NianRankInfo) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SCNianRankData) ProtoReflect() protoreflect.Message {
|
func (x *NianRankInfo) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[5]
|
mi := &file_protocol_activity_nian_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
@ -426,98 +431,19 @@ func (x *SCNianRankData) ProtoReflect() protoreflect.Message {
|
||||||
return mi.MessageOf(x)
|
return mi.MessageOf(x)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated: Use SCNianRankData.ProtoReflect.Descriptor instead.
|
// Deprecated: Use NianRankInfo.ProtoReflect.Descriptor instead.
|
||||||
func (*SCNianRankData) Descriptor() ([]byte, []int) {
|
func (*NianRankInfo) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{5}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianRankData) GetTypeId() int32 {
|
func (x *NianRankInfo) GetRankId() int32 {
|
||||||
if x != nil {
|
|
||||||
return x.TypeId
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SCNianRankData) GetData() []*RankData {
|
|
||||||
if x != nil {
|
|
||||||
return x.Data
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type RankData struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
RankId int32 `protobuf:"varint,1,opt,name=RankId,proto3" json:"RankId,omitempty"`
|
|
||||||
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
||||||
Icon int32 `protobuf:"varint,3,opt,name=Icon,proto3" json:"Icon,omitempty"`
|
|
||||||
Score int64 `protobuf:"varint,4,opt,name=Score,proto3" json:"Score,omitempty"`
|
|
||||||
Award []*RankAwardData `protobuf:"bytes,5,rep,name=Award,proto3" json:"Award,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RankData) Reset() {
|
|
||||||
*x = RankData{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[6]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RankData) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*RankData) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *RankData) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[6]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use RankData.ProtoReflect.Descriptor instead.
|
|
||||||
func (*RankData) Descriptor() ([]byte, []int) {
|
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{6}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RankData) GetRankId() int32 {
|
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.RankId
|
return x.RankId
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RankData) GetName() string {
|
func (x *NianRankInfo) GetAward() []*RankAwardData {
|
||||||
if x != nil {
|
|
||||||
return x.Name
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RankData) GetIcon() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Icon
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RankData) GetScore() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Score
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RankData) GetAward() []*RankAwardData {
|
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Award
|
return x.Award
|
||||||
}
|
}
|
||||||
|
@ -536,7 +462,7 @@ type RankAwardData struct {
|
||||||
func (x *RankAwardData) Reset() {
|
func (x *RankAwardData) Reset() {
|
||||||
*x = RankAwardData{}
|
*x = RankAwardData{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[7]
|
mi := &file_protocol_activity_nian_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -549,7 +475,7 @@ func (x *RankAwardData) String() string {
|
||||||
func (*RankAwardData) ProtoMessage() {}
|
func (*RankAwardData) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *RankAwardData) ProtoReflect() protoreflect.Message {
|
func (x *RankAwardData) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[7]
|
mi := &file_protocol_activity_nian_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -562,7 +488,7 @@ func (x *RankAwardData) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use RankAwardData.ProtoReflect.Descriptor instead.
|
// Deprecated: Use RankAwardData.ProtoReflect.Descriptor instead.
|
||||||
func (*RankAwardData) Descriptor() ([]byte, []int) {
|
func (*RankAwardData) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{7}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RankAwardData) GetItemId() int32 {
|
func (x *RankAwardData) GetItemId() int32 {
|
||||||
|
@ -592,7 +518,7 @@ type CSNianAttack struct {
|
||||||
func (x *CSNianAttack) Reset() {
|
func (x *CSNianAttack) Reset() {
|
||||||
*x = CSNianAttack{}
|
*x = CSNianAttack{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[8]
|
mi := &file_protocol_activity_nian_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -605,7 +531,7 @@ func (x *CSNianAttack) String() string {
|
||||||
func (*CSNianAttack) ProtoMessage() {}
|
func (*CSNianAttack) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *CSNianAttack) ProtoReflect() protoreflect.Message {
|
func (x *CSNianAttack) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[8]
|
mi := &file_protocol_activity_nian_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -618,7 +544,7 @@ func (x *CSNianAttack) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use CSNianAttack.ProtoReflect.Descriptor instead.
|
// Deprecated: Use CSNianAttack.ProtoReflect.Descriptor instead.
|
||||||
func (*CSNianAttack) Descriptor() ([]byte, []int) {
|
func (*CSNianAttack) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{8}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CSNianAttack) GetTypeId() int32 {
|
func (x *CSNianAttack) GetTypeId() int32 {
|
||||||
|
@ -648,7 +574,7 @@ type SCNianAttackData struct {
|
||||||
func (x *SCNianAttackData) Reset() {
|
func (x *SCNianAttackData) Reset() {
|
||||||
*x = SCNianAttackData{}
|
*x = SCNianAttackData{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[9]
|
mi := &file_protocol_activity_nian_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -661,7 +587,7 @@ func (x *SCNianAttackData) String() string {
|
||||||
func (*SCNianAttackData) ProtoMessage() {}
|
func (*SCNianAttackData) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SCNianAttackData) ProtoReflect() protoreflect.Message {
|
func (x *SCNianAttackData) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[9]
|
mi := &file_protocol_activity_nian_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -674,7 +600,7 @@ func (x *SCNianAttackData) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use SCNianAttackData.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SCNianAttackData.ProtoReflect.Descriptor instead.
|
||||||
func (*SCNianAttackData) Descriptor() ([]byte, []int) {
|
func (*SCNianAttackData) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{9}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianAttackData) GetTypeId() int32 {
|
func (x *SCNianAttackData) GetTypeId() int32 {
|
||||||
|
@ -751,7 +677,7 @@ type CSNianSignAward struct {
|
||||||
func (x *CSNianSignAward) Reset() {
|
func (x *CSNianSignAward) Reset() {
|
||||||
*x = CSNianSignAward{}
|
*x = CSNianSignAward{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[10]
|
mi := &file_protocol_activity_nian_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -764,7 +690,7 @@ func (x *CSNianSignAward) String() string {
|
||||||
func (*CSNianSignAward) ProtoMessage() {}
|
func (*CSNianSignAward) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *CSNianSignAward) ProtoReflect() protoreflect.Message {
|
func (x *CSNianSignAward) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[10]
|
mi := &file_protocol_activity_nian_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -777,7 +703,7 @@ func (x *CSNianSignAward) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use CSNianSignAward.ProtoReflect.Descriptor instead.
|
// Deprecated: Use CSNianSignAward.ProtoReflect.Descriptor instead.
|
||||||
func (*CSNianSignAward) Descriptor() ([]byte, []int) {
|
func (*CSNianSignAward) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{10}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
//PACKET_SCNianSignAward
|
//PACKET_SCNianSignAward
|
||||||
|
@ -793,7 +719,7 @@ type SCNianSignAward struct {
|
||||||
func (x *SCNianSignAward) Reset() {
|
func (x *SCNianSignAward) Reset() {
|
||||||
*x = SCNianSignAward{}
|
*x = SCNianSignAward{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[11]
|
mi := &file_protocol_activity_nian_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -806,7 +732,7 @@ func (x *SCNianSignAward) String() string {
|
||||||
func (*SCNianSignAward) ProtoMessage() {}
|
func (*SCNianSignAward) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SCNianSignAward) ProtoReflect() protoreflect.Message {
|
func (x *SCNianSignAward) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[11]
|
mi := &file_protocol_activity_nian_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -819,7 +745,7 @@ func (x *SCNianSignAward) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use SCNianSignAward.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SCNianSignAward.ProtoReflect.Descriptor instead.
|
||||||
func (*SCNianSignAward) Descriptor() ([]byte, []int) {
|
func (*SCNianSignAward) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{11}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianSignAward) GetSignAwardTime() int64 {
|
func (x *SCNianSignAward) GetSignAwardTime() int64 {
|
||||||
|
@ -849,7 +775,7 @@ type CSNianChange struct {
|
||||||
func (x *CSNianChange) Reset() {
|
func (x *CSNianChange) Reset() {
|
||||||
*x = CSNianChange{}
|
*x = CSNianChange{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[12]
|
mi := &file_protocol_activity_nian_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -862,7 +788,7 @@ func (x *CSNianChange) String() string {
|
||||||
func (*CSNianChange) ProtoMessage() {}
|
func (*CSNianChange) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *CSNianChange) ProtoReflect() protoreflect.Message {
|
func (x *CSNianChange) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[12]
|
mi := &file_protocol_activity_nian_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -875,7 +801,7 @@ func (x *CSNianChange) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use CSNianChange.ProtoReflect.Descriptor instead.
|
// Deprecated: Use CSNianChange.ProtoReflect.Descriptor instead.
|
||||||
func (*CSNianChange) Descriptor() ([]byte, []int) {
|
func (*CSNianChange) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{12}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CSNianChange) GetNum() int32 {
|
func (x *CSNianChange) GetNum() int32 {
|
||||||
|
@ -898,7 +824,7 @@ type SCNianChange struct {
|
||||||
func (x *SCNianChange) Reset() {
|
func (x *SCNianChange) Reset() {
|
||||||
*x = SCNianChange{}
|
*x = SCNianChange{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[13]
|
mi := &file_protocol_activity_nian_proto_msgTypes[12]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -911,7 +837,7 @@ func (x *SCNianChange) String() string {
|
||||||
func (*SCNianChange) ProtoMessage() {}
|
func (*SCNianChange) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SCNianChange) ProtoReflect() protoreflect.Message {
|
func (x *SCNianChange) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_protocol_activity_nian_proto_msgTypes[13]
|
mi := &file_protocol_activity_nian_proto_msgTypes[12]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -924,7 +850,7 @@ func (x *SCNianChange) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use SCNianChange.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SCNianChange.ProtoReflect.Descriptor instead.
|
||||||
func (*SCNianChange) Descriptor() ([]byte, []int) {
|
func (*SCNianChange) Descriptor() ([]byte, []int) {
|
||||||
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{13}
|
return file_protocol_activity_nian_proto_rawDescGZIP(), []int{12}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SCNianChange) GetNum() int32 {
|
func (x *SCNianChange) GetNum() int32 {
|
||||||
|
@ -947,7 +873,7 @@ var file_protocol_activity_nian_proto_rawDesc = []byte{
|
||||||
0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76,
|
0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76,
|
||||||
0x69, 0x74, 0x79, 0x2f, 0x6e, 0x69, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
|
0x69, 0x74, 0x79, 0x2f, 0x6e, 0x69, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
|
||||||
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x0c, 0x0a, 0x0a, 0x43, 0x53, 0x4e, 0x69,
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x0c, 0x0a, 0x0a, 0x43, 0x53, 0x4e, 0x69,
|
||||||
0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x22, 0xcc, 0x02, 0x0a, 0x0a, 0x53, 0x43, 0x4e, 0x69, 0x61,
|
0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x22, 0xd0, 0x02, 0x0a, 0x0a, 0x53, 0x43, 0x4e, 0x69, 0x61,
|
||||||
0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x11, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x11, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
||||||
0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||||
0x52, 0x11, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54,
|
0x52, 0x11, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54,
|
||||||
|
@ -957,108 +883,103 @@ var file_protocol_activity_nian_proto_rawDesc = []byte{
|
||||||
0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||||||
0x52, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x42,
|
0x52, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x42,
|
||||||
0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x6f, 0x73,
|
0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x6f, 0x73,
|
||||||
0x73, 0x48, 0x70, 0x12, 0x2e, 0x0a, 0x08, 0x4c, 0x75, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x18,
|
0x73, 0x48, 0x70, 0x12, 0x32, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x18,
|
||||||
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
||||||
0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x4c, 0x75, 0x63, 0x6b, 0x44,
|
0x2e, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x52,
|
||||||
0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65,
|
0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x77, 0x61, 0x72, 0x64,
|
||||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d,
|
0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x41, 0x77, 0x61, 0x72,
|
||||||
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07,
|
0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75,
|
||||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f,
|
||||||
0x1e, 0x0a, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20,
|
0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||||||
0x01, 0x28, 0x08, 0x52, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x53, 0x74, 0x61,
|
||||||
0x24, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65,
|
0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64,
|
||||||
0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72,
|
0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x53, 0x69, 0x67, 0x6e,
|
||||||
0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x0c, 0x0a, 0x0a, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x42,
|
0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x0c, 0x0a, 0x0a, 0x43, 0x53, 0x4e,
|
||||||
0x75, 0x66, 0x66, 0x22, 0x2a, 0x0a, 0x0a, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x42, 0x75, 0x66,
|
0x69, 0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x22, 0x2a, 0x0a, 0x0a, 0x53, 0x43, 0x4e, 0x69, 0x61,
|
||||||
0x66, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
|
0x6e, 0x42, 0x75, 0x66, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75,
|
||||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f,
|
||||||
0x28, 0x0a, 0x0e, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74,
|
0x75, 0x6e, 0x74, 0x22, 0x52, 0x0a, 0x0c, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44,
|
||||||
0x61, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0x50, 0x0a, 0x0e, 0x53, 0x43, 0x4e,
|
0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x04, 0x44,
|
||||||
0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x54,
|
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x74, 0x69,
|
||||||
0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70,
|
0x76, 0x69, 0x74, 0x79, 0x2e, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x6e, 0x66,
|
||||||
0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28,
|
0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x55, 0x0a, 0x0c, 0x4e, 0x69, 0x61, 0x6e, 0x52,
|
||||||
0x0b, 0x32, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e,
|
0x61, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x61, 0x6e, 0x6b, 0x49,
|
||||||
0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x8f, 0x01, 0x0a, 0x08,
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x64, 0x12,
|
||||||
0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x61, 0x6e, 0x6b,
|
0x2d, 0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
|
||||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x64,
|
0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77,
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x41,
|
||||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x49, 0x63, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
|
0x0a, 0x0d, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12,
|
||||||
0x28, 0x05, 0x52, 0x04, 0x49, 0x63, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x72,
|
0x16, 0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||||
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2d,
|
0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e,
|
||||||
0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75,
|
||||||
|
0x6d, 0x22, 0x26, 0x0a, 0x0c, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63,
|
||||||
|
0x6b, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0xe8, 0x02, 0x0a, 0x10, 0x53, 0x43,
|
||||||
|
0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16,
|
||||||
|
0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
||||||
|
0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70,
|
||||||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x12, 0x2d,
|
||||||
|
0x0a, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||||||
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61,
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61,
|
||||||
0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x41, 0x0a,
|
0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1a, 0x0a,
|
||||||
0x0d, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16,
|
0x08, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
0x08, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x73, 0x44,
|
||||||
0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75,
|
0x69, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x49, 0x73, 0x44, 0x69, 0x65, 0x12,
|
||||||
0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d,
|
0x33, 0x0a, 0x08, 0x44, 0x69, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28,
|
||||||
0x22, 0x26, 0x0a, 0x0c, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e,
|
||||||
0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x44, 0x69, 0x65, 0x41,
|
||||||
0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0xe8, 0x02, 0x0a, 0x10, 0x53, 0x43, 0x4e,
|
0x77, 0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e,
|
||||||
0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a,
|
0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75,
|
||||||
0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54,
|
0x6e, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x45, 0x78, 0x74, 0x72, 0x61, 0x44, 0x72, 0x6f, 0x70, 0x18,
|
||||||
0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x18,
|
0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
||||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x12, 0x2d, 0x0a,
|
0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09,
|
||||||
0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61,
|
0x45, 0x78, 0x74, 0x72, 0x61, 0x44, 0x72, 0x6f, 0x70, 0x12, 0x39, 0x0a, 0x0b, 0x46, 0x6c, 0x6f,
|
||||||
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72,
|
0x6f, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
|
||||||
0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08,
|
0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77,
|
||||||
0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65,
|
||||||
0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x73, 0x44, 0x69,
|
0x77, 0x61, 0x72, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69,
|
||||||
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x49, 0x73, 0x44, 0x69, 0x65, 0x12, 0x33,
|
0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x6e, 0x0a, 0x0f, 0x53, 0x43, 0x4e, 0x69, 0x61,
|
||||||
0x0a, 0x08, 0x44, 0x69, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,
|
0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x69,
|
||||||
0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b,
|
0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x44, 0x69, 0x65, 0x41, 0x77,
|
0x03, 0x52, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65,
|
||||||
0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
0x12, 0x35, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20,
|
||||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x42, 0x75, 0x66, 0x66, 0x43, 0x6f, 0x75, 0x6e,
|
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52,
|
||||||
0x74, 0x12, 0x35, 0x0a, 0x09, 0x45, 0x78, 0x74, 0x72, 0x61, 0x44, 0x72, 0x6f, 0x70, 0x18, 0x08,
|
0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x53, 0x69,
|
||||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e,
|
0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x20, 0x0a, 0x0c, 0x43, 0x53, 0x4e, 0x69, 0x61,
|
||||||
0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x45,
|
0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x01,
|
||||||
0x78, 0x74, 0x72, 0x61, 0x44, 0x72, 0x6f, 0x70, 0x12, 0x39, 0x0a, 0x0b, 0x46, 0x6c, 0x6f, 0x6f,
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x22, 0x4f, 0x0a, 0x0c, 0x53, 0x43, 0x4e,
|
||||||
0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d,
|
||||||
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x12, 0x2d, 0x0a, 0x05, 0x41,
|
||||||
0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x77,
|
0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74,
|
||||||
0x61, 0x72, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69, 0x67,
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44,
|
||||||
0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x6e, 0x0a, 0x0f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e,
|
0x61, 0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x2a, 0xe2, 0x02, 0x0a, 0x0c, 0x4e,
|
||||||
0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x69, 0x67,
|
0x69, 0x61, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x10, 0x50,
|
||||||
0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x69, 0x61, 0x6e, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10,
|
||||||
0x52, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
0x00, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69,
|
||||||
0x35, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03,
|
0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe4, 0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43,
|
||||||
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61,
|
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe5,
|
||||||
0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x53, 0x69, 0x67,
|
0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69,
|
||||||
0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x22, 0x20, 0x0a, 0x0c, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e,
|
0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x10, 0xe6, 0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43,
|
||||||
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20,
|
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x10, 0xe7,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x22, 0x4f, 0x0a, 0x0c, 0x53, 0x43, 0x4e, 0x69,
|
0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69,
|
||||||
0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18,
|
0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe8, 0x14, 0x12, 0x1a, 0x0a,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x12, 0x2d, 0x0a, 0x05, 0x41, 0x77,
|
0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61,
|
||||||
0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x69,
|
0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe9, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43,
|
||||||
0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61,
|
0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
||||||
0x74, 0x61, 0x52, 0x05, 0x41, 0x77, 0x61, 0x72, 0x64, 0x2a, 0xe2, 0x02, 0x0a, 0x0c, 0x4e, 0x69,
|
0x10, 0xea, 0x14, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43,
|
||||||
0x61, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41,
|
0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xeb,
|
||||||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x69, 0x61, 0x6e, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00,
|
0x14, 0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69,
|
||||||
0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61,
|
0x61, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xec, 0x14, 0x12, 0x1b,
|
||||||
0x6e, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe4, 0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b,
|
0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x53,
|
||||||
0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe5, 0x14,
|
0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xed, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50,
|
||||||
0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61,
|
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e,
|
||||||
0x6e, 0x42, 0x75, 0x66, 0x66, 0x10, 0xe6, 0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b,
|
0x67, 0x65, 0x10, 0xee, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
||||||
0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x42, 0x75, 0x66, 0x66, 0x10, 0xe7, 0x14,
|
0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xef, 0x14, 0x42,
|
||||||
0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61,
|
0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63,
|
||||||
0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe8, 0x14, 0x12, 0x1a, 0x0a, 0x15,
|
0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
||||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x52, 0x61, 0x6e,
|
0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe9, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b,
|
0x33,
|
||||||
0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x10,
|
|
||||||
0xea, 0x14, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e,
|
|
||||||
0x69, 0x61, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x10, 0xeb, 0x14,
|
|
||||||
0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61,
|
|
||||||
0x6e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xec, 0x14, 0x12, 0x1b, 0x0a,
|
|
||||||
0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4e, 0x69, 0x61, 0x6e, 0x53, 0x69,
|
|
||||||
0x67, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xed, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41,
|
|
||||||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
|
||||||
0x65, 0x10, 0xee, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
|
|
||||||
0x43, 0x4e, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xef, 0x14, 0x42, 0x28,
|
|
||||||
0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
|
|
||||||
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
|
|
||||||
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -1074,34 +995,33 @@ func file_protocol_activity_nian_proto_rawDescGZIP() []byte {
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_protocol_activity_nian_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var file_protocol_activity_nian_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
var file_protocol_activity_nian_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
var file_protocol_activity_nian_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||||
var file_protocol_activity_nian_proto_goTypes = []interface{}{
|
var file_protocol_activity_nian_proto_goTypes = []interface{}{
|
||||||
(NianPacketID)(0), // 0: activity.NianPacketID
|
(NianPacketID)(0), // 0: activity.NianPacketID
|
||||||
(*CSNianData)(nil), // 1: activity.CSNianData
|
(*CSNianData)(nil), // 1: activity.CSNianData
|
||||||
(*SCNianData)(nil), // 2: activity.SCNianData
|
(*SCNianData)(nil), // 2: activity.SCNianData
|
||||||
(*CSNianBuff)(nil), // 3: activity.CSNianBuff
|
(*CSNianBuff)(nil), // 3: activity.CSNianBuff
|
||||||
(*SCNianBuff)(nil), // 4: activity.SCNianBuff
|
(*SCNianBuff)(nil), // 4: activity.SCNianBuff
|
||||||
(*CSNianRankData)(nil), // 5: activity.CSNianRankData
|
(*NianRankData)(nil), // 5: activity.NianRankData
|
||||||
(*SCNianRankData)(nil), // 6: activity.SCNianRankData
|
(*NianRankInfo)(nil), // 6: activity.NianRankInfo
|
||||||
(*RankData)(nil), // 7: activity.RankData
|
(*RankAwardData)(nil), // 7: activity.RankAwardData
|
||||||
(*RankAwardData)(nil), // 8: activity.RankAwardData
|
(*CSNianAttack)(nil), // 8: activity.CSNianAttack
|
||||||
(*CSNianAttack)(nil), // 9: activity.CSNianAttack
|
(*SCNianAttackData)(nil), // 9: activity.SCNianAttackData
|
||||||
(*SCNianAttackData)(nil), // 10: activity.SCNianAttackData
|
(*CSNianSignAward)(nil), // 10: activity.CSNianSignAward
|
||||||
(*CSNianSignAward)(nil), // 11: activity.CSNianSignAward
|
(*SCNianSignAward)(nil), // 11: activity.SCNianSignAward
|
||||||
(*SCNianSignAward)(nil), // 12: activity.SCNianSignAward
|
(*CSNianChange)(nil), // 12: activity.CSNianChange
|
||||||
(*CSNianChange)(nil), // 13: activity.CSNianChange
|
(*SCNianChange)(nil), // 13: activity.SCNianChange
|
||||||
(*SCNianChange)(nil), // 14: activity.SCNianChange
|
|
||||||
}
|
}
|
||||||
var file_protocol_activity_nian_proto_depIdxs = []int32{
|
var file_protocol_activity_nian_proto_depIdxs = []int32{
|
||||||
7, // 0: activity.SCNianData.LuckData:type_name -> activity.RankData
|
5, // 0: activity.SCNianData.RankData:type_name -> activity.NianRankData
|
||||||
7, // 1: activity.SCNianRankData.Data:type_name -> activity.RankData
|
6, // 1: activity.NianRankData.Data:type_name -> activity.NianRankInfo
|
||||||
8, // 2: activity.RankData.Award:type_name -> activity.RankAwardData
|
7, // 2: activity.NianRankInfo.Award:type_name -> activity.RankAwardData
|
||||||
8, // 3: activity.SCNianAttackData.Award:type_name -> activity.RankAwardData
|
7, // 3: activity.SCNianAttackData.Award:type_name -> activity.RankAwardData
|
||||||
8, // 4: activity.SCNianAttackData.DieAward:type_name -> activity.RankAwardData
|
7, // 4: activity.SCNianAttackData.DieAward:type_name -> activity.RankAwardData
|
||||||
8, // 5: activity.SCNianAttackData.ExtraDrop:type_name -> activity.RankAwardData
|
7, // 5: activity.SCNianAttackData.ExtraDrop:type_name -> activity.RankAwardData
|
||||||
8, // 6: activity.SCNianAttackData.FloorReward:type_name -> activity.RankAwardData
|
7, // 6: activity.SCNianAttackData.FloorReward:type_name -> activity.RankAwardData
|
||||||
8, // 7: activity.SCNianSignAward.SignAward:type_name -> activity.RankAwardData
|
7, // 7: activity.SCNianSignAward.SignAward:type_name -> activity.RankAwardData
|
||||||
8, // 8: activity.SCNianChange.Award:type_name -> activity.RankAwardData
|
7, // 8: activity.SCNianChange.Award:type_name -> activity.RankAwardData
|
||||||
9, // [9:9] is the sub-list for method output_type
|
9, // [9:9] is the sub-list for method output_type
|
||||||
9, // [9:9] is the sub-list for method input_type
|
9, // [9:9] is the sub-list for method input_type
|
||||||
9, // [9:9] is the sub-list for extension type_name
|
9, // [9:9] is the sub-list for extension type_name
|
||||||
|
@ -1164,7 +1084,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CSNianRankData); i {
|
switch v := v.(*NianRankData); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -1176,7 +1096,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*SCNianRankData); i {
|
switch v := v.(*NianRankInfo); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -1188,18 +1108,6 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*RankData); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_protocol_activity_nian_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*RankAwardData); i {
|
switch v := v.(*RankAwardData); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1211,7 +1119,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CSNianAttack); i {
|
switch v := v.(*CSNianAttack); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1223,7 +1131,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*SCNianAttackData); i {
|
switch v := v.(*SCNianAttackData); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1235,7 +1143,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CSNianSignAward); i {
|
switch v := v.(*CSNianSignAward); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1247,7 +1155,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*SCNianSignAward); i {
|
switch v := v.(*SCNianSignAward); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1259,7 +1167,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*CSNianChange); i {
|
switch v := v.(*CSNianChange); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1271,7 +1179,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_protocol_activity_nian_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
file_protocol_activity_nian_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*SCNianChange); i {
|
switch v := v.(*SCNianChange); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1290,7 +1198,7 @@ func file_protocol_activity_nian_proto_init() {
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_protocol_activity_nian_proto_rawDesc,
|
RawDescriptor: file_protocol_activity_nian_proto_rawDesc,
|
||||||
NumEnums: 1,
|
NumEnums: 1,
|
||||||
NumMessages: 14,
|
NumMessages: 13,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,11 +28,11 @@ message SCNianData{
|
||||||
int64 ActivityEndTime = 2; //活动结束时间
|
int64 ActivityEndTime = 2; //活动结束时间
|
||||||
int64 BossMaxHp = 3; //Boss最大血量
|
int64 BossMaxHp = 3; //Boss最大血量
|
||||||
int64 BossHp = 4; //Boss当前血量
|
int64 BossHp = 4; //Boss当前血量
|
||||||
repeated RankData LuckData = 5;//幸运榜
|
repeated NianRankData RankData = 5;//排行榜奖励配置
|
||||||
int64 AwardTime = 6;//每日签到领取时间
|
int64 AwardTime = 6;//每日签到领取时间
|
||||||
int64 BuffCount = 7;//Buff剩余次数
|
int64 BuffCount = 7;//Buff剩余次数
|
||||||
bool BuffStatus = 8;//Buff领取状态
|
bool BuffStatus = 8;//Buff领取状态
|
||||||
int64 SignAwardTime = 9;//签到领取时间 0-未领取
|
int64 SignAwardTime = 9;//签到领取时间 0-未领取
|
||||||
}
|
}
|
||||||
|
|
||||||
//贺春
|
//贺春
|
||||||
|
@ -44,22 +44,14 @@ message CSNianBuff{
|
||||||
message SCNianBuff{
|
message SCNianBuff{
|
||||||
int64 BuffCount = 1; //BUFF剩余次数
|
int64 BuffCount = 1; //BUFF剩余次数
|
||||||
}
|
}
|
||||||
//排行榜数据
|
|
||||||
//PACKET_CSNianRankData
|
message NianRankData{
|
||||||
message CSNianRankData{
|
int32 TypeId = 1; //1-幸运榜 2-总榜
|
||||||
int32 TypeId = 1;//1-幸运榜 2-总伤害榜
|
repeated NianRankInfo Data = 2;
|
||||||
}
|
}
|
||||||
//PACKET_SCNianRankData
|
message NianRankInfo{
|
||||||
message SCNianRankData{
|
|
||||||
int32 TypeId = 1;
|
|
||||||
repeated RankData Data = 2;
|
|
||||||
}
|
|
||||||
message RankData{
|
|
||||||
int32 RankId =1;
|
int32 RankId =1;
|
||||||
string Name = 2;
|
repeated RankAwardData Award = 2;
|
||||||
int32 Icon = 3;
|
|
||||||
int64 Score = 4;
|
|
||||||
repeated RankAwardData Award = 5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message RankAwardData{
|
message RankAwardData{
|
||||||
|
|
|
@ -58,7 +58,30 @@ func CSNianData(s *netlib.Session, packetid int, data interface{}, sid int64) er
|
||||||
if p.WelfData.NianData.BossHp == 0 {
|
if p.WelfData.NianData.BossHp == 0 {
|
||||||
p.WelfData.NianData.BossHp = BossMaxHp
|
p.WelfData.NianData.BossHp = BossMaxHp
|
||||||
}
|
}
|
||||||
|
//排行榜配置
|
||||||
|
rankData := PlatformMgrSingleton.GetConfig(p.Platform).NianRankReward
|
||||||
|
if rankData == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
pack := &activity.SCNianData{}
|
pack := &activity.SCNianData{}
|
||||||
|
for _, info := range rankData.RankData {
|
||||||
|
rankInfo := &activity.NianRankData{}
|
||||||
|
rankInfo.TypeId = info.TypeId
|
||||||
|
for _, awardInfo := range info.RankInfo {
|
||||||
|
rank := &activity.NianRankInfo{}
|
||||||
|
rank.RankId = awardInfo.RankId
|
||||||
|
for _, itemInfo := range awardInfo.Award {
|
||||||
|
rankAwardData := &activity.RankAwardData{
|
||||||
|
ItemId: itemInfo.ItemId,
|
||||||
|
ItemNum: itemInfo.ItemNum,
|
||||||
|
}
|
||||||
|
rank.Award = append(rank.Award, rankAwardData)
|
||||||
|
}
|
||||||
|
rankInfo.Data = append(rankInfo.Data, rank)
|
||||||
|
}
|
||||||
|
pack.RankData = append(pack.RankData, rankInfo)
|
||||||
|
}
|
||||||
|
|
||||||
pack.BossHp = p.WelfData.NianData.BossHp
|
pack.BossHp = p.WelfData.NianData.BossHp
|
||||||
pack.BossMaxHp = BossMaxHp
|
pack.BossMaxHp = BossMaxHp
|
||||||
// pack.ActivityStartTime = timestamp
|
// pack.ActivityStartTime = timestamp
|
||||||
|
@ -68,7 +91,7 @@ func CSNianData(s *netlib.Session, packetid int, data interface{}, sid int64) er
|
||||||
pack.AwardTime = p.WelfData.NianData.SignAwardTime
|
pack.AwardTime = p.WelfData.NianData.SignAwardTime
|
||||||
pack.BuffCount = p.WelfData.NianData.BuffCount
|
pack.BuffCount = p.WelfData.NianData.BuffCount
|
||||||
pack.BuffStatus = p.WelfData.NianData.BuffStatus
|
pack.BuffStatus = p.WelfData.NianData.BuffStatus
|
||||||
pack.LuckData = nil
|
pack.RankData = nil
|
||||||
pack.SignAwardTime = p.WelfData.NianData.SignAwardTime
|
pack.SignAwardTime = p.WelfData.NianData.SignAwardTime
|
||||||
logger.Logger.Trace("请求年兽活动信息 ", pack)
|
logger.Logger.Trace("请求年兽活动信息 ", pack)
|
||||||
p.SendToClient(int(activity.NianPacketID_PACKET_SCNianData), pack)
|
p.SendToClient(int(activity.NianPacketID_PACKET_SCNianData), pack)
|
||||||
|
|
|
@ -112,6 +112,7 @@ func init() {
|
||||||
etcd.Register(etcd.ETCDKEY_PigBankProp, webapi.GamePigBankPropConfig{}, platformConfigEvent)
|
etcd.Register(etcd.ETCDKEY_PigBankProp, webapi.GamePigBankPropConfig{}, platformConfigEvent)
|
||||||
//年兽配置
|
//年兽配置
|
||||||
etcd.Register(etcd.ETCDKEY_NianConfig, webapi.ActivityNianConfig{}, platformConfigEvent)
|
etcd.Register(etcd.ETCDKEY_NianConfig, webapi.ActivityNianConfig{}, platformConfigEvent)
|
||||||
|
etcd.Register(etcd.ETCDKEY_NianRankConfig, webapi.NianRankReward{}, platformConfigEvent)
|
||||||
// 红包配置
|
// 红包配置
|
||||||
etcd.Register(etcd.ETCDKEY_REDPACKET, webapi.RedPacketConfig{}, platformConfigEvent)
|
etcd.Register(etcd.ETCDKEY_REDPACKET, webapi.RedPacketConfig{}, platformConfigEvent)
|
||||||
|
|
||||||
|
@ -454,6 +455,8 @@ func platformConfigEvent(ctx context.Context, completeKey string, isInit bool, e
|
||||||
PlatformMgrSingleton.GetConfig(config.Platform).GamePigBankPropConfig = config
|
PlatformMgrSingleton.GetConfig(config.Platform).GamePigBankPropConfig = config
|
||||||
case *webapi.ActivityNianConfig:
|
case *webapi.ActivityNianConfig:
|
||||||
WelfareMgrSington.UpdateActivityNianStatus(config)
|
WelfareMgrSington.UpdateActivityNianStatus(config)
|
||||||
|
case *webapi.NianRankReward:
|
||||||
|
PlatformMgrSingleton.GetConfig(config.Platform).NianRankReward = config
|
||||||
case *webapi.RedPacketConfig:
|
case *webapi.RedPacketConfig:
|
||||||
WelfareMgrSington.UpdateRedPacket(config, isInit)
|
WelfareMgrSington.UpdateRedPacket(config, isInit)
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue