协议更新
This commit is contained in:
parent
3010cffe03
commit
21e54e98fc
@ -205,6 +205,7 @@ func (p *PlayerBaseData) ResPlayerBaseInfo(player *Player) {
|
||||
Exp: int32(BaseMod.Exp),
|
||||
LoginTime: int32(BaseMod.LoginTime),
|
||||
LogoutTime: int32(BaseMod.LogoutTime),
|
||||
RegisterTime: int32(p.Data.RegisterTime),
|
||||
FaceBookId: p.Data.FaceBookId,
|
||||
})
|
||||
agent := player.GetAgentByPlayer()
|
||||
|
||||
@ -2391,6 +2391,7 @@ type ResPlayerBaseInfo struct {
|
||||
ChampshipsGroupID int32 `protobuf:"varint,21,opt,name=ChampshipsGroupID,proto3" json:"ChampshipsGroupID,omitempty"`
|
||||
LastChampGroupID int32 `protobuf:"varint,22,opt,name=LastChampGroupID,proto3" json:"LastChampGroupID,omitempty"`
|
||||
FaceBookId string `protobuf:"bytes,23,opt,name=FaceBookId,proto3" json:"FaceBookId,omitempty"`
|
||||
RegisterTime int32 `protobuf:"varint,24,opt,name=register_time,json=registerTime,proto3" json:"register_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@ -2586,6 +2587,13 @@ func (x *ResPlayerBaseInfo) GetFaceBookId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ResPlayerBaseInfo) GetRegisterTime() int32 {
|
||||
if x != nil {
|
||||
return x.RegisterTime
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ReqPlayerAsset struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@ -16066,7 +16074,7 @@ func (x *ResCharge) GetWeeklyDiscount() map[int32]*WeeklyDiscountInfo {
|
||||
|
||||
type LogoutPetWork struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
WorkTime int64 `protobuf:"varint,1,opt,name=WorkTime,proto3" json:"WorkTime,omitempty"` // 离线工作时间
|
||||
WorkTime int64 `protobuf:"varint,1,opt,name=WorkTime,proto3" json:"WorkTime,omitempty"` // 工作时间
|
||||
RemainTime int64 `protobuf:"varint,2,opt,name=RemainTime,proto3" json:"RemainTime,omitempty"` // 剩余时间
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -26122,7 +26130,7 @@ const file_proto_Gameapi_proto_rawDesc = "" +
|
||||
"ResultCode\x18\x01 \x01(\x05R\n" +
|
||||
"ResultCode\")\n" +
|
||||
"\x11ReqPlayerBaseInfo\x12\x14\n" +
|
||||
"\x05dwUin\x18\x01 \x01(\x03R\x05dwUin\"\xee\x05\n" +
|
||||
"\x05dwUin\x18\x01 \x01(\x03R\x05dwUin\"\x93\x06\n" +
|
||||
"\x11ResPlayerBaseInfo\x12\x14\n" +
|
||||
"\x05dwUin\x18\x01 \x01(\x03R\x05dwUin\x12\x16\n" +
|
||||
"\x06energy\x18\x02 \x01(\x05R\x06energy\x12\x12\n" +
|
||||
@ -26152,7 +26160,8 @@ const file_proto_Gameapi_proto_rawDesc = "" +
|
||||
"\x10LastChampGroupID\x18\x16 \x01(\x05R\x10LastChampGroupID\x12\x1e\n" +
|
||||
"\n" +
|
||||
"FaceBookId\x18\x17 \x01(\tR\n" +
|
||||
"FaceBookId\"\x10\n" +
|
||||
"FaceBookId\x12#\n" +
|
||||
"\rregister_time\x18\x18 \x01(\x05R\fregisterTime\"\x10\n" +
|
||||
"\x0eReqPlayerAsset\"\x95\x02\n" +
|
||||
"\x0eResPlayerAsset\x12\x14\n" +
|
||||
"\x05dwUin\x18\x01 \x01(\x03R\x05dwUin\x12\x16\n" +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user