增加协议

This commit is contained in:
hahwu 2025-10-20 15:26:27 +08:00
parent 627ee5c80b
commit 099f76a1ce

View File

@ -15933,6 +15933,7 @@ type ResCharge struct {
MonthCharge float32 `protobuf:"fixed32,13,opt,name=MonthCharge,proto3" json:"MonthCharge,omitempty"` // 本月充值金额
AdEndTime int64 `protobuf:"varint,14,opt,name=AdEndTime,proto3" json:"AdEndTime,omitempty"` // 广告礼包结束时间
WeeklyDiscount map[int32]*WeeklyDiscountInfo `protobuf:"bytes,15,rep,name=WeeklyDiscount,proto3" json:"WeeklyDiscount,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 每周优惠 id -> 限购次数
PetWorkRemainTime int64 `protobuf:"varint,16,opt,name=PetWorkRemainTime,proto3" json:"PetWorkRemainTime,omitempty"` // 剩余时间
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -16072,6 +16073,13 @@ func (x *ResCharge) GetWeeklyDiscount() map[int32]*WeeklyDiscountInfo {
return nil
}
func (x *ResCharge) GetPetWorkRemainTime() int64 {
if x != nil {
return x.PetWorkRemainTime
}
return 0
}
type LogoutPetWork struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkTime int64 `protobuf:"varint,1,opt,name=WorkTime,proto3" json:"WorkTime,omitempty"` // 工作时间
@ -27155,7 +27163,7 @@ const file_proto_Gameapi_proto_rawDesc = "" +
"\rResDeleteMail\x12&\n" +
"\x04Code\x18\x01 \x01(\x0e2\x12.tutorial.RES_CODER\x04Code\x12\x10\n" +
"\x03Msg\x18\x02 \x01(\tR\x03Msg\x12\x0e\n" +
"\x02Id\x18\x03 \x01(\x05R\x02Id\"\xb1\a\n" +
"\x02Id\x18\x03 \x01(\x05R\x02Id\"\xdf\a\n" +
"\tResCharge\x12\x16\n" +
"\x06Charge\x18\x01 \x01(\x02R\x06Charge\x12\x14\n" +
"\x05Total\x18\x02 \x01(\x05R\x05Total\x12\x14\n" +
@ -27172,7 +27180,8 @@ const file_proto_Gameapi_proto_rawDesc = "" +
"\vTodayCharge\x18\f \x01(\x02R\vTodayCharge\x12 \n" +
"\vMonthCharge\x18\r \x01(\x02R\vMonthCharge\x12\x1c\n" +
"\tAdEndTime\x18\x0e \x01(\x03R\tAdEndTime\x12O\n" +
"\x0eWeeklyDiscount\x18\x0f \x03(\v2'.tutorial.ResCharge.WeeklyDiscountEntryR\x0eWeeklyDiscount\x1aX\n" +
"\x0eWeeklyDiscount\x18\x0f \x03(\v2'.tutorial.ResCharge.WeeklyDiscountEntryR\x0eWeeklyDiscount\x12,\n" +
"\x11PetWorkRemainTime\x18\x10 \x01(\x03R\x11PetWorkRemainTime\x1aX\n" +
"\x10SpecialShopEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\x05R\x03key\x12.\n" +
"\x05value\x18\x02 \x01(\v2\x18.tutorial.ResSpecialShopR\x05value:\x028\x01\x1aT\n" +