This commit is contained in:
by 2024-09-23 10:03:53 +08:00
parent 020e9b9664
commit e6aa0dd1a9
2 changed files with 5 additions and 5 deletions

View File

@ -8295,7 +8295,7 @@ type MachineInfo struct {
ItemId int32 `protobuf:"varint,6,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //获得道具Id
ItemNum int32 `protobuf:"varint,7,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //获得道具数量
IconAddr string `protobuf:"bytes,8,opt,name=IconAddr,proto3" json:"IconAddr,omitempty"` //图片地址
Name int32 `protobuf:"varint,9,opt,name=Name,proto3" json:"Name,omitempty"` //场次名字
Name string `protobuf:"bytes,9,opt,name=Name,proto3" json:"Name,omitempty"` //场次名字
}
func (x *MachineInfo) Reset() {
@ -8386,11 +8386,11 @@ func (x *MachineInfo) GetIconAddr() string {
return ""
}
func (x *MachineInfo) GetName() int32 {
func (x *MachineInfo) GetName() string {
if x != nil {
return x.Name
}
return 0
return ""
}
// etcd /game/match_audience
@ -10095,7 +10095,7 @@ var file_common_proto_rawDesc = []byte{
0x01, 0x28, 0x05, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08,
0x49, 0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x49, 0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65,
0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x0d,
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x0d,
0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a,
0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49,

View File

@ -918,7 +918,7 @@ message MachineInfo{
int32 ItemId = 6; //Id
int32 ItemNum = 7; //
string IconAddr = 8;//
int32 Name = 9;//
string Name = 9;//
}
// etcd /game/match_audience
message MatchAudience {