|
@@ -1054,6 +1054,7 @@ type NotifyPlayerOpt struct {
|
|
Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
|
|
Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
|
|
Opt OptType `protobuf:"varint,2,opt,name=opt,proto3,enum=OptType" json:"opt,omitempty"` //
|
|
Opt OptType `protobuf:"varint,2,opt,name=opt,proto3,enum=OptType" json:"opt,omitempty"` //
|
|
CanMoveRoles []*RoleData `protobuf:"bytes,3,rep,name=canMoveRoles,proto3" json:"canMoveRoles,omitempty"`
|
|
CanMoveRoles []*RoleData `protobuf:"bytes,3,rep,name=canMoveRoles,proto3" json:"canMoveRoles,omitempty"`
|
|
|
|
+ OptTime int32 `protobuf:"varint,4,opt,name=opt_time,json=optTime,proto3" json:"opt_time,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
}
|
|
@@ -1109,6 +1110,13 @@ func (x *NotifyPlayerOpt) GetCanMoveRoles() []*RoleData {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+func (x *NotifyPlayerOpt) GetOptTime() int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.OptTime
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
type NotifyPlayerStatus struct {
|
|
type NotifyPlayerStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
|
|
Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
|
|
@@ -2074,11 +2082,12 @@ const file_common_proto_rawDesc = "" +
|
|
"\x10NotifyPlayerMove\x12\x1f\n" +
|
|
"\x10NotifyPlayerMove\x12\x1f\n" +
|
|
"\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12!\n" +
|
|
"\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12!\n" +
|
|
"\x04step\x18\x02 \x01(\v2\r.MoveStepDataR\x04step\x12\x1d\n" +
|
|
"\x04step\x18\x02 \x01(\v2\r.MoveStepDataR\x04step\x12\x1d\n" +
|
|
- "\x04kick\x18\x03 \x03(\v2\t.RoleDataR\x04kick\"}\n" +
|
|
|
|
|
|
+ "\x04kick\x18\x03 \x03(\v2\t.RoleDataR\x04kick\"\x98\x01\n" +
|
|
"\x0fNotifyPlayerOpt\x12\x1f\n" +
|
|
"\x0fNotifyPlayerOpt\x12\x1f\n" +
|
|
"\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x1a\n" +
|
|
"\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x1a\n" +
|
|
"\x03opt\x18\x02 \x01(\x0e2\b.OptTypeR\x03opt\x12-\n" +
|
|
"\x03opt\x18\x02 \x01(\x0e2\b.OptTypeR\x03opt\x12-\n" +
|
|
- "\fcanMoveRoles\x18\x03 \x03(\v2\t.RoleDataR\fcanMoveRoles\"\xb2\x01\n" +
|
|
|
|
|
|
+ "\fcanMoveRoles\x18\x03 \x03(\v2\t.RoleDataR\fcanMoveRoles\x12\x19\n" +
|
|
|
|
+ "\bopt_time\x18\x04 \x01(\x05R\aoptTime\"\xb2\x01\n" +
|
|
"\x12NotifyPlayerStatus\x12\x1f\n" +
|
|
"\x12NotifyPlayerStatus\x12\x1f\n" +
|
|
"\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12%\n" +
|
|
"\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12%\n" +
|
|
"\x06status\x18\x02 \x01(\x0e2\r.playerStatusR\x06status\x12\"\n" +
|
|
"\x06status\x18\x02 \x01(\x0e2\r.playerStatusR\x06status\x12\"\n" +
|