proto
This commit is contained in:
parent
020e9b9664
commit
e6aa0dd1a9
|
@ -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,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue