diff --git a/experimental/CAPI/go/API/proto/Message2Clients.pb.go b/experimental/CAPI/go/API/proto/Message2Clients.pb.go deleted file mode 100644 index e728daa..0000000 --- a/experimental/CAPI/go/API/proto/Message2Clients.pb.go +++ /dev/null @@ -1,2404 +0,0 @@ -// Message2Client - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc (unknown) -// source: Message2Clients.proto - -package proto - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type MessageOfStudent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Speed int32 `protobuf:"varint,3,opt,name=speed,proto3" json:"speed,omitempty"` - Determination int32 `protobuf:"varint,4,opt,name=determination,proto3" json:"determination,omitempty"` // 剩余的学习毅力,相当于血量 - Addiction int32 `protobuf:"varint,5,opt,name=addiction,proto3" json:"addiction,omitempty"` // 沉迷程度,相当于淘汰进度 - TimeUntilSkillAvailable []float64 `protobuf:"fixed64,6,rep,packed,name=time_until_skill_available,json=timeUntilSkillAvailable,proto3" json:"time_until_skill_available,omitempty"` - Place PlaceType `protobuf:"varint,7,opt,name=place,proto3,enum=protobuf.PlaceType" json:"place,omitempty"` - Prop []PropType `protobuf:"varint,8,rep,packed,name=prop,proto3,enum=protobuf.PropType" json:"prop,omitempty"` - PlayerState PlayerState `protobuf:"varint,9,opt,name=player_state,json=playerState,proto3,enum=protobuf.PlayerState" json:"player_state,omitempty"` - Guid int64 `protobuf:"varint,10,opt,name=guid,proto3" json:"guid,omitempty"` - BulletType BulletType `protobuf:"varint,12,opt,name=bullet_type,json=bulletType,proto3,enum=protobuf.BulletType" json:"bullet_type,omitempty"` - LearningSpeed int32 `protobuf:"varint,13,opt,name=learning_speed,json=learningSpeed,proto3" json:"learning_speed,omitempty"` // 修理电机的速度 - TreatSpeed int32 `protobuf:"varint,14,opt,name=treat_speed,json=treatSpeed,proto3" json:"treat_speed,omitempty"` // 治疗的速度 - PlayerId int64 `protobuf:"varint,15,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - ViewRange int32 `protobuf:"varint,16,opt,name=view_range,json=viewRange,proto3" json:"view_range,omitempty"` // 视野距离 - Radius int32 `protobuf:"varint,17,opt,name=radius,proto3" json:"radius,omitempty"` // 半径 - DangerAlert float64 `protobuf:"fixed64,19,opt,name=danger_alert,json=dangerAlert,proto3" json:"danger_alert,omitempty"` // 危险警报,在捣蛋鬼靠近时会有预警 - Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` - TreatProgress int32 `protobuf:"varint,21,opt,name=treat_progress,json=treatProgress,proto3" json:"treat_progress,omitempty"` // 治疗进度 - RescueProgress int32 `protobuf:"varint,22,opt,name=rescue_progress,json=rescueProgress,proto3" json:"rescue_progress,omitempty"` // 救援进度 - StudentType StudentType `protobuf:"varint,23,opt,name=student_type,json=studentType,proto3,enum=protobuf.StudentType" json:"student_type,omitempty"` - FacingDirection float64 `protobuf:"fixed64,24,opt,name=facing_direction,json=facingDirection,proto3" json:"facing_direction,omitempty"` - Buff []StudentBuffType `protobuf:"varint,25,rep,packed,name=buff,proto3,enum=protobuf.StudentBuffType" json:"buff,omitempty"` -} - -func (x *MessageOfStudent) Reset() { - *x = MessageOfStudent{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfStudent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfStudent) ProtoMessage() {} - -func (x *MessageOfStudent) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfStudent.ProtoReflect.Descriptor instead. -func (*MessageOfStudent) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{0} -} - -func (x *MessageOfStudent) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfStudent) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfStudent) GetSpeed() int32 { - if x != nil { - return x.Speed - } - return 0 -} - -func (x *MessageOfStudent) GetDetermination() int32 { - if x != nil { - return x.Determination - } - return 0 -} - -func (x *MessageOfStudent) GetAddiction() int32 { - if x != nil { - return x.Addiction - } - return 0 -} - -func (x *MessageOfStudent) GetTimeUntilSkillAvailable() []float64 { - if x != nil { - return x.TimeUntilSkillAvailable - } - return nil -} - -func (x *MessageOfStudent) GetPlace() PlaceType { - if x != nil { - return x.Place - } - return PlaceType_NULL_PLACE_TYPE -} - -func (x *MessageOfStudent) GetProp() []PropType { - if x != nil { - return x.Prop - } - return nil -} - -func (x *MessageOfStudent) GetPlayerState() PlayerState { - if x != nil { - return x.PlayerState - } - return PlayerState_NULL_STATUS -} - -func (x *MessageOfStudent) GetGuid() int64 { - if x != nil { - return x.Guid - } - return 0 -} - -func (x *MessageOfStudent) GetBulletType() BulletType { - if x != nil { - return x.BulletType - } - return BulletType_NULL_BULLET_TYPE -} - -func (x *MessageOfStudent) GetLearningSpeed() int32 { - if x != nil { - return x.LearningSpeed - } - return 0 -} - -func (x *MessageOfStudent) GetTreatSpeed() int32 { - if x != nil { - return x.TreatSpeed - } - return 0 -} - -func (x *MessageOfStudent) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *MessageOfStudent) GetViewRange() int32 { - if x != nil { - return x.ViewRange - } - return 0 -} - -func (x *MessageOfStudent) GetRadius() int32 { - if x != nil { - return x.Radius - } - return 0 -} - -func (x *MessageOfStudent) GetDangerAlert() float64 { - if x != nil { - return x.DangerAlert - } - return 0 -} - -func (x *MessageOfStudent) GetScore() int32 { - if x != nil { - return x.Score - } - return 0 -} - -func (x *MessageOfStudent) GetTreatProgress() int32 { - if x != nil { - return x.TreatProgress - } - return 0 -} - -func (x *MessageOfStudent) GetRescueProgress() int32 { - if x != nil { - return x.RescueProgress - } - return 0 -} - -func (x *MessageOfStudent) GetStudentType() StudentType { - if x != nil { - return x.StudentType - } - return StudentType_NULL_STUDENT_TYPE -} - -func (x *MessageOfStudent) GetFacingDirection() float64 { - if x != nil { - return x.FacingDirection - } - return 0 -} - -func (x *MessageOfStudent) GetBuff() []StudentBuffType { - if x != nil { - return x.Buff - } - return nil -} - -type MessageOfTricker struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Speed int32 `protobuf:"varint,3,opt,name=speed,proto3" json:"speed,omitempty"` - TimeUntilSkillAvailable []float64 `protobuf:"fixed64,5,rep,packed,name=time_until_skill_available,json=timeUntilSkillAvailable,proto3" json:"time_until_skill_available,omitempty"` - Place PlaceType `protobuf:"varint,6,opt,name=place,proto3,enum=protobuf.PlaceType" json:"place,omitempty"` - Prop []PropType `protobuf:"varint,7,rep,packed,name=prop,proto3,enum=protobuf.PropType" json:"prop,omitempty"` - TrickerType TrickerType `protobuf:"varint,8,opt,name=tricker_type,json=trickerType,proto3,enum=protobuf.TrickerType" json:"tricker_type,omitempty"` - Guid int64 `protobuf:"varint,9,opt,name=guid,proto3" json:"guid,omitempty"` - Score int32 `protobuf:"varint,10,opt,name=score,proto3" json:"score,omitempty"` - PlayerId int64 `protobuf:"varint,11,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - ViewRange int32 `protobuf:"varint,12,opt,name=view_range,json=viewRange,proto3" json:"view_range,omitempty"` // 视野距离 - Radius int32 `protobuf:"varint,13,opt,name=radius,proto3" json:"radius,omitempty"` // 半径 - PlayerState PlayerState `protobuf:"varint,14,opt,name=player_state,json=playerState,proto3,enum=protobuf.PlayerState" json:"player_state,omitempty"` - TrickDesire float64 `protobuf:"fixed64,15,opt,name=trick_desire,json=trickDesire,proto3" json:"trick_desire,omitempty"` //bgm - ClassVolume float64 `protobuf:"fixed64,16,opt,name=class_volume,json=classVolume,proto3" json:"class_volume,omitempty"` //bgm - FacingDirection float64 `protobuf:"fixed64,17,opt,name=facing_direction,json=facingDirection,proto3" json:"facing_direction,omitempty"` - BulletType BulletType `protobuf:"varint,18,opt,name=bullet_type,json=bulletType,proto3,enum=protobuf.BulletType" json:"bullet_type,omitempty"` - Buff []TrickerBuffType `protobuf:"varint,19,rep,packed,name=buff,proto3,enum=protobuf.TrickerBuffType" json:"buff,omitempty"` -} - -func (x *MessageOfTricker) Reset() { - *x = MessageOfTricker{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfTricker) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfTricker) ProtoMessage() {} - -func (x *MessageOfTricker) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfTricker.ProtoReflect.Descriptor instead. -func (*MessageOfTricker) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{1} -} - -func (x *MessageOfTricker) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfTricker) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfTricker) GetSpeed() int32 { - if x != nil { - return x.Speed - } - return 0 -} - -func (x *MessageOfTricker) GetTimeUntilSkillAvailable() []float64 { - if x != nil { - return x.TimeUntilSkillAvailable - } - return nil -} - -func (x *MessageOfTricker) GetPlace() PlaceType { - if x != nil { - return x.Place - } - return PlaceType_NULL_PLACE_TYPE -} - -func (x *MessageOfTricker) GetProp() []PropType { - if x != nil { - return x.Prop - } - return nil -} - -func (x *MessageOfTricker) GetTrickerType() TrickerType { - if x != nil { - return x.TrickerType - } - return TrickerType_NULL_TRICKER_TYPE -} - -func (x *MessageOfTricker) GetGuid() int64 { - if x != nil { - return x.Guid - } - return 0 -} - -func (x *MessageOfTricker) GetScore() int32 { - if x != nil { - return x.Score - } - return 0 -} - -func (x *MessageOfTricker) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *MessageOfTricker) GetViewRange() int32 { - if x != nil { - return x.ViewRange - } - return 0 -} - -func (x *MessageOfTricker) GetRadius() int32 { - if x != nil { - return x.Radius - } - return 0 -} - -func (x *MessageOfTricker) GetPlayerState() PlayerState { - if x != nil { - return x.PlayerState - } - return PlayerState_NULL_STATUS -} - -func (x *MessageOfTricker) GetTrickDesire() float64 { - if x != nil { - return x.TrickDesire - } - return 0 -} - -func (x *MessageOfTricker) GetClassVolume() float64 { - if x != nil { - return x.ClassVolume - } - return 0 -} - -func (x *MessageOfTricker) GetFacingDirection() float64 { - if x != nil { - return x.FacingDirection - } - return 0 -} - -func (x *MessageOfTricker) GetBulletType() BulletType { - if x != nil { - return x.BulletType - } - return BulletType_NULL_BULLET_TYPE -} - -func (x *MessageOfTricker) GetBuff() []TrickerBuffType { - if x != nil { - return x.Buff - } - return nil -} - -type MessageOfBullet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type BulletType `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.BulletType" json:"type,omitempty"` - X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` - FacingDirection float64 `protobuf:"fixed64,4,opt,name=facing_direction,json=facingDirection,proto3" json:"facing_direction,omitempty"` - Guid int64 `protobuf:"varint,5,opt,name=guid,proto3" json:"guid,omitempty"` - Team PlayerType `protobuf:"varint,6,opt,name=team,proto3,enum=protobuf.PlayerType" json:"team,omitempty"` - Place PlaceType `protobuf:"varint,7,opt,name=place,proto3,enum=protobuf.PlaceType" json:"place,omitempty"` - BombRange float64 `protobuf:"fixed64,8,opt,name=bomb_range,json=bombRange,proto3" json:"bomb_range,omitempty"` - Speed int32 `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"` -} - -func (x *MessageOfBullet) Reset() { - *x = MessageOfBullet{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfBullet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfBullet) ProtoMessage() {} - -func (x *MessageOfBullet) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfBullet.ProtoReflect.Descriptor instead. -func (*MessageOfBullet) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{2} -} - -func (x *MessageOfBullet) GetType() BulletType { - if x != nil { - return x.Type - } - return BulletType_NULL_BULLET_TYPE -} - -func (x *MessageOfBullet) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfBullet) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfBullet) GetFacingDirection() float64 { - if x != nil { - return x.FacingDirection - } - return 0 -} - -func (x *MessageOfBullet) GetGuid() int64 { - if x != nil { - return x.Guid - } - return 0 -} - -func (x *MessageOfBullet) GetTeam() PlayerType { - if x != nil { - return x.Team - } - return PlayerType_NULL_PLAYER_TYPE -} - -func (x *MessageOfBullet) GetPlace() PlaceType { - if x != nil { - return x.Place - } - return PlaceType_NULL_PLACE_TYPE -} - -func (x *MessageOfBullet) GetBombRange() float64 { - if x != nil { - return x.BombRange - } - return 0 -} - -func (x *MessageOfBullet) GetSpeed() int32 { - if x != nil { - return x.Speed - } - return 0 -} - -type MessageOfBombedBullet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type BulletType `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.BulletType" json:"type,omitempty"` - X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` - FacingDirection float64 `protobuf:"fixed64,4,opt,name=facing_direction,json=facingDirection,proto3" json:"facing_direction,omitempty"` - MappingId int64 `protobuf:"varint,5,opt,name=mapping_id,json=mappingId,proto3" json:"mapping_id,omitempty"` - BombRange float64 `protobuf:"fixed64,6,opt,name=bomb_range,json=bombRange,proto3" json:"bomb_range,omitempty"` -} - -func (x *MessageOfBombedBullet) Reset() { - *x = MessageOfBombedBullet{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfBombedBullet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfBombedBullet) ProtoMessage() {} - -func (x *MessageOfBombedBullet) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfBombedBullet.ProtoReflect.Descriptor instead. -func (*MessageOfBombedBullet) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{3} -} - -func (x *MessageOfBombedBullet) GetType() BulletType { - if x != nil { - return x.Type - } - return BulletType_NULL_BULLET_TYPE -} - -func (x *MessageOfBombedBullet) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfBombedBullet) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfBombedBullet) GetFacingDirection() float64 { - if x != nil { - return x.FacingDirection - } - return 0 -} - -func (x *MessageOfBombedBullet) GetMappingId() int64 { - if x != nil { - return x.MappingId - } - return 0 -} - -func (x *MessageOfBombedBullet) GetBombRange() float64 { - if x != nil { - return x.BombRange - } - return 0 -} - -type MessageOfProp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type PropType `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.PropType" json:"type,omitempty"` - X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` - FacingDirection float64 `protobuf:"fixed64,4,opt,name=facing_direction,json=facingDirection,proto3" json:"facing_direction,omitempty"` - Guid int64 `protobuf:"varint,5,opt,name=guid,proto3" json:"guid,omitempty"` - Place PlaceType `protobuf:"varint,6,opt,name=place,proto3,enum=protobuf.PlaceType" json:"place,omitempty"` -} - -func (x *MessageOfProp) Reset() { - *x = MessageOfProp{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfProp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfProp) ProtoMessage() {} - -func (x *MessageOfProp) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfProp.ProtoReflect.Descriptor instead. -func (*MessageOfProp) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{4} -} - -func (x *MessageOfProp) GetType() PropType { - if x != nil { - return x.Type - } - return PropType_NULL_PROP_TYPE -} - -func (x *MessageOfProp) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfProp) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfProp) GetFacingDirection() float64 { - if x != nil { - return x.FacingDirection - } - return 0 -} - -func (x *MessageOfProp) GetGuid() int64 { - if x != nil { - return x.Guid - } - return 0 -} - -func (x *MessageOfProp) GetPlace() PlaceType { - if x != nil { - return x.Place - } - return PlaceType_NULL_PLACE_TYPE -} - -type MessageOfPickedProp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type PropType `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.PropType" json:"type,omitempty"` - X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` - FacingDirection float64 `protobuf:"fixed64,4,opt,name=facing_direction,json=facingDirection,proto3" json:"facing_direction,omitempty"` - MappingId int64 `protobuf:"varint,5,opt,name=mapping_id,json=mappingId,proto3" json:"mapping_id,omitempty"` -} - -func (x *MessageOfPickedProp) Reset() { - *x = MessageOfPickedProp{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfPickedProp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfPickedProp) ProtoMessage() {} - -func (x *MessageOfPickedProp) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfPickedProp.ProtoReflect.Descriptor instead. -func (*MessageOfPickedProp) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{5} -} - -func (x *MessageOfPickedProp) GetType() PropType { - if x != nil { - return x.Type - } - return PropType_NULL_PROP_TYPE -} - -func (x *MessageOfPickedProp) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfPickedProp) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfPickedProp) GetFacingDirection() float64 { - if x != nil { - return x.FacingDirection - } - return 0 -} - -func (x *MessageOfPickedProp) GetMappingId() int64 { - if x != nil { - return x.MappingId - } - return 0 -} - -type MessageOfClassroom struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Progress int32 `protobuf:"varint,3,opt,name=progress,proto3" json:"progress,omitempty"` -} - -func (x *MessageOfClassroom) Reset() { - *x = MessageOfClassroom{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfClassroom) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfClassroom) ProtoMessage() {} - -func (x *MessageOfClassroom) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfClassroom.ProtoReflect.Descriptor instead. -func (*MessageOfClassroom) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{6} -} - -func (x *MessageOfClassroom) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfClassroom) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfClassroom) GetProgress() int32 { - if x != nil { - return x.Progress - } - return 0 -} - -type MessageOfGate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Progress int32 `protobuf:"varint,3,opt,name=progress,proto3" json:"progress,omitempty"` -} - -func (x *MessageOfGate) Reset() { - *x = MessageOfGate{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfGate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfGate) ProtoMessage() {} - -func (x *MessageOfGate) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfGate.ProtoReflect.Descriptor instead. -func (*MessageOfGate) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{7} -} - -func (x *MessageOfGate) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfGate) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfGate) GetProgress() int32 { - if x != nil { - return x.Progress - } - return 0 -} - -type MessageOfHiddenGate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Opened bool `protobuf:"varint,3,opt,name=opened,proto3" json:"opened,omitempty"` -} - -func (x *MessageOfHiddenGate) Reset() { - *x = MessageOfHiddenGate{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfHiddenGate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfHiddenGate) ProtoMessage() {} - -func (x *MessageOfHiddenGate) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfHiddenGate.ProtoReflect.Descriptor instead. -func (*MessageOfHiddenGate) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{8} -} - -func (x *MessageOfHiddenGate) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfHiddenGate) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfHiddenGate) GetOpened() bool { - if x != nil { - return x.Opened - } - return false -} - -type MessageOfDoor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - IsOpen bool `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` - Progress int32 `protobuf:"varint,4,opt,name=progress,proto3" json:"progress,omitempty"` -} - -func (x *MessageOfDoor) Reset() { - *x = MessageOfDoor{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfDoor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfDoor) ProtoMessage() {} - -func (x *MessageOfDoor) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfDoor.ProtoReflect.Descriptor instead. -func (*MessageOfDoor) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{9} -} - -func (x *MessageOfDoor) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfDoor) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfDoor) GetIsOpen() bool { - if x != nil { - return x.IsOpen - } - return false -} - -func (x *MessageOfDoor) GetProgress() int32 { - if x != nil { - return x.Progress - } - return 0 -} - -type MessageOfChest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - Progress int32 `protobuf:"varint,3,opt,name=progress,proto3" json:"progress,omitempty"` -} - -func (x *MessageOfChest) Reset() { - *x = MessageOfChest{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfChest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfChest) ProtoMessage() {} - -func (x *MessageOfChest) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfChest.ProtoReflect.Descriptor instead. -func (*MessageOfChest) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{10} -} - -func (x *MessageOfChest) GetX() int32 { - if x != nil { - return x.X - } - return 0 -} - -func (x *MessageOfChest) GetY() int32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *MessageOfChest) GetProgress() int32 { - if x != nil { - return x.Progress - } - return 0 -} - -type MessageOfMap struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Row []*MessageOfMap_Row `protobuf:"bytes,2,rep,name=row,proto3" json:"row,omitempty"` -} - -func (x *MessageOfMap) Reset() { - *x = MessageOfMap{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfMap) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfMap) ProtoMessage() {} - -func (x *MessageOfMap) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfMap.ProtoReflect.Descriptor instead. -func (*MessageOfMap) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{11} -} - -func (x *MessageOfMap) GetRow() []*MessageOfMap_Row { - if x != nil { - return x.Row - } - return nil -} - -type MessageOfNews struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - News string `protobuf:"bytes,1,opt,name=news,proto3" json:"news,omitempty"` - FromId int64 `protobuf:"varint,2,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` - ToId int64 `protobuf:"varint,3,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` -} - -func (x *MessageOfNews) Reset() { - *x = MessageOfNews{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfNews) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfNews) ProtoMessage() {} - -func (x *MessageOfNews) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfNews.ProtoReflect.Descriptor instead. -func (*MessageOfNews) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{12} -} - -func (x *MessageOfNews) GetNews() string { - if x != nil { - return x.News - } - return "" -} - -func (x *MessageOfNews) GetFromId() int64 { - if x != nil { - return x.FromId - } - return 0 -} - -func (x *MessageOfNews) GetToId() int64 { - if x != nil { - return x.ToId - } - return 0 -} - -type MessageOfObj struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to MessageOfObj: - // *MessageOfObj_StudentMessage - // *MessageOfObj_TrickerMessage - // *MessageOfObj_PropMessage - // *MessageOfObj_BulletMessage - // *MessageOfObj_BombedBulletMessage - // *MessageOfObj_ClassroomMessage - // *MessageOfObj_DoorMessage - // *MessageOfObj_GateMessage - // *MessageOfObj_ChestMessage - // *MessageOfObj_HiddenGateMessage - // *MessageOfObj_NewsMessage - // *MessageOfObj_MapMessage - MessageOfObj isMessageOfObj_MessageOfObj `protobuf_oneof:"message_of_obj"` -} - -func (x *MessageOfObj) Reset() { - *x = MessageOfObj{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfObj) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfObj) ProtoMessage() {} - -func (x *MessageOfObj) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfObj.ProtoReflect.Descriptor instead. -func (*MessageOfObj) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{13} -} - -func (m *MessageOfObj) GetMessageOfObj() isMessageOfObj_MessageOfObj { - if m != nil { - return m.MessageOfObj - } - return nil -} - -func (x *MessageOfObj) GetStudentMessage() *MessageOfStudent { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_StudentMessage); ok { - return x.StudentMessage - } - return nil -} - -func (x *MessageOfObj) GetTrickerMessage() *MessageOfTricker { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_TrickerMessage); ok { - return x.TrickerMessage - } - return nil -} - -func (x *MessageOfObj) GetPropMessage() *MessageOfProp { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_PropMessage); ok { - return x.PropMessage - } - return nil -} - -func (x *MessageOfObj) GetBulletMessage() *MessageOfBullet { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_BulletMessage); ok { - return x.BulletMessage - } - return nil -} - -func (x *MessageOfObj) GetBombedBulletMessage() *MessageOfBombedBullet { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_BombedBulletMessage); ok { - return x.BombedBulletMessage - } - return nil -} - -func (x *MessageOfObj) GetClassroomMessage() *MessageOfClassroom { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_ClassroomMessage); ok { - return x.ClassroomMessage - } - return nil -} - -func (x *MessageOfObj) GetDoorMessage() *MessageOfDoor { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_DoorMessage); ok { - return x.DoorMessage - } - return nil -} - -func (x *MessageOfObj) GetGateMessage() *MessageOfGate { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_GateMessage); ok { - return x.GateMessage - } - return nil -} - -func (x *MessageOfObj) GetChestMessage() *MessageOfChest { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_ChestMessage); ok { - return x.ChestMessage - } - return nil -} - -func (x *MessageOfObj) GetHiddenGateMessage() *MessageOfHiddenGate { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_HiddenGateMessage); ok { - return x.HiddenGateMessage - } - return nil -} - -func (x *MessageOfObj) GetNewsMessage() *MessageOfNews { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_NewsMessage); ok { - return x.NewsMessage - } - return nil -} - -func (x *MessageOfObj) GetMapMessage() *MessageOfMap { - if x, ok := x.GetMessageOfObj().(*MessageOfObj_MapMessage); ok { - return x.MapMessage - } - return nil -} - -type isMessageOfObj_MessageOfObj interface { - isMessageOfObj_MessageOfObj() -} - -type MessageOfObj_StudentMessage struct { - StudentMessage *MessageOfStudent `protobuf:"bytes,1,opt,name=student_message,json=studentMessage,proto3,oneof"` -} - -type MessageOfObj_TrickerMessage struct { - TrickerMessage *MessageOfTricker `protobuf:"bytes,2,opt,name=tricker_message,json=trickerMessage,proto3,oneof"` -} - -type MessageOfObj_PropMessage struct { - PropMessage *MessageOfProp `protobuf:"bytes,3,opt,name=prop_message,json=propMessage,proto3,oneof"` -} - -type MessageOfObj_BulletMessage struct { - BulletMessage *MessageOfBullet `protobuf:"bytes,4,opt,name=bullet_message,json=bulletMessage,proto3,oneof"` -} - -type MessageOfObj_BombedBulletMessage struct { - BombedBulletMessage *MessageOfBombedBullet `protobuf:"bytes,5,opt,name=bombed_bullet_message,json=bombedBulletMessage,proto3,oneof"` -} - -type MessageOfObj_ClassroomMessage struct { - ClassroomMessage *MessageOfClassroom `protobuf:"bytes,6,opt,name=classroom_message,json=classroomMessage,proto3,oneof"` -} - -type MessageOfObj_DoorMessage struct { - DoorMessage *MessageOfDoor `protobuf:"bytes,7,opt,name=door_message,json=doorMessage,proto3,oneof"` -} - -type MessageOfObj_GateMessage struct { - GateMessage *MessageOfGate `protobuf:"bytes,8,opt,name=gate_message,json=gateMessage,proto3,oneof"` -} - -type MessageOfObj_ChestMessage struct { - ChestMessage *MessageOfChest `protobuf:"bytes,9,opt,name=chest_message,json=chestMessage,proto3,oneof"` -} - -type MessageOfObj_HiddenGateMessage struct { - HiddenGateMessage *MessageOfHiddenGate `protobuf:"bytes,10,opt,name=hidden_gate_message,json=hiddenGateMessage,proto3,oneof"` -} - -type MessageOfObj_NewsMessage struct { - NewsMessage *MessageOfNews `protobuf:"bytes,11,opt,name=news_message,json=newsMessage,proto3,oneof"` -} - -type MessageOfObj_MapMessage struct { - MapMessage *MessageOfMap `protobuf:"bytes,12,opt,name=map_message,json=mapMessage,proto3,oneof"` -} - -func (*MessageOfObj_StudentMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_TrickerMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_PropMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_BulletMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_BombedBulletMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_ClassroomMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_DoorMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_GateMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_ChestMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_HiddenGateMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_NewsMessage) isMessageOfObj_MessageOfObj() {} - -func (*MessageOfObj_MapMessage) isMessageOfObj_MessageOfObj() {} - -type MessageOfAll struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GameTime int32 `protobuf:"varint,1,opt,name=game_time,json=gameTime,proto3" json:"game_time,omitempty"` - SubjectFinished int32 `protobuf:"varint,2,opt,name=subject_finished,json=subjectFinished,proto3" json:"subject_finished,omitempty"` // 完成的科目数 - StudentGraduated int32 `protobuf:"varint,3,opt,name=student_graduated,json=studentGraduated,proto3" json:"student_graduated,omitempty"` // 已经毕业的学生数 - StudentQuited int32 `protobuf:"varint,4,opt,name=student_quited,json=studentQuited,proto3" json:"student_quited,omitempty"` // 已经退学的学生数 - StudentScore int32 `protobuf:"varint,5,opt,name=student_score,json=studentScore,proto3" json:"student_score,omitempty"` - TrickerScore int32 `protobuf:"varint,6,opt,name=tricker_score,json=trickerScore,proto3" json:"tricker_score,omitempty"` -} - -func (x *MessageOfAll) Reset() { - *x = MessageOfAll{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfAll) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfAll) ProtoMessage() {} - -func (x *MessageOfAll) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfAll.ProtoReflect.Descriptor instead. -func (*MessageOfAll) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{14} -} - -func (x *MessageOfAll) GetGameTime() int32 { - if x != nil { - return x.GameTime - } - return 0 -} - -func (x *MessageOfAll) GetSubjectFinished() int32 { - if x != nil { - return x.SubjectFinished - } - return 0 -} - -func (x *MessageOfAll) GetStudentGraduated() int32 { - if x != nil { - return x.StudentGraduated - } - return 0 -} - -func (x *MessageOfAll) GetStudentQuited() int32 { - if x != nil { - return x.StudentQuited - } - return 0 -} - -func (x *MessageOfAll) GetStudentScore() int32 { - if x != nil { - return x.StudentScore - } - return 0 -} - -func (x *MessageOfAll) GetTrickerScore() int32 { - if x != nil { - return x.TrickerScore - } - return 0 -} - -type MessageToClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ObjMessage []*MessageOfObj `protobuf:"bytes,1,rep,name=obj_message,json=objMessage,proto3" json:"obj_message,omitempty"` - GameState GameState `protobuf:"varint,2,opt,name=game_state,json=gameState,proto3,enum=protobuf.GameState" json:"game_state,omitempty"` - AllMessage *MessageOfAll `protobuf:"bytes,3,opt,name=all_message,json=allMessage,proto3" json:"all_message,omitempty"` -} - -func (x *MessageToClient) Reset() { - *x = MessageToClient{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageToClient) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageToClient) ProtoMessage() {} - -func (x *MessageToClient) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageToClient.ProtoReflect.Descriptor instead. -func (*MessageToClient) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{15} -} - -func (x *MessageToClient) GetObjMessage() []*MessageOfObj { - if x != nil { - return x.ObjMessage - } - return nil -} - -func (x *MessageToClient) GetGameState() GameState { - if x != nil { - return x.GameState - } - return GameState_NULL_GAME_STATE -} - -func (x *MessageToClient) GetAllMessage() *MessageOfAll { - if x != nil { - return x.AllMessage - } - return nil -} - -type MoveRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ActualSpeed int64 `protobuf:"varint,1,opt,name=actual_speed,json=actualSpeed,proto3" json:"actual_speed,omitempty"` - ActualAngle float64 `protobuf:"fixed64,2,opt,name=actual_angle,json=actualAngle,proto3" json:"actual_angle,omitempty"` - ActSuccess bool `protobuf:"varint,3,opt,name=act_success,json=actSuccess,proto3" json:"act_success,omitempty"` -} - -func (x *MoveRes) Reset() { - *x = MoveRes{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveRes) ProtoMessage() {} - -func (x *MoveRes) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MoveRes.ProtoReflect.Descriptor instead. -func (*MoveRes) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{16} -} - -func (x *MoveRes) GetActualSpeed() int64 { - if x != nil { - return x.ActualSpeed - } - return 0 -} - -func (x *MoveRes) GetActualAngle() float64 { - if x != nil { - return x.ActualAngle - } - return 0 -} - -func (x *MoveRes) GetActSuccess() bool { - if x != nil { - return x.ActSuccess - } - return false -} - -type BoolRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ActSuccess bool `protobuf:"varint,1,opt,name=act_success,json=actSuccess,proto3" json:"act_success,omitempty"` -} - -func (x *BoolRes) Reset() { - *x = BoolRes{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BoolRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BoolRes) ProtoMessage() {} - -func (x *BoolRes) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BoolRes.ProtoReflect.Descriptor instead. -func (*BoolRes) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{17} -} - -func (x *BoolRes) GetActSuccess() bool { - if x != nil { - return x.ActSuccess - } - return false -} - -type MessageOfMap_Row struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Col []PlaceType `protobuf:"varint,1,rep,packed,name=col,proto3,enum=protobuf.PlaceType" json:"col,omitempty"` -} - -func (x *MessageOfMap_Row) Reset() { - *x = MessageOfMap_Row{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Clients_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageOfMap_Row) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOfMap_Row) ProtoMessage() {} - -func (x *MessageOfMap_Row) ProtoReflect() protoreflect.Message { - mi := &file_Message2Clients_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOfMap_Row.ProtoReflect.Descriptor instead. -func (*MessageOfMap_Row) Descriptor() ([]byte, []int) { - return file_Message2Clients_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *MessageOfMap_Row) GetCol() []PlaceType { - if x != nil { - return x.Col - } - return nil -} - -var File_Message2Clients_proto protoreflect.FileDescriptor - -var file_Message2Clients_proto_rawDesc = []byte{ - 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x1a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x06, 0x0a, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x4f, 0x66, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x64, - 0x65, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0d, 0x64, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x3b, 0x0a, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x5f, 0x73, 0x6b, - 0x69, 0x6c, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x01, 0x52, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x53, 0x6b, - 0x69, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x05, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x12, - 0x38, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, - 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x35, 0x0a, - 0x0b, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x75, - 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6c, 0x65, - 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, - 0x72, 0x65, 0x61, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x74, 0x72, 0x65, 0x61, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, - 0x77, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, - 0x69, 0x65, 0x77, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, - 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, - 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x65, - 0x61, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0d, 0x74, 0x72, 0x65, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x63, 0x75, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x63, 0x75, - 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x73, 0x74, 0x75, - 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x65, - 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x66, - 0x61, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, - 0x0a, 0x04, 0x62, 0x75, 0x66, 0x66, 0x18, 0x19, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x42, - 0x75, 0x66, 0x66, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x62, 0x75, 0x66, 0x66, 0x22, 0x9d, 0x05, - 0x0a, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x54, 0x72, 0x69, 0x63, 0x6b, - 0x65, 0x72, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, - 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, - 0x70, 0x65, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x74, - 0x69, 0x6c, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x01, 0x52, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, - 0x74, 0x69, 0x6c, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, - 0x65, 0x12, 0x29, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x04, - 0x70, 0x72, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x70, 0x72, 0x6f, 0x70, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x67, 0x75, - 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x72, 0x61, - 0x6e, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x52, - 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x38, 0x0a, 0x0c, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x63, 0x6b, 0x5f, - 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x74, 0x72, - 0x69, 0x63, 0x6b, 0x44, 0x65, 0x73, 0x69, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x0b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, - 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0b, 0x62, 0x75, 0x6c, 0x6c, 0x65, - 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0a, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, - 0x0a, 0x04, 0x62, 0x75, 0x66, 0x66, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x42, - 0x75, 0x66, 0x66, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x62, 0x75, 0x66, 0x66, 0x22, 0xa0, 0x02, - 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x42, 0x75, 0x6c, 0x6c, 0x65, - 0x74, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x75, 0x6c, 0x6c, 0x65, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x61, 0x63, 0x69, 0x6e, - 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x0f, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, - 0x12, 0x29, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, - 0x6f, 0x6d, 0x62, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x09, 0x62, 0x6f, 0x6d, 0x62, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, - 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, - 0x22, 0xc6, 0x01, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x42, 0x6f, - 0x6d, 0x62, 0x65, 0x64, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, - 0x12, 0x29, 0x0a, 0x10, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x66, 0x61, 0x63, 0x69, - 0x6e, 0x67, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, - 0x6d, 0x62, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, - 0x62, 0x6f, 0x6d, 0x62, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x26, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, - 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, - 0x29, 0x0a, 0x10, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x66, 0x61, 0x63, 0x69, 0x6e, - 0x67, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x29, - 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x13, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x72, 0x6f, - 0x70, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x0f, 0x66, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x22, - 0x4c, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x47, 0x0a, - 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x47, 0x61, 0x74, 0x65, 0x12, 0x0c, - 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, - 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, - 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x49, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x4f, 0x66, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x47, 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, - 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65, - 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x65, - 0x64, 0x22, 0x60, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x44, 0x6f, - 0x6f, 0x72, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, - 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x17, - 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x22, 0x48, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, - 0x43, 0x68, 0x65, 0x73, 0x74, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6a, 0x0a, - 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4d, 0x61, 0x70, 0x12, 0x2c, 0x0a, - 0x03, 0x72, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4d, - 0x61, 0x70, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x03, 0x72, 0x6f, 0x77, 0x1a, 0x2c, 0x0a, 0x03, 0x52, - 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x03, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, - 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x03, 0x63, 0x6f, 0x6c, 0x22, 0x51, 0x0a, 0x0d, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4e, 0x65, 0x77, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, - 0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x12, 0x17, - 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x22, 0xdb, 0x06, 0x0a, - 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4f, 0x62, 0x6a, 0x12, 0x45, 0x0a, - 0x0f, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x53, 0x74, 0x75, 0x64, 0x65, - 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x74, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x4f, 0x66, 0x54, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x72, 0x69, - 0x63, 0x6b, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x70, - 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x50, 0x72, 0x6f, 0x70, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, - 0x6f, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x62, 0x75, 0x6c, - 0x6c, 0x65, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0d, - 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x55, 0x0a, - 0x15, 0x62, 0x6f, 0x6d, 0x62, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, - 0x66, 0x42, 0x6f, 0x6d, 0x62, 0x65, 0x64, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x48, 0x00, 0x52, - 0x13, 0x62, 0x6f, 0x6d, 0x62, 0x65, 0x64, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x72, 0x6f, 0x6f, - 0x6d, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x4f, 0x66, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x72, 0x6f, 0x6f, 0x6d, 0x48, 0x00, 0x52, - 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x72, 0x6f, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x64, 0x6f, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x44, 0x6f, 0x6f, 0x72, - 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x3c, 0x0a, 0x0c, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x47, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x0b, 0x67, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, - 0x0d, 0x63, 0x68, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x43, 0x68, 0x65, 0x73, 0x74, 0x48, 0x00, - 0x52, 0x0c, 0x63, 0x68, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4f, - 0x0a, 0x13, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, - 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x47, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x68, 0x69, - 0x64, 0x64, 0x65, 0x6e, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x3c, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4e, 0x65, 0x77, 0x73, 0x48, 0x00, - 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x39, 0x0a, - 0x0b, 0x6d, 0x61, 0x70, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x61, - 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x66, 0x5f, 0x6f, 0x62, 0x6a, 0x22, 0xf4, 0x01, 0x0a, 0x0c, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x41, 0x6c, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x67, - 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, - 0x67, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x67, - 0x72, 0x61, 0x64, 0x75, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, - 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x61, 0x64, 0x75, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x69, 0x74, - 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, - 0x74, 0x51, 0x75, 0x69, 0x74, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x75, 0x64, 0x65, - 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, - 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, - 0x74, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, - 0x65, 0x22, 0xb7, 0x01, 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x43, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x5f, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x4f, - 0x62, 0x6a, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, - 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x61, - 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x41, 0x6c, 0x6c, 0x52, - 0x0a, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x70, 0x0a, 0x07, 0x4d, - 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, - 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, - 0x74, 0x75, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x74, - 0x75, 0x61, 0x6c, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x0b, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x61, 0x63, 0x74, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, - 0x07, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x5f, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, - 0x63, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x73, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x32, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x0d, 0x6a, 0x6f, 0x62, 0x2d, 0x41, 0x50, 0x49, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0xca, 0x02, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xe2, 0x02, 0x14, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_Message2Clients_proto_rawDescOnce sync.Once - file_Message2Clients_proto_rawDescData = file_Message2Clients_proto_rawDesc -) - -func file_Message2Clients_proto_rawDescGZIP() []byte { - file_Message2Clients_proto_rawDescOnce.Do(func() { - file_Message2Clients_proto_rawDescData = protoimpl.X.CompressGZIP(file_Message2Clients_proto_rawDescData) - }) - return file_Message2Clients_proto_rawDescData -} - -var file_Message2Clients_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_Message2Clients_proto_goTypes = []interface{}{ - (*MessageOfStudent)(nil), // 0: protobuf.MessageOfStudent - (*MessageOfTricker)(nil), // 1: protobuf.MessageOfTricker - (*MessageOfBullet)(nil), // 2: protobuf.MessageOfBullet - (*MessageOfBombedBullet)(nil), // 3: protobuf.MessageOfBombedBullet - (*MessageOfProp)(nil), // 4: protobuf.MessageOfProp - (*MessageOfPickedProp)(nil), // 5: protobuf.MessageOfPickedProp - (*MessageOfClassroom)(nil), // 6: protobuf.MessageOfClassroom - (*MessageOfGate)(nil), // 7: protobuf.MessageOfGate - (*MessageOfHiddenGate)(nil), // 8: protobuf.MessageOfHiddenGate - (*MessageOfDoor)(nil), // 9: protobuf.MessageOfDoor - (*MessageOfChest)(nil), // 10: protobuf.MessageOfChest - (*MessageOfMap)(nil), // 11: protobuf.MessageOfMap - (*MessageOfNews)(nil), // 12: protobuf.MessageOfNews - (*MessageOfObj)(nil), // 13: protobuf.MessageOfObj - (*MessageOfAll)(nil), // 14: protobuf.MessageOfAll - (*MessageToClient)(nil), // 15: protobuf.MessageToClient - (*MoveRes)(nil), // 16: protobuf.MoveRes - (*BoolRes)(nil), // 17: protobuf.BoolRes - (*MessageOfMap_Row)(nil), // 18: protobuf.MessageOfMap.Row - (PlaceType)(0), // 19: protobuf.PlaceType - (PropType)(0), // 20: protobuf.PropType - (PlayerState)(0), // 21: protobuf.PlayerState - (BulletType)(0), // 22: protobuf.BulletType - (StudentType)(0), // 23: protobuf.StudentType - (StudentBuffType)(0), // 24: protobuf.StudentBuffType - (TrickerType)(0), // 25: protobuf.TrickerType - (TrickerBuffType)(0), // 26: protobuf.TrickerBuffType - (PlayerType)(0), // 27: protobuf.PlayerType - (GameState)(0), // 28: protobuf.GameState -} -var file_Message2Clients_proto_depIdxs = []int32{ - 19, // 0: protobuf.MessageOfStudent.place:type_name -> protobuf.PlaceType - 20, // 1: protobuf.MessageOfStudent.prop:type_name -> protobuf.PropType - 21, // 2: protobuf.MessageOfStudent.player_state:type_name -> protobuf.PlayerState - 22, // 3: protobuf.MessageOfStudent.bullet_type:type_name -> protobuf.BulletType - 23, // 4: protobuf.MessageOfStudent.student_type:type_name -> protobuf.StudentType - 24, // 5: protobuf.MessageOfStudent.buff:type_name -> protobuf.StudentBuffType - 19, // 6: protobuf.MessageOfTricker.place:type_name -> protobuf.PlaceType - 20, // 7: protobuf.MessageOfTricker.prop:type_name -> protobuf.PropType - 25, // 8: protobuf.MessageOfTricker.tricker_type:type_name -> protobuf.TrickerType - 21, // 9: protobuf.MessageOfTricker.player_state:type_name -> protobuf.PlayerState - 22, // 10: protobuf.MessageOfTricker.bullet_type:type_name -> protobuf.BulletType - 26, // 11: protobuf.MessageOfTricker.buff:type_name -> protobuf.TrickerBuffType - 22, // 12: protobuf.MessageOfBullet.type:type_name -> protobuf.BulletType - 27, // 13: protobuf.MessageOfBullet.team:type_name -> protobuf.PlayerType - 19, // 14: protobuf.MessageOfBullet.place:type_name -> protobuf.PlaceType - 22, // 15: protobuf.MessageOfBombedBullet.type:type_name -> protobuf.BulletType - 20, // 16: protobuf.MessageOfProp.type:type_name -> protobuf.PropType - 19, // 17: protobuf.MessageOfProp.place:type_name -> protobuf.PlaceType - 20, // 18: protobuf.MessageOfPickedProp.type:type_name -> protobuf.PropType - 18, // 19: protobuf.MessageOfMap.row:type_name -> protobuf.MessageOfMap.Row - 0, // 20: protobuf.MessageOfObj.student_message:type_name -> protobuf.MessageOfStudent - 1, // 21: protobuf.MessageOfObj.tricker_message:type_name -> protobuf.MessageOfTricker - 4, // 22: protobuf.MessageOfObj.prop_message:type_name -> protobuf.MessageOfProp - 2, // 23: protobuf.MessageOfObj.bullet_message:type_name -> protobuf.MessageOfBullet - 3, // 24: protobuf.MessageOfObj.bombed_bullet_message:type_name -> protobuf.MessageOfBombedBullet - 6, // 25: protobuf.MessageOfObj.classroom_message:type_name -> protobuf.MessageOfClassroom - 9, // 26: protobuf.MessageOfObj.door_message:type_name -> protobuf.MessageOfDoor - 7, // 27: protobuf.MessageOfObj.gate_message:type_name -> protobuf.MessageOfGate - 10, // 28: protobuf.MessageOfObj.chest_message:type_name -> protobuf.MessageOfChest - 8, // 29: protobuf.MessageOfObj.hidden_gate_message:type_name -> protobuf.MessageOfHiddenGate - 12, // 30: protobuf.MessageOfObj.news_message:type_name -> protobuf.MessageOfNews - 11, // 31: protobuf.MessageOfObj.map_message:type_name -> protobuf.MessageOfMap - 13, // 32: protobuf.MessageToClient.obj_message:type_name -> protobuf.MessageOfObj - 28, // 33: protobuf.MessageToClient.game_state:type_name -> protobuf.GameState - 14, // 34: protobuf.MessageToClient.all_message:type_name -> protobuf.MessageOfAll - 19, // 35: protobuf.MessageOfMap.Row.col:type_name -> protobuf.PlaceType - 36, // [36:36] is the sub-list for method output_type - 36, // [36:36] is the sub-list for method input_type - 36, // [36:36] is the sub-list for extension type_name - 36, // [36:36] is the sub-list for extension extendee - 0, // [0:36] is the sub-list for field type_name -} - -func init() { file_Message2Clients_proto_init() } -func file_Message2Clients_proto_init() { - if File_Message2Clients_proto != nil { - return - } - file_MessageType_proto_init() - if !protoimpl.UnsafeEnabled { - file_Message2Clients_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfStudent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfTricker); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfBullet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfBombedBullet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfProp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfPickedProp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfClassroom); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfGate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfHiddenGate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfDoor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfChest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfNews); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfObj); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfAll); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageToClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoolRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Clients_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageOfMap_Row); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_Message2Clients_proto_msgTypes[13].OneofWrappers = []interface{}{ - (*MessageOfObj_StudentMessage)(nil), - (*MessageOfObj_TrickerMessage)(nil), - (*MessageOfObj_PropMessage)(nil), - (*MessageOfObj_BulletMessage)(nil), - (*MessageOfObj_BombedBulletMessage)(nil), - (*MessageOfObj_ClassroomMessage)(nil), - (*MessageOfObj_DoorMessage)(nil), - (*MessageOfObj_GateMessage)(nil), - (*MessageOfObj_ChestMessage)(nil), - (*MessageOfObj_HiddenGateMessage)(nil), - (*MessageOfObj_NewsMessage)(nil), - (*MessageOfObj_MapMessage)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_Message2Clients_proto_rawDesc, - NumEnums: 0, - NumMessages: 19, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_Message2Clients_proto_goTypes, - DependencyIndexes: file_Message2Clients_proto_depIdxs, - MessageInfos: file_Message2Clients_proto_msgTypes, - }.Build() - File_Message2Clients_proto = out.File - file_Message2Clients_proto_rawDesc = nil - file_Message2Clients_proto_goTypes = nil - file_Message2Clients_proto_depIdxs = nil -} diff --git a/experimental/CAPI/go/API/proto/Message2Server.pb.go b/experimental/CAPI/go/API/proto/Message2Server.pb.go deleted file mode 100644 index ac9b8d2..0000000 --- a/experimental/CAPI/go/API/proto/Message2Server.pb.go +++ /dev/null @@ -1,744 +0,0 @@ -// Message2Server - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc (unknown) -// source: Message2Server.proto - -package proto - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type PlayerMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - // Types that are assignable to JobType: - // *PlayerMsg_StudentType - // *PlayerMsg_TrickerType - JobType isPlayerMsg_JobType `protobuf_oneof:"job_type"` - PlayerType PlayerType `protobuf:"varint,4,opt,name=player_type,json=playerType,proto3,enum=protobuf.PlayerType" json:"player_type,omitempty"` -} - -func (x *PlayerMsg) Reset() { - *x = PlayerMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PlayerMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PlayerMsg) ProtoMessage() {} - -func (x *PlayerMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PlayerMsg.ProtoReflect.Descriptor instead. -func (*PlayerMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{0} -} - -func (x *PlayerMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (m *PlayerMsg) GetJobType() isPlayerMsg_JobType { - if m != nil { - return m.JobType - } - return nil -} - -func (x *PlayerMsg) GetStudentType() StudentType { - if x, ok := x.GetJobType().(*PlayerMsg_StudentType); ok { - return x.StudentType - } - return StudentType_NULL_STUDENT_TYPE -} - -func (x *PlayerMsg) GetTrickerType() TrickerType { - if x, ok := x.GetJobType().(*PlayerMsg_TrickerType); ok { - return x.TrickerType - } - return TrickerType_NULL_TRICKER_TYPE -} - -func (x *PlayerMsg) GetPlayerType() PlayerType { - if x != nil { - return x.PlayerType - } - return PlayerType_NULL_PLAYER_TYPE -} - -type isPlayerMsg_JobType interface { - isPlayerMsg_JobType() -} - -type PlayerMsg_StudentType struct { - StudentType StudentType `protobuf:"varint,2,opt,name=student_type,json=studentType,proto3,enum=protobuf.StudentType,oneof"` -} - -type PlayerMsg_TrickerType struct { - TrickerType TrickerType `protobuf:"varint,3,opt,name=tricker_type,json=trickerType,proto3,enum=protobuf.TrickerType,oneof"` -} - -func (*PlayerMsg_StudentType) isPlayerMsg_JobType() {} - -func (*PlayerMsg_TrickerType) isPlayerMsg_JobType() {} - -type MoveMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - Angle float64 `protobuf:"fixed64,2,opt,name=angle,proto3" json:"angle,omitempty"` - TimeInMilliseconds int64 `protobuf:"varint,3,opt,name=time_in_milliseconds,json=timeInMilliseconds,proto3" json:"time_in_milliseconds,omitempty"` -} - -func (x *MoveMsg) Reset() { - *x = MoveMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveMsg) ProtoMessage() {} - -func (x *MoveMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MoveMsg.ProtoReflect.Descriptor instead. -func (*MoveMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{1} -} - -func (x *MoveMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *MoveMsg) GetAngle() float64 { - if x != nil { - return x.Angle - } - return 0 -} - -func (x *MoveMsg) GetTimeInMilliseconds() int64 { - if x != nil { - return x.TimeInMilliseconds - } - return 0 -} - -type PropMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - PropType PropType `protobuf:"varint,2,opt,name=prop_type,json=propType,proto3,enum=protobuf.PropType" json:"prop_type,omitempty"` -} - -func (x *PropMsg) Reset() { - *x = PropMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PropMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PropMsg) ProtoMessage() {} - -func (x *PropMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PropMsg.ProtoReflect.Descriptor instead. -func (*PropMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{2} -} - -func (x *PropMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *PropMsg) GetPropType() PropType { - if x != nil { - return x.PropType - } - return PropType_NULL_PROP_TYPE -} - -type SendMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - ToPlayerId int64 `protobuf:"varint,2,opt,name=to_player_id,json=toPlayerId,proto3" json:"to_player_id,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *SendMsg) Reset() { - *x = SendMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendMsg) ProtoMessage() {} - -func (x *SendMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendMsg.ProtoReflect.Descriptor instead. -func (*SendMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{3} -} - -func (x *SendMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *SendMsg) GetToPlayerId() int64 { - if x != nil { - return x.ToPlayerId - } - return 0 -} - -func (x *SendMsg) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type AttackMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - Angle float64 `protobuf:"fixed64,2,opt,name=angle,proto3" json:"angle,omitempty"` -} - -func (x *AttackMsg) Reset() { - *x = AttackMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttackMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttackMsg) ProtoMessage() {} - -func (x *AttackMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AttackMsg.ProtoReflect.Descriptor instead. -func (*AttackMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{4} -} - -func (x *AttackMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *AttackMsg) GetAngle() float64 { - if x != nil { - return x.Angle - } - return 0 -} - -type IDMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` -} - -func (x *IDMsg) Reset() { - *x = IDMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IDMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IDMsg) ProtoMessage() {} - -func (x *IDMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IDMsg.ProtoReflect.Descriptor instead. -func (*IDMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{5} -} - -func (x *IDMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -type TreatAndRescueMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - ToPlayerId int64 `protobuf:"varint,2,opt,name=to_player_id,json=toPlayerId,proto3" json:"to_player_id,omitempty"` -} - -func (x *TreatAndRescueMsg) Reset() { - *x = TreatAndRescueMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TreatAndRescueMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TreatAndRescueMsg) ProtoMessage() {} - -func (x *TreatAndRescueMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TreatAndRescueMsg.ProtoReflect.Descriptor instead. -func (*TreatAndRescueMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{6} -} - -func (x *TreatAndRescueMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *TreatAndRescueMsg) GetToPlayerId() int64 { - if x != nil { - return x.ToPlayerId - } - return 0 -} - -type SkillMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlayerId int64 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` - SkillId int32 `protobuf:"varint,2,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` -} - -func (x *SkillMsg) Reset() { - *x = SkillMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_Message2Server_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SkillMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SkillMsg) ProtoMessage() {} - -func (x *SkillMsg) ProtoReflect() protoreflect.Message { - mi := &file_Message2Server_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SkillMsg.ProtoReflect.Descriptor instead. -func (*SkillMsg) Descriptor() ([]byte, []int) { - return file_Message2Server_proto_rawDescGZIP(), []int{7} -} - -func (x *SkillMsg) GetPlayerId() int64 { - if x != nil { - return x.PlayerId - } - return 0 -} - -func (x *SkillMsg) GetSkillId() int32 { - if x != nil { - return x.SkillId - } - return 0 -} - -var File_Message2Server_proto protoreflect.FileDescriptor - -var file_Message2Server_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x1a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x73, - 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3a, - 0x0a, 0x0c, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73, - 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x74, 0x72, - 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x72, 0x69, 0x63, - 0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x63, 0x6b, - 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, - 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x6e, 0x0a, 0x07, 0x4d, 0x6f, 0x76, - 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x05, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x69, 0x6e, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x4d, 0x69, 0x6c, - 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x57, 0x0a, 0x07, 0x50, 0x72, 0x6f, - 0x70, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x2f, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x62, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, - 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x6f, - 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x74, 0x6f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3e, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, - 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x05, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x22, 0x24, 0x0a, 0x05, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x12, - 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x11, - 0x54, 0x72, 0x65, 0x61, 0x74, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x63, 0x75, 0x65, 0x4d, 0x73, - 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, - 0x0a, 0x0c, 0x74, 0x6f, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, - 0x22, 0x42, 0x0a, 0x08, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x6b, 0x69, - 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6b, 0x69, - 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x72, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x42, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x0d, 0x6a, 0x6f, 0x62, - 0x2d, 0x41, 0x50, 0x49, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, - 0xaa, 0x02, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xca, 0x02, 0x08, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xe2, 0x02, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_Message2Server_proto_rawDescOnce sync.Once - file_Message2Server_proto_rawDescData = file_Message2Server_proto_rawDesc -) - -func file_Message2Server_proto_rawDescGZIP() []byte { - file_Message2Server_proto_rawDescOnce.Do(func() { - file_Message2Server_proto_rawDescData = protoimpl.X.CompressGZIP(file_Message2Server_proto_rawDescData) - }) - return file_Message2Server_proto_rawDescData -} - -var file_Message2Server_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_Message2Server_proto_goTypes = []interface{}{ - (*PlayerMsg)(nil), // 0: protobuf.PlayerMsg - (*MoveMsg)(nil), // 1: protobuf.MoveMsg - (*PropMsg)(nil), // 2: protobuf.PropMsg - (*SendMsg)(nil), // 3: protobuf.SendMsg - (*AttackMsg)(nil), // 4: protobuf.AttackMsg - (*IDMsg)(nil), // 5: protobuf.IDMsg - (*TreatAndRescueMsg)(nil), // 6: protobuf.TreatAndRescueMsg - (*SkillMsg)(nil), // 7: protobuf.SkillMsg - (StudentType)(0), // 8: protobuf.StudentType - (TrickerType)(0), // 9: protobuf.TrickerType - (PlayerType)(0), // 10: protobuf.PlayerType - (PropType)(0), // 11: protobuf.PropType -} -var file_Message2Server_proto_depIdxs = []int32{ - 8, // 0: protobuf.PlayerMsg.student_type:type_name -> protobuf.StudentType - 9, // 1: protobuf.PlayerMsg.tricker_type:type_name -> protobuf.TrickerType - 10, // 2: protobuf.PlayerMsg.player_type:type_name -> protobuf.PlayerType - 11, // 3: protobuf.PropMsg.prop_type:type_name -> protobuf.PropType - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_Message2Server_proto_init() } -func file_Message2Server_proto_init() { - if File_Message2Server_proto != nil { - return - } - file_MessageType_proto_init() - if !protoimpl.UnsafeEnabled { - file_Message2Server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayerMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PropMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttackMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IDMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TreatAndRescueMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Message2Server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SkillMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_Message2Server_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*PlayerMsg_StudentType)(nil), - (*PlayerMsg_TrickerType)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_Message2Server_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_Message2Server_proto_goTypes, - DependencyIndexes: file_Message2Server_proto_depIdxs, - MessageInfos: file_Message2Server_proto_msgTypes, - }.Build() - File_Message2Server_proto = out.File - file_Message2Server_proto_rawDesc = nil - file_Message2Server_proto_goTypes = nil - file_Message2Server_proto_depIdxs = nil -} diff --git a/experimental/CAPI/go/API/proto/MessageType.pb.go b/experimental/CAPI/go/API/proto/MessageType.pb.go deleted file mode 100644 index 3ca4365..0000000 --- a/experimental/CAPI/go/API/proto/MessageType.pb.go +++ /dev/null @@ -1,867 +0,0 @@ -// MessageType - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc (unknown) -// source: MessageType.proto - -package proto - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type BulletType int32 - -const ( - BulletType_NULL_BULLET_TYPE BulletType = 0 - BulletType_FLYING_KNIFE BulletType = 1 - BulletType_COMMON_ATTACK_OF_TRICKER BulletType = 2 - BulletType_BOMB_BOMB BulletType = 3 - BulletType_JUMPY_DUMPTY BulletType = 4 - BulletType_ATOM_BOMB BulletType = 5 -) - -// Enum value maps for BulletType. -var ( - BulletType_name = map[int32]string{ - 0: "NULL_BULLET_TYPE", - 1: "FLYING_KNIFE", - 2: "COMMON_ATTACK_OF_TRICKER", - 3: "BOMB_BOMB", - 4: "JUMPY_DUMPTY", - 5: "ATOM_BOMB", - } - BulletType_value = map[string]int32{ - "NULL_BULLET_TYPE": 0, - "FLYING_KNIFE": 1, - "COMMON_ATTACK_OF_TRICKER": 2, - "BOMB_BOMB": 3, - "JUMPY_DUMPTY": 4, - "ATOM_BOMB": 5, - } -) - -func (x BulletType) Enum() *BulletType { - p := new(BulletType) - *p = x - return p -} - -func (x BulletType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BulletType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[0].Descriptor() -} - -func (BulletType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[0] -} - -func (x BulletType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use BulletType.Descriptor instead. -func (BulletType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{0} -} - -type PlaceType int32 - -const ( - PlaceType_NULL_PLACE_TYPE PlaceType = 0 - // 地图情况,其中Gate是总体的大门,HiddenGate是地窖 - PlaceType_LAND PlaceType = 1 - PlaceType_WALL PlaceType = 2 - PlaceType_GRASS PlaceType = 3 - PlaceType_CLASSROOM PlaceType = 4 - PlaceType_GATE PlaceType = 5 - PlaceType_HIDDEN_GATE PlaceType = 6 - PlaceType_WINDOW PlaceType = 7 - PlaceType_DOOR3 PlaceType = 8 - PlaceType_DOOR5 PlaceType = 9 - PlaceType_DOOR6 PlaceType = 10 - PlaceType_CHEST PlaceType = 11 // 待补充有特殊效果的地形 -) - -// Enum value maps for PlaceType. -var ( - PlaceType_name = map[int32]string{ - 0: "NULL_PLACE_TYPE", - 1: "LAND", - 2: "WALL", - 3: "GRASS", - 4: "CLASSROOM", - 5: "GATE", - 6: "HIDDEN_GATE", - 7: "WINDOW", - 8: "DOOR3", - 9: "DOOR5", - 10: "DOOR6", - 11: "CHEST", - } - PlaceType_value = map[string]int32{ - "NULL_PLACE_TYPE": 0, - "LAND": 1, - "WALL": 2, - "GRASS": 3, - "CLASSROOM": 4, - "GATE": 5, - "HIDDEN_GATE": 6, - "WINDOW": 7, - "DOOR3": 8, - "DOOR5": 9, - "DOOR6": 10, - "CHEST": 11, - } -) - -func (x PlaceType) Enum() *PlaceType { - p := new(PlaceType) - *p = x - return p -} - -func (x PlaceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PlaceType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[1].Descriptor() -} - -func (PlaceType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[1] -} - -func (x PlaceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PlaceType.Descriptor instead. -func (PlaceType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{1} -} - -type ShapeType int32 - -const ( - ShapeType_NULL_SHAPE_TYPE ShapeType = 0 - ShapeType_CIRCLE ShapeType = 1 // 人类、屠夫、可拾取道具等为圆形 - ShapeType_SQUARE ShapeType = 2 // 地形均为方形 -) - -// Enum value maps for ShapeType. -var ( - ShapeType_name = map[int32]string{ - 0: "NULL_SHAPE_TYPE", - 1: "CIRCLE", - 2: "SQUARE", - } - ShapeType_value = map[string]int32{ - "NULL_SHAPE_TYPE": 0, - "CIRCLE": 1, - "SQUARE": 2, - } -) - -func (x ShapeType) Enum() *ShapeType { - p := new(ShapeType) - *p = x - return p -} - -func (x ShapeType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ShapeType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[2].Descriptor() -} - -func (ShapeType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[2] -} - -func (x ShapeType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ShapeType.Descriptor instead. -func (ShapeType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{2} -} - -type PropType int32 - -const ( - PropType_NULL_PROP_TYPE PropType = 0 - PropType_ADD_SPEED PropType = 1 - PropType_ADD_LIFE_OR_CLAIRAUDIENCE PropType = 2 - PropType_ADD_HP_OR_AP PropType = 3 - PropType_SHIELD_OR_SPEAR PropType = 4 - PropType_KEY3 PropType = 5 - PropType_KEY5 PropType = 6 - PropType_KEY6 PropType = 7 - PropType_RECOVERY_FROM_DIZZINESS PropType = 8 -) - -// Enum value maps for PropType. -var ( - PropType_name = map[int32]string{ - 0: "NULL_PROP_TYPE", - 1: "ADD_SPEED", - 2: "ADD_LIFE_OR_CLAIRAUDIENCE", - 3: "ADD_HP_OR_AP", - 4: "SHIELD_OR_SPEAR", - 5: "KEY3", - 6: "KEY5", - 7: "KEY6", - 8: "RECOVERY_FROM_DIZZINESS", - } - PropType_value = map[string]int32{ - "NULL_PROP_TYPE": 0, - "ADD_SPEED": 1, - "ADD_LIFE_OR_CLAIRAUDIENCE": 2, - "ADD_HP_OR_AP": 3, - "SHIELD_OR_SPEAR": 4, - "KEY3": 5, - "KEY5": 6, - "KEY6": 7, - "RECOVERY_FROM_DIZZINESS": 8, - } -) - -func (x PropType) Enum() *PropType { - p := new(PropType) - *p = x - return p -} - -func (x PropType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PropType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[3].Descriptor() -} - -func (PropType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[3] -} - -func (x PropType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PropType.Descriptor instead. -func (PropType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{3} -} - -type StudentBuffType int32 - -const ( - StudentBuffType_NULL_SBUFF_TYPE StudentBuffType = 0 - StudentBuffType_STUDENT_ADD_SPEED StudentBuffType = 1 - StudentBuffType_ADD_LIFE StudentBuffType = 2 - StudentBuffType_SHIELD StudentBuffType = 3 - StudentBuffType_STUDENT_INVISIBLE StudentBuffType = 4 -) - -// Enum value maps for StudentBuffType. -var ( - StudentBuffType_name = map[int32]string{ - 0: "NULL_SBUFF_TYPE", - 1: "STUDENT_ADD_SPEED", - 2: "ADD_LIFE", - 3: "SHIELD", - 4: "STUDENT_INVISIBLE", - } - StudentBuffType_value = map[string]int32{ - "NULL_SBUFF_TYPE": 0, - "STUDENT_ADD_SPEED": 1, - "ADD_LIFE": 2, - "SHIELD": 3, - "STUDENT_INVISIBLE": 4, - } -) - -func (x StudentBuffType) Enum() *StudentBuffType { - p := new(StudentBuffType) - *p = x - return p -} - -func (x StudentBuffType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (StudentBuffType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[4].Descriptor() -} - -func (StudentBuffType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[4] -} - -func (x StudentBuffType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use StudentBuffType.Descriptor instead. -func (StudentBuffType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{4} -} - -type PlayerState int32 - -const ( - PlayerState_NULL_STATUS PlayerState = 0 - PlayerState_IDLE PlayerState = 1 // 正常状态 - PlayerState_LEARNING PlayerState = 2 // 学习状态,相当于在修机器 - PlayerState_ADDICTED PlayerState = 3 // 血条归零后原地沉迷游戏 - PlayerState_QUIT PlayerState = 4 // 退学状态,相当于寄了 - PlayerState_GRADUATED PlayerState = 5 // 毕业状态,相当于逃脱了 - PlayerState_TREATED PlayerState = 6 - PlayerState_RESCUED PlayerState = 7 - PlayerState_STUNNED PlayerState = 8 - PlayerState_TREATING PlayerState = 9 - PlayerState_RESCUING PlayerState = 10 - PlayerState_SWINGING PlayerState = 11 // 后摇 - PlayerState_ATTACKING PlayerState = 12 // 前摇 - PlayerState_LOCKING PlayerState = 13 - PlayerState_RUMMAGING PlayerState = 14 - PlayerState_CLIMBING PlayerState = 15 // 翻窗 - PlayerState_OPENING_A_CHEST PlayerState = 16 - PlayerState_USING_SPECIAL_SKILL PlayerState = 17 - PlayerState_OPENING_A_GATE PlayerState = 18 -) - -// Enum value maps for PlayerState. -var ( - PlayerState_name = map[int32]string{ - 0: "NULL_STATUS", - 1: "IDLE", - 2: "LEARNING", - 3: "ADDICTED", - 4: "QUIT", - 5: "GRADUATED", - 6: "TREATED", - 7: "RESCUED", - 8: "STUNNED", - 9: "TREATING", - 10: "RESCUING", - 11: "SWINGING", - 12: "ATTACKING", - 13: "LOCKING", - 14: "RUMMAGING", - 15: "CLIMBING", - 16: "OPENING_A_CHEST", - 17: "USING_SPECIAL_SKILL", - 18: "OPENING_A_GATE", - } - PlayerState_value = map[string]int32{ - "NULL_STATUS": 0, - "IDLE": 1, - "LEARNING": 2, - "ADDICTED": 3, - "QUIT": 4, - "GRADUATED": 5, - "TREATED": 6, - "RESCUED": 7, - "STUNNED": 8, - "TREATING": 9, - "RESCUING": 10, - "SWINGING": 11, - "ATTACKING": 12, - "LOCKING": 13, - "RUMMAGING": 14, - "CLIMBING": 15, - "OPENING_A_CHEST": 16, - "USING_SPECIAL_SKILL": 17, - "OPENING_A_GATE": 18, - } -) - -func (x PlayerState) Enum() *PlayerState { - p := new(PlayerState) - *p = x - return p -} - -func (x PlayerState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PlayerState) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[5].Descriptor() -} - -func (PlayerState) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[5] -} - -func (x PlayerState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PlayerState.Descriptor instead. -func (PlayerState) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{5} -} - -type TrickerBuffType int32 - -const ( - TrickerBuffType_NULL_TBUFF_TYPE TrickerBuffType = 0 - TrickerBuffType_TRICKER_ADD_SPEED TrickerBuffType = 1 - TrickerBuffType_SPEAR TrickerBuffType = 2 - TrickerBuffType_ADD_AP TrickerBuffType = 3 - TrickerBuffType_CLAIRAUDIENCE TrickerBuffType = 4 - TrickerBuffType_TRICKER_INVISIBLE TrickerBuffType = 5 -) - -// Enum value maps for TrickerBuffType. -var ( - TrickerBuffType_name = map[int32]string{ - 0: "NULL_TBUFF_TYPE", - 1: "TRICKER_ADD_SPEED", - 2: "SPEAR", - 3: "ADD_AP", - 4: "CLAIRAUDIENCE", - 5: "TRICKER_INVISIBLE", - } - TrickerBuffType_value = map[string]int32{ - "NULL_TBUFF_TYPE": 0, - "TRICKER_ADD_SPEED": 1, - "SPEAR": 2, - "ADD_AP": 3, - "CLAIRAUDIENCE": 4, - "TRICKER_INVISIBLE": 5, - } -) - -func (x TrickerBuffType) Enum() *TrickerBuffType { - p := new(TrickerBuffType) - *p = x - return p -} - -func (x TrickerBuffType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TrickerBuffType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[6].Descriptor() -} - -func (TrickerBuffType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[6] -} - -func (x TrickerBuffType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TrickerBuffType.Descriptor instead. -func (TrickerBuffType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{6} -} - -type PlayerType int32 - -const ( - PlayerType_NULL_PLAYER_TYPE PlayerType = 0 - PlayerType_STUDENT_PLAYER PlayerType = 1 - PlayerType_TRICKER_PLAYER PlayerType = 2 -) - -// Enum value maps for PlayerType. -var ( - PlayerType_name = map[int32]string{ - 0: "NULL_PLAYER_TYPE", - 1: "STUDENT_PLAYER", - 2: "TRICKER_PLAYER", - } - PlayerType_value = map[string]int32{ - "NULL_PLAYER_TYPE": 0, - "STUDENT_PLAYER": 1, - "TRICKER_PLAYER": 2, - } -) - -func (x PlayerType) Enum() *PlayerType { - p := new(PlayerType) - *p = x - return p -} - -func (x PlayerType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PlayerType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[7].Descriptor() -} - -func (PlayerType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[7] -} - -func (x PlayerType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PlayerType.Descriptor instead. -func (PlayerType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{7} -} - -type StudentType int32 - -const ( - StudentType_NULL_STUDENT_TYPE StudentType = 0 - StudentType_ATHLETE StudentType = 1 - StudentType_TEACHER StudentType = 2 - StudentType_STRAIGHT_A_STUDENT StudentType = 3 - StudentType_ROBOT StudentType = 4 - StudentType_TECH_OTAKU StudentType = 5 - StudentType_SUNSHINE StudentType = 6 -) - -// Enum value maps for StudentType. -var ( - StudentType_name = map[int32]string{ - 0: "NULL_STUDENT_TYPE", - 1: "ATHLETE", - 2: "TEACHER", - 3: "STRAIGHT_A_STUDENT", - 4: "ROBOT", - 5: "TECH_OTAKU", - 6: "SUNSHINE", - } - StudentType_value = map[string]int32{ - "NULL_STUDENT_TYPE": 0, - "ATHLETE": 1, - "TEACHER": 2, - "STRAIGHT_A_STUDENT": 3, - "ROBOT": 4, - "TECH_OTAKU": 5, - "SUNSHINE": 6, - } -) - -func (x StudentType) Enum() *StudentType { - p := new(StudentType) - *p = x - return p -} - -func (x StudentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (StudentType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[8].Descriptor() -} - -func (StudentType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[8] -} - -func (x StudentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use StudentType.Descriptor instead. -func (StudentType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{8} -} - -type TrickerType int32 - -const ( - TrickerType_NULL_TRICKER_TYPE TrickerType = 0 - TrickerType_ASSASSIN TrickerType = 1 - TrickerType_KLEE TrickerType = 2 - TrickerType_A_NOISY_PERSON TrickerType = 3 - TrickerType_IDOL TrickerType = 4 -) - -// Enum value maps for TrickerType. -var ( - TrickerType_name = map[int32]string{ - 0: "NULL_TRICKER_TYPE", - 1: "ASSASSIN", - 2: "KLEE", - 3: "A_NOISY_PERSON", - 4: "IDOL", - } - TrickerType_value = map[string]int32{ - "NULL_TRICKER_TYPE": 0, - "ASSASSIN": 1, - "KLEE": 2, - "A_NOISY_PERSON": 3, - "IDOL": 4, - } -) - -func (x TrickerType) Enum() *TrickerType { - p := new(TrickerType) - *p = x - return p -} - -func (x TrickerType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TrickerType) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[9].Descriptor() -} - -func (TrickerType) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[9] -} - -func (x TrickerType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TrickerType.Descriptor instead. -func (TrickerType) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{9} -} - -// 游戏进行状态 -type GameState int32 - -const ( - GameState_NULL_GAME_STATE GameState = 0 - GameState_GAME_START GameState = 1 - GameState_GAME_RUNNING GameState = 2 - GameState_GAME_END GameState = 3 -) - -// Enum value maps for GameState. -var ( - GameState_name = map[int32]string{ - 0: "NULL_GAME_STATE", - 1: "GAME_START", - 2: "GAME_RUNNING", - 3: "GAME_END", - } - GameState_value = map[string]int32{ - "NULL_GAME_STATE": 0, - "GAME_START": 1, - "GAME_RUNNING": 2, - "GAME_END": 3, - } -) - -func (x GameState) Enum() *GameState { - p := new(GameState) - *p = x - return p -} - -func (x GameState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GameState) Descriptor() protoreflect.EnumDescriptor { - return file_MessageType_proto_enumTypes[10].Descriptor() -} - -func (GameState) Type() protoreflect.EnumType { - return &file_MessageType_proto_enumTypes[10] -} - -func (x GameState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GameState.Descriptor instead. -func (GameState) EnumDescriptor() ([]byte, []int) { - return file_MessageType_proto_rawDescGZIP(), []int{10} -} - -var File_MessageType_proto protoreflect.FileDescriptor - -var file_MessageType_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2a, 0x82, 0x01, - 0x0a, 0x0a, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, - 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x42, 0x55, 0x4c, 0x4c, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x5f, 0x4b, 0x4e, 0x49, - 0x46, 0x45, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x5f, 0x41, - 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x46, 0x5f, 0x54, 0x52, 0x49, 0x43, 0x4b, 0x45, 0x52, - 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4f, 0x4d, 0x42, 0x5f, 0x42, 0x4f, 0x4d, 0x42, 0x10, - 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4a, 0x55, 0x4d, 0x50, 0x59, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x54, - 0x59, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x4f, 0x4d, 0x5f, 0x42, 0x4f, 0x4d, 0x42, - 0x10, 0x05, 0x2a, 0xa1, 0x01, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x41, 0x4e, 0x44, 0x10, 0x01, 0x12, - 0x08, 0x0a, 0x04, 0x57, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x41, - 0x53, 0x53, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x52, 0x4f, 0x4f, - 0x4d, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x41, 0x54, 0x45, 0x10, 0x05, 0x12, 0x0f, 0x0a, - 0x0b, 0x48, 0x49, 0x44, 0x44, 0x45, 0x4e, 0x5f, 0x47, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x0a, - 0x0a, 0x06, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x4f, - 0x4f, 0x52, 0x33, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x4f, 0x4f, 0x52, 0x35, 0x10, 0x09, - 0x12, 0x09, 0x0a, 0x05, 0x44, 0x4f, 0x4f, 0x52, 0x36, 0x10, 0x0a, 0x12, 0x09, 0x0a, 0x05, 0x43, - 0x48, 0x45, 0x53, 0x54, 0x10, 0x0b, 0x2a, 0x38, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x70, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x53, 0x48, 0x41, 0x50, - 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x49, 0x52, 0x43, - 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x51, 0x55, 0x41, 0x52, 0x45, 0x10, 0x02, - 0x2a, 0xae, 0x01, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, - 0x0e, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, - 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x44, 0x44, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x44, 0x44, 0x5f, 0x4c, 0x49, 0x46, 0x45, 0x5f, 0x4f, 0x52, 0x5f, - 0x43, 0x4c, 0x41, 0x49, 0x52, 0x41, 0x55, 0x44, 0x49, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x02, 0x12, - 0x10, 0x0a, 0x0c, 0x41, 0x44, 0x44, 0x5f, 0x48, 0x50, 0x5f, 0x4f, 0x52, 0x5f, 0x41, 0x50, 0x10, - 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x48, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4f, 0x52, 0x5f, 0x53, - 0x50, 0x45, 0x41, 0x52, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x4b, 0x45, 0x59, 0x33, 0x10, 0x05, - 0x12, 0x08, 0x0a, 0x04, 0x4b, 0x45, 0x59, 0x35, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x4b, 0x45, - 0x59, 0x36, 0x10, 0x07, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, - 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x44, 0x49, 0x5a, 0x5a, 0x49, 0x4e, 0x45, 0x53, 0x53, 0x10, - 0x08, 0x2a, 0x6e, 0x0a, 0x0f, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x66, 0x66, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x53, 0x42, 0x55, - 0x46, 0x46, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x55, - 0x44, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, 0x44, 0x5f, 0x4c, 0x49, 0x46, 0x45, 0x10, 0x02, 0x12, 0x0a, - 0x0a, 0x06, 0x53, 0x48, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, - 0x55, 0x44, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, - 0x04, 0x2a, 0xa9, 0x02, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, - 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, - 0x4c, 0x45, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, - 0x44, 0x49, 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x51, 0x55, 0x49, 0x54, - 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x52, 0x41, 0x44, 0x55, 0x41, 0x54, 0x45, 0x44, 0x10, - 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, - 0x0a, 0x07, 0x52, 0x45, 0x53, 0x43, 0x55, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x53, - 0x54, 0x55, 0x4e, 0x4e, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x52, 0x45, 0x41, - 0x54, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x43, 0x55, 0x49, - 0x4e, 0x47, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x57, 0x49, 0x4e, 0x47, 0x49, 0x4e, 0x47, - 0x10, 0x0b, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x49, 0x4e, 0x47, 0x10, - 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x4f, 0x43, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x0d, 0x12, 0x0d, - 0x0a, 0x09, 0x52, 0x55, 0x4d, 0x4d, 0x41, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x0e, 0x12, 0x0c, 0x0a, - 0x08, 0x43, 0x4c, 0x49, 0x4d, 0x42, 0x49, 0x4e, 0x47, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x4f, - 0x50, 0x45, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x10, 0x10, - 0x12, 0x17, 0x0a, 0x13, 0x55, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x50, 0x45, 0x43, 0x49, 0x41, - 0x4c, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x10, 0x11, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x50, 0x45, - 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x5f, 0x47, 0x41, 0x54, 0x45, 0x10, 0x12, 0x2a, 0x7e, 0x0a, - 0x0f, 0x54, 0x72, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x54, 0x42, 0x55, 0x46, 0x46, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x52, 0x49, 0x43, 0x4b, 0x45, 0x52, - 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, - 0x53, 0x50, 0x45, 0x41, 0x52, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x44, 0x44, 0x5f, 0x41, - 0x50, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4c, 0x41, 0x49, 0x52, 0x41, 0x55, 0x44, 0x49, - 0x45, 0x4e, 0x43, 0x45, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x52, 0x49, 0x43, 0x4b, 0x45, - 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x2a, 0x4a, 0x0a, - 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4e, - 0x55, 0x4c, 0x4c, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, - 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x55, 0x44, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x4c, 0x41, - 0x59, 0x45, 0x52, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x52, 0x49, 0x43, 0x4b, 0x45, 0x52, - 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x10, 0x02, 0x2a, 0x7f, 0x0a, 0x0b, 0x53, 0x74, 0x75, - 0x64, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x55, 0x4c, 0x4c, - 0x5f, 0x53, 0x54, 0x55, 0x44, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, - 0x0b, 0x0a, 0x07, 0x41, 0x54, 0x48, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, - 0x54, 0x45, 0x41, 0x43, 0x48, 0x45, 0x52, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x52, - 0x41, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x41, 0x5f, 0x53, 0x54, 0x55, 0x44, 0x45, 0x4e, 0x54, 0x10, - 0x03, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x4f, 0x42, 0x4f, 0x54, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, - 0x54, 0x45, 0x43, 0x48, 0x5f, 0x4f, 0x54, 0x41, 0x4b, 0x55, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, - 0x53, 0x55, 0x4e, 0x53, 0x48, 0x49, 0x4e, 0x45, 0x10, 0x06, 0x2a, 0x5a, 0x0a, 0x0b, 0x54, 0x72, - 0x69, 0x63, 0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x55, 0x4c, - 0x4c, 0x5f, 0x54, 0x52, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x53, 0x53, 0x41, 0x53, 0x53, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x08, - 0x0a, 0x04, 0x4b, 0x4c, 0x45, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x5f, 0x4e, 0x4f, - 0x49, 0x53, 0x59, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, - 0x49, 0x44, 0x4f, 0x4c, 0x10, 0x04, 0x2a, 0x50, 0x0a, 0x09, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x47, 0x41, 0x4d, 0x45, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x41, 0x4d, 0x45, - 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x41, 0x4d, 0x45, - 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x41, - 0x4d, 0x45, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x42, 0x6f, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x0d, 0x6a, 0x6f, - 0x62, 0x2d, 0x41, 0x50, 0x49, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x03, 0x50, 0x58, - 0x58, 0xaa, 0x02, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xca, 0x02, 0x08, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xe2, 0x02, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_MessageType_proto_rawDescOnce sync.Once - file_MessageType_proto_rawDescData = file_MessageType_proto_rawDesc -) - -func file_MessageType_proto_rawDescGZIP() []byte { - file_MessageType_proto_rawDescOnce.Do(func() { - file_MessageType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MessageType_proto_rawDescData) - }) - return file_MessageType_proto_rawDescData -} - -var file_MessageType_proto_enumTypes = make([]protoimpl.EnumInfo, 11) -var file_MessageType_proto_goTypes = []interface{}{ - (BulletType)(0), // 0: protobuf.BulletType - (PlaceType)(0), // 1: protobuf.PlaceType - (ShapeType)(0), // 2: protobuf.ShapeType - (PropType)(0), // 3: protobuf.PropType - (StudentBuffType)(0), // 4: protobuf.StudentBuffType - (PlayerState)(0), // 5: protobuf.PlayerState - (TrickerBuffType)(0), // 6: protobuf.TrickerBuffType - (PlayerType)(0), // 7: protobuf.PlayerType - (StudentType)(0), // 8: protobuf.StudentType - (TrickerType)(0), // 9: protobuf.TrickerType - (GameState)(0), // 10: protobuf.GameState -} -var file_MessageType_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_MessageType_proto_init() } -func file_MessageType_proto_init() { - if File_MessageType_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_MessageType_proto_rawDesc, - NumEnums: 11, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_MessageType_proto_goTypes, - DependencyIndexes: file_MessageType_proto_depIdxs, - EnumInfos: file_MessageType_proto_enumTypes, - }.Build() - File_MessageType_proto = out.File - file_MessageType_proto_rawDesc = nil - file_MessageType_proto_goTypes = nil - file_MessageType_proto_depIdxs = nil -} diff --git a/experimental/CAPI/go/API/proto/Services.pb.go b/experimental/CAPI/go/API/proto/Services.pb.go deleted file mode 100644 index 0da16b8..0000000 --- a/experimental/CAPI/go/API/proto/Services.pb.go +++ /dev/null @@ -1,186 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc (unknown) -// source: Services.proto - -package proto - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -var File_Services_proto protoreflect.FileDescriptor - -var file_Services_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x15, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x32, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x80, 0x08, 0x0a, 0x10, 0x41, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x0d, - 0x54, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, - 0x73, 0x12, 0x3d, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x13, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x4d, 0x73, 0x67, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x30, 0x01, - 0x12, 0x2c, 0x0a, 0x04, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x12, 0x30, - 0x0a, 0x08, 0x50, 0x69, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, - 0x12, 0x2f, 0x0a, 0x07, 0x55, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x11, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x1a, 0x11, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, - 0x73, 0x12, 0x31, 0x0a, 0x09, 0x54, 0x68, 0x72, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x11, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x73, - 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, - 0x6c, 0x52, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, - 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6b, 0x69, 0x6c, - 0x6c, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x0d, - 0x53, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x65, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, - 0x73, 0x12, 0x41, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x63, 0x75, 0x65, - 0x4d, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x72, 0x65, 0x61, 0x74, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x63, 0x75, 0x65, 0x4d, 0x73, - 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, - 0x6c, 0x52, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x65, - 0x61, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x74, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x63, 0x75, 0x65, - 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, - 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x06, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, - 0x12, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x74, 0x74, 0x61, - 0x63, 0x6b, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x08, 0x47, 0x72, 0x61, 0x64, - 0x75, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x6e, - 0x44, 0x6f, 0x6f, 0x72, 0x12, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x09, 0x43, 0x6c, 0x6f, 0x73, - 0x65, 0x44, 0x6f, 0x6f, 0x72, 0x12, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x0a, 0x53, 0x6b, 0x69, - 0x70, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x0d, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x47, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, - 0x12, 0x34, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x65, - 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x44, - 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, - 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x45, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x49, 0x44, 0x4d, 0x73, 0x67, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x42, 0x6c, 0x0a, 0x0c, 0x63, 0x6f, - 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0d, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x0d, 0x6a, 0x6f, 0x62, - 0x2d, 0x41, 0x50, 0x49, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, - 0xaa, 0x02, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xca, 0x02, 0x08, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0xe2, 0x02, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_Services_proto_goTypes = []interface{}{ - (*IDMsg)(nil), // 0: protobuf.IDMsg - (*PlayerMsg)(nil), // 1: protobuf.PlayerMsg - (*MoveMsg)(nil), // 2: protobuf.MoveMsg - (*PropMsg)(nil), // 3: protobuf.PropMsg - (*SkillMsg)(nil), // 4: protobuf.SkillMsg - (*SendMsg)(nil), // 5: protobuf.SendMsg - (*TreatAndRescueMsg)(nil), // 6: protobuf.TreatAndRescueMsg - (*AttackMsg)(nil), // 7: protobuf.AttackMsg - (*BoolRes)(nil), // 8: protobuf.BoolRes - (*MessageToClient)(nil), // 9: protobuf.MessageToClient - (*MoveRes)(nil), // 10: protobuf.MoveRes -} -var file_Services_proto_depIdxs = []int32{ - 0, // 0: protobuf.AvailableService.TryConnection:input_type -> protobuf.IDMsg - 1, // 1: protobuf.AvailableService.AddPlayer:input_type -> protobuf.PlayerMsg - 2, // 2: protobuf.AvailableService.Move:input_type -> protobuf.MoveMsg - 3, // 3: protobuf.AvailableService.PickProp:input_type -> protobuf.PropMsg - 3, // 4: protobuf.AvailableService.UseProp:input_type -> protobuf.PropMsg - 3, // 5: protobuf.AvailableService.ThrowProp:input_type -> protobuf.PropMsg - 4, // 6: protobuf.AvailableService.UseSkill:input_type -> protobuf.SkillMsg - 5, // 7: protobuf.AvailableService.SendMessage:input_type -> protobuf.SendMsg - 0, // 8: protobuf.AvailableService.StartLearning:input_type -> protobuf.IDMsg - 6, // 9: protobuf.AvailableService.StartRescueMate:input_type -> protobuf.TreatAndRescueMsg - 6, // 10: protobuf.AvailableService.StartTreatMate:input_type -> protobuf.TreatAndRescueMsg - 7, // 11: protobuf.AvailableService.Attack:input_type -> protobuf.AttackMsg - 0, // 12: protobuf.AvailableService.Graduate:input_type -> protobuf.IDMsg - 0, // 13: protobuf.AvailableService.OpenDoor:input_type -> protobuf.IDMsg - 0, // 14: protobuf.AvailableService.CloseDoor:input_type -> protobuf.IDMsg - 0, // 15: protobuf.AvailableService.SkipWindow:input_type -> protobuf.IDMsg - 0, // 16: protobuf.AvailableService.StartOpenGate:input_type -> protobuf.IDMsg - 0, // 17: protobuf.AvailableService.StartOpenChest:input_type -> protobuf.IDMsg - 0, // 18: protobuf.AvailableService.EndAllAction:input_type -> protobuf.IDMsg - 8, // 19: protobuf.AvailableService.TryConnection:output_type -> protobuf.BoolRes - 9, // 20: protobuf.AvailableService.AddPlayer:output_type -> protobuf.MessageToClient - 10, // 21: protobuf.AvailableService.Move:output_type -> protobuf.MoveRes - 8, // 22: protobuf.AvailableService.PickProp:output_type -> protobuf.BoolRes - 8, // 23: protobuf.AvailableService.UseProp:output_type -> protobuf.BoolRes - 8, // 24: protobuf.AvailableService.ThrowProp:output_type -> protobuf.BoolRes - 8, // 25: protobuf.AvailableService.UseSkill:output_type -> protobuf.BoolRes - 8, // 26: protobuf.AvailableService.SendMessage:output_type -> protobuf.BoolRes - 8, // 27: protobuf.AvailableService.StartLearning:output_type -> protobuf.BoolRes - 8, // 28: protobuf.AvailableService.StartRescueMate:output_type -> protobuf.BoolRes - 8, // 29: protobuf.AvailableService.StartTreatMate:output_type -> protobuf.BoolRes - 8, // 30: protobuf.AvailableService.Attack:output_type -> protobuf.BoolRes - 8, // 31: protobuf.AvailableService.Graduate:output_type -> protobuf.BoolRes - 8, // 32: protobuf.AvailableService.OpenDoor:output_type -> protobuf.BoolRes - 8, // 33: protobuf.AvailableService.CloseDoor:output_type -> protobuf.BoolRes - 8, // 34: protobuf.AvailableService.SkipWindow:output_type -> protobuf.BoolRes - 8, // 35: protobuf.AvailableService.StartOpenGate:output_type -> protobuf.BoolRes - 8, // 36: protobuf.AvailableService.StartOpenChest:output_type -> protobuf.BoolRes - 8, // 37: protobuf.AvailableService.EndAllAction:output_type -> protobuf.BoolRes - 19, // [19:38] is the sub-list for method output_type - 0, // [0:19] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_Services_proto_init() } -func file_Services_proto_init() { - if File_Services_proto != nil { - return - } - file_Message2Clients_proto_init() - file_Message2Server_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_Services_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_Services_proto_goTypes, - DependencyIndexes: file_Services_proto_depIdxs, - }.Build() - File_Services_proto = out.File - file_Services_proto_rawDesc = nil - file_Services_proto_goTypes = nil - file_Services_proto_depIdxs = nil -} diff --git a/experimental/CAPI/go/API/proto/Services_grpc.pb.go b/experimental/CAPI/go/API/proto/Services_grpc.pb.go deleted file mode 100644 index ea72144..0000000 --- a/experimental/CAPI/go/API/proto/Services_grpc.pb.go +++ /dev/null @@ -1,785 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc (unknown) -// source: Services.proto - -package proto - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// AvailableServiceClient is the client API for AvailableService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type AvailableServiceClient interface { - TryConnection(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - // 游戏开局调用一次的服务 - AddPlayer(ctx context.Context, in *PlayerMsg, opts ...grpc.CallOption) (AvailableService_AddPlayerClient, error) - // 游戏过程中玩家执行操作的服务 - Move(ctx context.Context, in *MoveMsg, opts ...grpc.CallOption) (*MoveRes, error) - PickProp(ctx context.Context, in *PropMsg, opts ...grpc.CallOption) (*BoolRes, error) - UseProp(ctx context.Context, in *PropMsg, opts ...grpc.CallOption) (*BoolRes, error) - ThrowProp(ctx context.Context, in *PropMsg, opts ...grpc.CallOption) (*BoolRes, error) - UseSkill(ctx context.Context, in *SkillMsg, opts ...grpc.CallOption) (*BoolRes, error) - SendMessage(ctx context.Context, in *SendMsg, opts ...grpc.CallOption) (*BoolRes, error) - // rpc GetMessage (IDMsg) returns (stream MsgRes); - StartLearning(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - StartRescueMate(ctx context.Context, in *TreatAndRescueMsg, opts ...grpc.CallOption) (*BoolRes, error) - StartTreatMate(ctx context.Context, in *TreatAndRescueMsg, opts ...grpc.CallOption) (*BoolRes, error) - Attack(ctx context.Context, in *AttackMsg, opts ...grpc.CallOption) (*BoolRes, error) - Graduate(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - OpenDoor(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - CloseDoor(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - SkipWindow(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - StartOpenGate(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - StartOpenChest(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) - EndAllAction(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) -} - -type availableServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAvailableServiceClient(cc grpc.ClientConnInterface) AvailableServiceClient { - return &availableServiceClient{cc} -} - -func (c *availableServiceClient) TryConnection(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/TryConnection", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) AddPlayer(ctx context.Context, in *PlayerMsg, opts ...grpc.CallOption) (AvailableService_AddPlayerClient, error) { - stream, err := c.cc.NewStream(ctx, &AvailableService_ServiceDesc.Streams[0], "/protobuf.AvailableService/AddPlayer", opts...) - if err != nil { - return nil, err - } - x := &availableServiceAddPlayerClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type AvailableService_AddPlayerClient interface { - Recv() (*MessageToClient, error) - grpc.ClientStream -} - -type availableServiceAddPlayerClient struct { - grpc.ClientStream -} - -func (x *availableServiceAddPlayerClient) Recv() (*MessageToClient, error) { - m := new(MessageToClient) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *availableServiceClient) Move(ctx context.Context, in *MoveMsg, opts ...grpc.CallOption) (*MoveRes, error) { - out := new(MoveRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/Move", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) PickProp(ctx context.Context, in *PropMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/PickProp", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) UseProp(ctx context.Context, in *PropMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/UseProp", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) ThrowProp(ctx context.Context, in *PropMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/ThrowProp", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) UseSkill(ctx context.Context, in *SkillMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/UseSkill", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) SendMessage(ctx context.Context, in *SendMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/SendMessage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) StartLearning(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/StartLearning", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) StartRescueMate(ctx context.Context, in *TreatAndRescueMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/StartRescueMate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) StartTreatMate(ctx context.Context, in *TreatAndRescueMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/StartTreatMate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) Attack(ctx context.Context, in *AttackMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/Attack", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) Graduate(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/Graduate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) OpenDoor(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/OpenDoor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) CloseDoor(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/CloseDoor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) SkipWindow(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/SkipWindow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) StartOpenGate(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/StartOpenGate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) StartOpenChest(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/StartOpenChest", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *availableServiceClient) EndAllAction(ctx context.Context, in *IDMsg, opts ...grpc.CallOption) (*BoolRes, error) { - out := new(BoolRes) - err := c.cc.Invoke(ctx, "/protobuf.AvailableService/EndAllAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AvailableServiceServer is the server API for AvailableService service. -// All implementations should embed UnimplementedAvailableServiceServer -// for forward compatibility -type AvailableServiceServer interface { - TryConnection(context.Context, *IDMsg) (*BoolRes, error) - // 游戏开局调用一次的服务 - AddPlayer(*PlayerMsg, AvailableService_AddPlayerServer) error - // 游戏过程中玩家执行操作的服务 - Move(context.Context, *MoveMsg) (*MoveRes, error) - PickProp(context.Context, *PropMsg) (*BoolRes, error) - UseProp(context.Context, *PropMsg) (*BoolRes, error) - ThrowProp(context.Context, *PropMsg) (*BoolRes, error) - UseSkill(context.Context, *SkillMsg) (*BoolRes, error) - SendMessage(context.Context, *SendMsg) (*BoolRes, error) - // rpc GetMessage (IDMsg) returns (stream MsgRes); - StartLearning(context.Context, *IDMsg) (*BoolRes, error) - StartRescueMate(context.Context, *TreatAndRescueMsg) (*BoolRes, error) - StartTreatMate(context.Context, *TreatAndRescueMsg) (*BoolRes, error) - Attack(context.Context, *AttackMsg) (*BoolRes, error) - Graduate(context.Context, *IDMsg) (*BoolRes, error) - OpenDoor(context.Context, *IDMsg) (*BoolRes, error) - CloseDoor(context.Context, *IDMsg) (*BoolRes, error) - SkipWindow(context.Context, *IDMsg) (*BoolRes, error) - StartOpenGate(context.Context, *IDMsg) (*BoolRes, error) - StartOpenChest(context.Context, *IDMsg) (*BoolRes, error) - EndAllAction(context.Context, *IDMsg) (*BoolRes, error) -} - -// UnimplementedAvailableServiceServer should be embedded to have forward compatible implementations. -type UnimplementedAvailableServiceServer struct { -} - -func (UnimplementedAvailableServiceServer) TryConnection(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method TryConnection not implemented") -} -func (UnimplementedAvailableServiceServer) AddPlayer(*PlayerMsg, AvailableService_AddPlayerServer) error { - return status.Errorf(codes.Unimplemented, "method AddPlayer not implemented") -} -func (UnimplementedAvailableServiceServer) Move(context.Context, *MoveMsg) (*MoveRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") -} -func (UnimplementedAvailableServiceServer) PickProp(context.Context, *PropMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method PickProp not implemented") -} -func (UnimplementedAvailableServiceServer) UseProp(context.Context, *PropMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method UseProp not implemented") -} -func (UnimplementedAvailableServiceServer) ThrowProp(context.Context, *PropMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ThrowProp not implemented") -} -func (UnimplementedAvailableServiceServer) UseSkill(context.Context, *SkillMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method UseSkill not implemented") -} -func (UnimplementedAvailableServiceServer) SendMessage(context.Context, *SendMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented") -} -func (UnimplementedAvailableServiceServer) StartLearning(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartLearning not implemented") -} -func (UnimplementedAvailableServiceServer) StartRescueMate(context.Context, *TreatAndRescueMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartRescueMate not implemented") -} -func (UnimplementedAvailableServiceServer) StartTreatMate(context.Context, *TreatAndRescueMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartTreatMate not implemented") -} -func (UnimplementedAvailableServiceServer) Attack(context.Context, *AttackMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method Attack not implemented") -} -func (UnimplementedAvailableServiceServer) Graduate(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method Graduate not implemented") -} -func (UnimplementedAvailableServiceServer) OpenDoor(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method OpenDoor not implemented") -} -func (UnimplementedAvailableServiceServer) CloseDoor(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method CloseDoor not implemented") -} -func (UnimplementedAvailableServiceServer) SkipWindow(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method SkipWindow not implemented") -} -func (UnimplementedAvailableServiceServer) StartOpenGate(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartOpenGate not implemented") -} -func (UnimplementedAvailableServiceServer) StartOpenChest(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartOpenChest not implemented") -} -func (UnimplementedAvailableServiceServer) EndAllAction(context.Context, *IDMsg) (*BoolRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method EndAllAction not implemented") -} - -// UnsafeAvailableServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AvailableServiceServer will -// result in compilation errors. -type UnsafeAvailableServiceServer interface { - mustEmbedUnimplementedAvailableServiceServer() -} - -func RegisterAvailableServiceServer(s grpc.ServiceRegistrar, srv AvailableServiceServer) { - s.RegisterService(&AvailableService_ServiceDesc, srv) -} - -func _AvailableService_TryConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).TryConnection(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/TryConnection", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).TryConnection(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_AddPlayer_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(PlayerMsg) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(AvailableServiceServer).AddPlayer(m, &availableServiceAddPlayerServer{stream}) -} - -type AvailableService_AddPlayerServer interface { - Send(*MessageToClient) error - grpc.ServerStream -} - -type availableServiceAddPlayerServer struct { - grpc.ServerStream -} - -func (x *availableServiceAddPlayerServer) Send(m *MessageToClient) error { - return x.ServerStream.SendMsg(m) -} - -func _AvailableService_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).Move(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/Move", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).Move(ctx, req.(*MoveMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_PickProp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PropMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).PickProp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/PickProp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).PickProp(ctx, req.(*PropMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_UseProp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PropMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).UseProp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/UseProp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).UseProp(ctx, req.(*PropMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_ThrowProp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PropMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).ThrowProp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/ThrowProp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).ThrowProp(ctx, req.(*PropMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_UseSkill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SkillMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).UseSkill(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/UseSkill", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).UseSkill(ctx, req.(*SkillMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SendMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).SendMessage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/SendMessage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).SendMessage(ctx, req.(*SendMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_StartLearning_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).StartLearning(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/StartLearning", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).StartLearning(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_StartRescueMate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TreatAndRescueMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).StartRescueMate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/StartRescueMate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).StartRescueMate(ctx, req.(*TreatAndRescueMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_StartTreatMate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TreatAndRescueMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).StartTreatMate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/StartTreatMate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).StartTreatMate(ctx, req.(*TreatAndRescueMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_Attack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttackMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).Attack(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/Attack", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).Attack(ctx, req.(*AttackMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_Graduate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).Graduate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/Graduate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).Graduate(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_OpenDoor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).OpenDoor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/OpenDoor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).OpenDoor(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_CloseDoor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).CloseDoor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/CloseDoor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).CloseDoor(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_SkipWindow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).SkipWindow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/SkipWindow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).SkipWindow(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_StartOpenGate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).StartOpenGate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/StartOpenGate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).StartOpenGate(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_StartOpenChest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).StartOpenChest(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/StartOpenChest", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).StartOpenChest(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -func _AvailableService_EndAllAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IDMsg) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AvailableServiceServer).EndAllAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protobuf.AvailableService/EndAllAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AvailableServiceServer).EndAllAction(ctx, req.(*IDMsg)) - } - return interceptor(ctx, in, info, handler) -} - -// AvailableService_ServiceDesc is the grpc.ServiceDesc for AvailableService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var AvailableService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "protobuf.AvailableService", - HandlerType: (*AvailableServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "TryConnection", - Handler: _AvailableService_TryConnection_Handler, - }, - { - MethodName: "Move", - Handler: _AvailableService_Move_Handler, - }, - { - MethodName: "PickProp", - Handler: _AvailableService_PickProp_Handler, - }, - { - MethodName: "UseProp", - Handler: _AvailableService_UseProp_Handler, - }, - { - MethodName: "ThrowProp", - Handler: _AvailableService_ThrowProp_Handler, - }, - { - MethodName: "UseSkill", - Handler: _AvailableService_UseSkill_Handler, - }, - { - MethodName: "SendMessage", - Handler: _AvailableService_SendMessage_Handler, - }, - { - MethodName: "StartLearning", - Handler: _AvailableService_StartLearning_Handler, - }, - { - MethodName: "StartRescueMate", - Handler: _AvailableService_StartRescueMate_Handler, - }, - { - MethodName: "StartTreatMate", - Handler: _AvailableService_StartTreatMate_Handler, - }, - { - MethodName: "Attack", - Handler: _AvailableService_Attack_Handler, - }, - { - MethodName: "Graduate", - Handler: _AvailableService_Graduate_Handler, - }, - { - MethodName: "OpenDoor", - Handler: _AvailableService_OpenDoor_Handler, - }, - { - MethodName: "CloseDoor", - Handler: _AvailableService_CloseDoor_Handler, - }, - { - MethodName: "SkipWindow", - Handler: _AvailableService_SkipWindow_Handler, - }, - { - MethodName: "StartOpenGate", - Handler: _AvailableService_StartOpenGate_Handler, - }, - { - MethodName: "StartOpenChest", - Handler: _AvailableService_StartOpenChest_Handler, - }, - { - MethodName: "EndAllAction", - Handler: _AvailableService_EndAllAction_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "AddPlayer", - Handler: _AvailableService_AddPlayer_Handler, - ServerStreams: true, - }, - }, - Metadata: "Services.proto", -}