// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc (unknown) // source: dof/messages.proto package pb 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) ) // ClientInitialize 服务端接收到 PlayerEnter 消息后发还给客户端的回执 type ClientInitialize struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"` } func (x *ClientInitialize) Reset() { *x = ClientInitialize{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ClientInitialize) String() string { return protoimpl.X.MessageStringOf(x) } func (*ClientInitialize) ProtoMessage() {} func (x *ClientInitialize) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 ClientInitialize.ProtoReflect.Descriptor instead. func (*ClientInitialize) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{0} } func (x *ClientInitialize) GetCid() int64 { if x != nil { return x.Cid } return 0 } // ClientMessage 客户端发送给服务端的消息类型 type ClientMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Actual: // // *ClientMessage_PlayerEnter // *ClientMessage_LevelPrepared // *ClientMessage_PointFound // *ClientMessage_LevelEnd // *ClientMessage_AllLevelEnd // *ClientMessage_PlayerLeave Actual isClientMessage_Actual `protobuf_oneof:"actual"` } func (x *ClientMessage) Reset() { *x = ClientMessage{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ClientMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*ClientMessage) ProtoMessage() {} func (x *ClientMessage) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 ClientMessage.ProtoReflect.Descriptor instead. func (*ClientMessage) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{1} } func (m *ClientMessage) GetActual() isClientMessage_Actual { if m != nil { return m.Actual } return nil } func (x *ClientMessage) GetPlayerEnter() *PlayerEnter { if x, ok := x.GetActual().(*ClientMessage_PlayerEnter); ok { return x.PlayerEnter } return nil } func (x *ClientMessage) GetLevelPrepared() *LevelPrepared { if x, ok := x.GetActual().(*ClientMessage_LevelPrepared); ok { return x.LevelPrepared } return nil } func (x *ClientMessage) GetPointFound() *PointFound { if x, ok := x.GetActual().(*ClientMessage_PointFound); ok { return x.PointFound } return nil } func (x *ClientMessage) GetLevelEnd() *LevelEnd { if x, ok := x.GetActual().(*ClientMessage_LevelEnd); ok { return x.LevelEnd } return nil } func (x *ClientMessage) GetAllLevelEnd() *AllLevelEnd { if x, ok := x.GetActual().(*ClientMessage_AllLevelEnd); ok { return x.AllLevelEnd } return nil } func (x *ClientMessage) GetPlayerLeave() *PlayerLeave { if x, ok := x.GetActual().(*ClientMessage_PlayerLeave); ok { return x.PlayerLeave } return nil } type isClientMessage_Actual interface { isClientMessage_Actual() } type ClientMessage_PlayerEnter struct { PlayerEnter *PlayerEnter `protobuf:"bytes,1,opt,name=player_enter,json=playerEnter,proto3,oneof"` } type ClientMessage_LevelPrepared struct { LevelPrepared *LevelPrepared `protobuf:"bytes,2,opt,name=level_prepared,json=levelPrepared,proto3,oneof"` } type ClientMessage_PointFound struct { PointFound *PointFound `protobuf:"bytes,3,opt,name=point_found,json=pointFound,proto3,oneof"` } type ClientMessage_LevelEnd struct { LevelEnd *LevelEnd `protobuf:"bytes,4,opt,name=level_end,json=levelEnd,proto3,oneof"` } type ClientMessage_AllLevelEnd struct { AllLevelEnd *AllLevelEnd `protobuf:"bytes,5,opt,name=all_level_end,json=allLevelEnd,proto3,oneof"` } type ClientMessage_PlayerLeave struct { PlayerLeave *PlayerLeave `protobuf:"bytes,6,opt,name=player_leave,json=playerLeave,proto3,oneof"` } func (*ClientMessage_PlayerEnter) isClientMessage_Actual() {} func (*ClientMessage_LevelPrepared) isClientMessage_Actual() {} func (*ClientMessage_PointFound) isClientMessage_Actual() {} func (*ClientMessage_LevelEnd) isClientMessage_Actual() {} func (*ClientMessage_AllLevelEnd) isClientMessage_Actual() {} func (*ClientMessage_PlayerLeave) isClientMessage_Actual() {} // ServerMessage 服务端发送给客户端的消息类型 type ServerMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Actual: // // *ServerMessage_GameStart // *ServerMessage_LevelStart // *ServerMessage_PointFound // *ServerMessage_GameFinish Actual isServerMessage_Actual `protobuf_oneof:"actual"` } func (x *ServerMessage) Reset() { *x = ServerMessage{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 ServerMessage.ProtoReflect.Descriptor instead. func (*ServerMessage) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{2} } func (m *ServerMessage) GetActual() isServerMessage_Actual { if m != nil { return m.Actual } return nil } func (x *ServerMessage) GetGameStart() *GameStart { if x, ok := x.GetActual().(*ServerMessage_GameStart); ok { return x.GameStart } return nil } func (x *ServerMessage) GetLevelStart() *LevelStart { if x, ok := x.GetActual().(*ServerMessage_LevelStart); ok { return x.LevelStart } return nil } func (x *ServerMessage) GetPointFound() *PointFound { if x, ok := x.GetActual().(*ServerMessage_PointFound); ok { return x.PointFound } return nil } func (x *ServerMessage) GetGameFinish() *GameFinish { if x, ok := x.GetActual().(*ServerMessage_GameFinish); ok { return x.GameFinish } return nil } type isServerMessage_Actual interface { isServerMessage_Actual() } type ServerMessage_GameStart struct { GameStart *GameStart `protobuf:"bytes,1,opt,name=game_start,json=gameStart,proto3,oneof"` } type ServerMessage_LevelStart struct { LevelStart *LevelStart `protobuf:"bytes,2,opt,name=level_start,json=levelStart,proto3,oneof"` } type ServerMessage_PointFound struct { PointFound *PointFound `protobuf:"bytes,3,opt,name=point_found,json=pointFound,proto3,oneof"` } type ServerMessage_GameFinish struct { GameFinish *GameFinish `protobuf:"bytes,4,opt,name=game_finish,json=gameFinish,proto3,oneof"` } func (*ServerMessage_GameStart) isServerMessage_Actual() {} func (*ServerMessage_LevelStart) isServerMessage_Actual() {} func (*ServerMessage_PointFound) isServerMessage_Actual() {} func (*ServerMessage_GameFinish) isServerMessage_Actual() {} // PlayerEnter 客户端进入房间 type PlayerEnter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"` } func (x *PlayerEnter) Reset() { *x = PlayerEnter{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PlayerEnter) String() string { return protoimpl.X.MessageStringOf(x) } func (*PlayerEnter) ProtoMessage() {} func (x *PlayerEnter) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 PlayerEnter.ProtoReflect.Descriptor instead. func (*PlayerEnter) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{3} } func (x *PlayerEnter) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *PlayerEnter) GetUid() string { if x != nil { return x.Uid } return "" } func (x *PlayerEnter) GetNickName() string { if x != nil { return x.NickName } return "" } func (x *PlayerEnter) GetCountry() string { if x != nil { return x.Country } return "" } type LevelResource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields LevelId string `protobuf:"bytes,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` AndroidGeneration string `protobuf:"bytes,2,opt,name=android_generation,json=androidGeneration,proto3" json:"android_generation,omitempty"` IosGeneration string `protobuf:"bytes,3,opt,name=ios_generation,json=iosGeneration,proto3" json:"ios_generation,omitempty"` } func (x *LevelResource) Reset() { *x = LevelResource{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LevelResource) String() string { return protoimpl.X.MessageStringOf(x) } func (*LevelResource) ProtoMessage() {} func (x *LevelResource) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 LevelResource.ProtoReflect.Descriptor instead. func (*LevelResource) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{4} } func (x *LevelResource) GetLevelId() string { if x != nil { return x.LevelId } return "" } func (x *LevelResource) GetAndroidGeneration() string { if x != nil { return x.AndroidGeneration } return "" } func (x *LevelResource) GetIosGeneration() string { if x != nil { return x.IosGeneration } return "" } type GameStart struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields LevelResource []*LevelResource `protobuf:"bytes,1,rep,name=level_resource,json=levelResource,proto3" json:"level_resource,omitempty"` } func (x *GameStart) Reset() { *x = GameStart{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GameStart) String() string { return protoimpl.X.MessageStringOf(x) } func (*GameStart) ProtoMessage() {} func (x *GameStart) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 GameStart.ProtoReflect.Descriptor instead. func (*GameStart) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{5} } func (x *GameStart) GetLevelResource() []*LevelResource { if x != nil { return x.LevelResource } return nil } type LevelPrepared struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"` Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"` } func (x *LevelPrepared) Reset() { *x = LevelPrepared{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LevelPrepared) String() string { return protoimpl.X.MessageStringOf(x) } func (*LevelPrepared) ProtoMessage() {} func (x *LevelPrepared) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 LevelPrepared.ProtoReflect.Descriptor instead. func (*LevelPrepared) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{6} } func (x *LevelPrepared) GetCid() int64 { if x != nil { return x.Cid } return 0 } func (x *LevelPrepared) GetLevel() string { if x != nil { return x.Level } return "" } type LevelStart struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` } func (x *LevelStart) Reset() { *x = LevelStart{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LevelStart) String() string { return protoimpl.X.MessageStringOf(x) } func (*LevelStart) ProtoMessage() {} func (x *LevelStart) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 LevelStart.ProtoReflect.Descriptor instead. func (*LevelStart) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{7} } func (x *LevelStart) GetLevel() string { if x != nil { return x.Level } return "" } type PointFound struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"` Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"` PointId int32 `protobuf:"varint,3,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` } func (x *PointFound) Reset() { *x = PointFound{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PointFound) String() string { return protoimpl.X.MessageStringOf(x) } func (*PointFound) ProtoMessage() {} func (x *PointFound) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 PointFound.ProtoReflect.Descriptor instead. func (*PointFound) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{8} } func (x *PointFound) GetCid() int64 { if x != nil { return x.Cid } return 0 } func (x *PointFound) GetLevel() string { if x != nil { return x.Level } return "" } func (x *PointFound) GetPointId() int32 { if x != nil { return x.PointId } return 0 } type LevelEnd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"` Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"` } func (x *LevelEnd) Reset() { *x = LevelEnd{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LevelEnd) String() string { return protoimpl.X.MessageStringOf(x) } func (*LevelEnd) ProtoMessage() {} func (x *LevelEnd) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 LevelEnd.ProtoReflect.Descriptor instead. func (*LevelEnd) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{9} } func (x *LevelEnd) GetCid() int64 { if x != nil { return x.Cid } return 0 } func (x *LevelEnd) GetLevel() string { if x != nil { return x.Level } return "" } type AllLevelEnd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"` } func (x *AllLevelEnd) Reset() { *x = AllLevelEnd{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AllLevelEnd) String() string { return protoimpl.X.MessageStringOf(x) } func (*AllLevelEnd) ProtoMessage() {} func (x *AllLevelEnd) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 AllLevelEnd.ProtoReflect.Descriptor instead. func (*AllLevelEnd) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{10} } func (x *AllLevelEnd) GetCid() int64 { if x != nil { return x.Cid } return 0 } type GameScore struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Score int32 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` } func (x *GameScore) Reset() { *x = GameScore{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GameScore) String() string { return protoimpl.X.MessageStringOf(x) } func (*GameScore) ProtoMessage() {} func (x *GameScore) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 GameScore.ProtoReflect.Descriptor instead. func (*GameScore) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{11} } func (x *GameScore) GetUid() string { if x != nil { return x.Uid } return "" } func (x *GameScore) GetScore() int32 { if x != nil { return x.Score } return 0 } type GameFinish struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Scores []*GameScore `protobuf:"bytes,1,rep,name=scores,proto3" json:"scores,omitempty"` } func (x *GameFinish) Reset() { *x = GameFinish{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GameFinish) String() string { return protoimpl.X.MessageStringOf(x) } func (*GameFinish) ProtoMessage() {} func (x *GameFinish) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 GameFinish.ProtoReflect.Descriptor instead. func (*GameFinish) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{12} } func (x *GameFinish) GetScores() []*GameScore { if x != nil { return x.Scores } return nil } type PlayerLeave struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"` } func (x *PlayerLeave) Reset() { *x = PlayerLeave{} if protoimpl.UnsafeEnabled { mi := &file_dof_messages_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PlayerLeave) String() string { return protoimpl.X.MessageStringOf(x) } func (*PlayerLeave) ProtoMessage() {} func (x *PlayerLeave) ProtoReflect() protoreflect.Message { mi := &file_dof_messages_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 PlayerLeave.ProtoReflect.Descriptor instead. func (*PlayerLeave) Descriptor() ([]byte, []int) { return file_dof_messages_proto_rawDescGZIP(), []int{13} } func (x *PlayerLeave) GetCid() int64 { if x != nil { return x.Cid } return 0 } var File_dof_messages_proto protoreflect.FileDescriptor var file_dof_messages_proto_rawDesc = []byte{ 0x0a, 0x12, 0x64, 0x6f, 0x66, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x64, 0x6f, 0x66, 0x22, 0x24, 0x0a, 0x10, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xde, 0x02, 0x0a, 0x0d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0e, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x36, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x41, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x35, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x22, 0xe6, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x0b, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x0b, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x22, 0x6f, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6f, 0x73, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6f, 0x73, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x09, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x39, 0x0a, 0x0e, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x37, 0x0a, 0x0d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x22, 0x0a, 0x0a, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x4f, 0x0a, 0x0a, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x08, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x33, 0x0a, 0x09, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x34, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_dof_messages_proto_rawDescOnce sync.Once file_dof_messages_proto_rawDescData = file_dof_messages_proto_rawDesc ) func file_dof_messages_proto_rawDescGZIP() []byte { file_dof_messages_proto_rawDescOnce.Do(func() { file_dof_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_dof_messages_proto_rawDescData) }) return file_dof_messages_proto_rawDescData } var file_dof_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_dof_messages_proto_goTypes = []interface{}{ (*ClientInitialize)(nil), // 0: dof.ClientInitialize (*ClientMessage)(nil), // 1: dof.ClientMessage (*ServerMessage)(nil), // 2: dof.ServerMessage (*PlayerEnter)(nil), // 3: dof.PlayerEnter (*LevelResource)(nil), // 4: dof.LevelResource (*GameStart)(nil), // 5: dof.GameStart (*LevelPrepared)(nil), // 6: dof.LevelPrepared (*LevelStart)(nil), // 7: dof.LevelStart (*PointFound)(nil), // 8: dof.PointFound (*LevelEnd)(nil), // 9: dof.LevelEnd (*AllLevelEnd)(nil), // 10: dof.AllLevelEnd (*GameScore)(nil), // 11: dof.GameScore (*GameFinish)(nil), // 12: dof.GameFinish (*PlayerLeave)(nil), // 13: dof.PlayerLeave } var file_dof_messages_proto_depIdxs = []int32{ 3, // 0: dof.ClientMessage.player_enter:type_name -> dof.PlayerEnter 6, // 1: dof.ClientMessage.level_prepared:type_name -> dof.LevelPrepared 8, // 2: dof.ClientMessage.point_found:type_name -> dof.PointFound 9, // 3: dof.ClientMessage.level_end:type_name -> dof.LevelEnd 10, // 4: dof.ClientMessage.all_level_end:type_name -> dof.AllLevelEnd 13, // 5: dof.ClientMessage.player_leave:type_name -> dof.PlayerLeave 5, // 6: dof.ServerMessage.game_start:type_name -> dof.GameStart 7, // 7: dof.ServerMessage.level_start:type_name -> dof.LevelStart 8, // 8: dof.ServerMessage.point_found:type_name -> dof.PointFound 12, // 9: dof.ServerMessage.game_finish:type_name -> dof.GameFinish 4, // 10: dof.GameStart.level_resource:type_name -> dof.LevelResource 11, // 11: dof.GameFinish.scores:type_name -> dof.GameScore 12, // [12:12] is the sub-list for method output_type 12, // [12:12] is the sub-list for method input_type 12, // [12:12] is the sub-list for extension type_name 12, // [12:12] is the sub-list for extension extendee 0, // [0:12] is the sub-list for field type_name } func init() { file_dof_messages_proto_init() } func file_dof_messages_proto_init() { if File_dof_messages_proto != nil { return } if !protoimpl.UnsafeEnabled { file_dof_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientInitialize); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PlayerEnter); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LevelResource); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GameStart); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LevelPrepared); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LevelStart); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PointFound); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LevelEnd); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AllLevelEnd); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GameScore); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GameFinish); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dof_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PlayerLeave); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_dof_messages_proto_msgTypes[1].OneofWrappers = []interface{}{ (*ClientMessage_PlayerEnter)(nil), (*ClientMessage_LevelPrepared)(nil), (*ClientMessage_PointFound)(nil), (*ClientMessage_LevelEnd)(nil), (*ClientMessage_AllLevelEnd)(nil), (*ClientMessage_PlayerLeave)(nil), } file_dof_messages_proto_msgTypes[2].OneofWrappers = []interface{}{ (*ServerMessage_GameStart)(nil), (*ServerMessage_LevelStart)(nil), (*ServerMessage_PointFound)(nil), (*ServerMessage_GameFinish)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_dof_messages_proto_rawDesc, NumEnums: 0, NumMessages: 14, NumExtensions: 0, NumServices: 0, }, GoTypes: file_dof_messages_proto_goTypes, DependencyIndexes: file_dof_messages_proto_depIdxs, MessageInfos: file_dof_messages_proto_msgTypes, }.Build() File_dof_messages_proto = out.File file_dof_messages_proto_rawDesc = nil file_dof_messages_proto_goTypes = nil file_dof_messages_proto_depIdxs = nil }