|
|
@@ -1,8 +1,8 @@
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.36.11
|
|
|
|
// protoc-gen-go v1.36.11
|
|
|
|
// protoc v5.29.6
|
|
|
|
// protoc v7.34.1
|
|
|
|
// source: game.proto
|
|
|
|
// source: desc/rpc/game.proto
|
|
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
|
@@ -38,7 +38,7 @@ type Games struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Games) Reset() {
|
|
|
|
func (x *Games) Reset() {
|
|
|
|
*x = Games{}
|
|
|
|
*x = Games{}
|
|
|
|
mi := &file_game_proto_msgTypes[0]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -50,7 +50,7 @@ func (x *Games) String() string {
|
|
|
|
func (*Games) ProtoMessage() {}
|
|
|
|
func (*Games) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Games) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *Games) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[0]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[0]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -63,7 +63,7 @@ func (x *Games) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Games.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use Games.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Games) Descriptor() ([]byte, []int) {
|
|
|
|
func (*Games) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{0}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Games) GetId() int64 {
|
|
|
|
func (x *Games) GetId() int64 {
|
|
|
@@ -137,7 +137,7 @@ type AddGamesReq struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddGamesReq) Reset() {
|
|
|
|
func (x *AddGamesReq) Reset() {
|
|
|
|
*x = AddGamesReq{}
|
|
|
|
*x = AddGamesReq{}
|
|
|
|
mi := &file_game_proto_msgTypes[1]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -149,7 +149,7 @@ func (x *AddGamesReq) String() string {
|
|
|
|
func (*AddGamesReq) ProtoMessage() {}
|
|
|
|
func (*AddGamesReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *AddGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[1]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[1]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -162,7 +162,7 @@ func (x *AddGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use AddGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AddGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
func (*AddGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{1}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddGamesReq) GetName() string {
|
|
|
|
func (x *AddGamesReq) GetName() string {
|
|
|
@@ -216,13 +216,14 @@ func (x *AddGamesReq) GetUpdatedAt() int64 {
|
|
|
|
|
|
|
|
|
|
|
|
type AddGamesResp struct {
|
|
|
|
type AddGamesResp struct {
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
|
|
Games *Games `protobuf:"bytes,1,opt,name=games,proto3" json:"games,omitempty"` //games
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddGamesResp) Reset() {
|
|
|
|
func (x *AddGamesResp) Reset() {
|
|
|
|
*x = AddGamesResp{}
|
|
|
|
*x = AddGamesResp{}
|
|
|
|
mi := &file_game_proto_msgTypes[2]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -234,7 +235,7 @@ func (x *AddGamesResp) String() string {
|
|
|
|
func (*AddGamesResp) ProtoMessage() {}
|
|
|
|
func (*AddGamesResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *AddGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[2]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[2]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -247,7 +248,14 @@ func (x *AddGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use AddGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AddGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*AddGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{2}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddGamesResp) GetGames() *Games {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Games
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type UpdateGamesReq struct {
|
|
|
|
type UpdateGamesReq struct {
|
|
|
@@ -266,7 +274,7 @@ type UpdateGamesReq struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateGamesReq) Reset() {
|
|
|
|
func (x *UpdateGamesReq) Reset() {
|
|
|
|
*x = UpdateGamesReq{}
|
|
|
|
*x = UpdateGamesReq{}
|
|
|
|
mi := &file_game_proto_msgTypes[3]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -278,7 +286,7 @@ func (x *UpdateGamesReq) String() string {
|
|
|
|
func (*UpdateGamesReq) ProtoMessage() {}
|
|
|
|
func (*UpdateGamesReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *UpdateGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[3]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[3]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -291,7 +299,7 @@ func (x *UpdateGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use UpdateGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
func (*UpdateGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{3}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateGamesReq) GetId() int64 {
|
|
|
|
func (x *UpdateGamesReq) GetId() int64 {
|
|
|
@@ -358,7 +366,7 @@ type UpdateGamesResp struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateGamesResp) Reset() {
|
|
|
|
func (x *UpdateGamesResp) Reset() {
|
|
|
|
*x = UpdateGamesResp{}
|
|
|
|
*x = UpdateGamesResp{}
|
|
|
|
mi := &file_game_proto_msgTypes[4]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -370,7 +378,7 @@ func (x *UpdateGamesResp) String() string {
|
|
|
|
func (*UpdateGamesResp) ProtoMessage() {}
|
|
|
|
func (*UpdateGamesResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *UpdateGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[4]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[4]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -383,7 +391,7 @@ func (x *UpdateGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use UpdateGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*UpdateGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{4}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type DelGamesReq struct {
|
|
|
|
type DelGamesReq struct {
|
|
|
@@ -395,7 +403,7 @@ type DelGamesReq struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DelGamesReq) Reset() {
|
|
|
|
func (x *DelGamesReq) Reset() {
|
|
|
|
*x = DelGamesReq{}
|
|
|
|
*x = DelGamesReq{}
|
|
|
|
mi := &file_game_proto_msgTypes[5]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -407,7 +415,7 @@ func (x *DelGamesReq) String() string {
|
|
|
|
func (*DelGamesReq) ProtoMessage() {}
|
|
|
|
func (*DelGamesReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DelGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *DelGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[5]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[5]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -420,7 +428,7 @@ func (x *DelGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DelGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use DelGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DelGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
func (*DelGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{5}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DelGamesReq) GetId() int64 {
|
|
|
|
func (x *DelGamesReq) GetId() int64 {
|
|
|
@@ -438,7 +446,7 @@ type DelGamesResp struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DelGamesResp) Reset() {
|
|
|
|
func (x *DelGamesResp) Reset() {
|
|
|
|
*x = DelGamesResp{}
|
|
|
|
*x = DelGamesResp{}
|
|
|
|
mi := &file_game_proto_msgTypes[6]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -450,7 +458,7 @@ func (x *DelGamesResp) String() string {
|
|
|
|
func (*DelGamesResp) ProtoMessage() {}
|
|
|
|
func (*DelGamesResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DelGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *DelGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[6]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[6]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -463,7 +471,7 @@ func (x *DelGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DelGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use DelGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DelGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*DelGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{6}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetGamesByIdReq struct {
|
|
|
|
type GetGamesByIdReq struct {
|
|
|
@@ -475,7 +483,7 @@ type GetGamesByIdReq struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetGamesByIdReq) Reset() {
|
|
|
|
func (x *GetGamesByIdReq) Reset() {
|
|
|
|
*x = GetGamesByIdReq{}
|
|
|
|
*x = GetGamesByIdReq{}
|
|
|
|
mi := &file_game_proto_msgTypes[7]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -487,7 +495,7 @@ func (x *GetGamesByIdReq) String() string {
|
|
|
|
func (*GetGamesByIdReq) ProtoMessage() {}
|
|
|
|
func (*GetGamesByIdReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetGamesByIdReq) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *GetGamesByIdReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[7]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[7]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -500,7 +508,7 @@ func (x *GetGamesByIdReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetGamesByIdReq.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use GetGamesByIdReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetGamesByIdReq) Descriptor() ([]byte, []int) {
|
|
|
|
func (*GetGamesByIdReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{7}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetGamesByIdReq) GetId() int64 {
|
|
|
|
func (x *GetGamesByIdReq) GetId() int64 {
|
|
|
@@ -519,7 +527,7 @@ type GetGamesByIdResp struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetGamesByIdResp) Reset() {
|
|
|
|
func (x *GetGamesByIdResp) Reset() {
|
|
|
|
*x = GetGamesByIdResp{}
|
|
|
|
*x = GetGamesByIdResp{}
|
|
|
|
mi := &file_game_proto_msgTypes[8]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -531,7 +539,7 @@ func (x *GetGamesByIdResp) String() string {
|
|
|
|
func (*GetGamesByIdResp) ProtoMessage() {}
|
|
|
|
func (*GetGamesByIdResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetGamesByIdResp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *GetGamesByIdResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[8]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[8]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -544,7 +552,7 @@ func (x *GetGamesByIdResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetGamesByIdResp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use GetGamesByIdResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetGamesByIdResp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*GetGamesByIdResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{8}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetGamesByIdResp) GetGames() *Games {
|
|
|
|
func (x *GetGamesByIdResp) GetGames() *Games {
|
|
|
@@ -572,7 +580,7 @@ type SearchGamesReq struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SearchGamesReq) Reset() {
|
|
|
|
func (x *SearchGamesReq) Reset() {
|
|
|
|
*x = SearchGamesReq{}
|
|
|
|
*x = SearchGamesReq{}
|
|
|
|
mi := &file_game_proto_msgTypes[9]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -584,7 +592,7 @@ func (x *SearchGamesReq) String() string {
|
|
|
|
func (*SearchGamesReq) ProtoMessage() {}
|
|
|
|
func (*SearchGamesReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SearchGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *SearchGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[9]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[9]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -597,7 +605,7 @@ func (x *SearchGamesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SearchGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use SearchGamesReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SearchGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
func (*SearchGamesReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{9}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SearchGamesReq) GetPage() int64 {
|
|
|
|
func (x *SearchGamesReq) GetPage() int64 {
|
|
|
@@ -679,7 +687,7 @@ type SearchGamesResp struct {
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SearchGamesResp) Reset() {
|
|
|
|
func (x *SearchGamesResp) Reset() {
|
|
|
|
*x = SearchGamesResp{}
|
|
|
|
*x = SearchGamesResp{}
|
|
|
|
mi := &file_game_proto_msgTypes[10]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -691,7 +699,7 @@ func (x *SearchGamesResp) String() string {
|
|
|
|
func (*SearchGamesResp) ProtoMessage() {}
|
|
|
|
func (*SearchGamesResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SearchGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *SearchGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_proto_msgTypes[10]
|
|
|
|
mi := &file_desc_rpc_game_proto_msgTypes[10]
|
|
|
|
if x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -704,7 +712,7 @@ func (x *SearchGamesResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SearchGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use SearchGamesResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SearchGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*SearchGamesResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_proto_rawDescGZIP(), []int{10}
|
|
|
|
return file_desc_rpc_game_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SearchGamesResp) GetGames() []*Games {
|
|
|
|
func (x *SearchGamesResp) GetGames() []*Games {
|
|
|
@@ -714,12 +722,11 @@ func (x *SearchGamesResp) GetGames() []*Games {
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var File_game_proto protoreflect.FileDescriptor
|
|
|
|
var File_desc_rpc_game_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
const file_game_proto_rawDesc = "" +
|
|
|
|
const file_desc_rpc_game_proto_rawDesc = "" +
|
|
|
|
"\n" +
|
|
|
|
"\n" +
|
|
|
|
"\n" +
|
|
|
|
"\x13desc/rpc/game.proto\x12\x02pb\"\xd1\x01\n" +
|
|
|
|
"game.proto\x12\x02pb\"\xd1\x01\n" +
|
|
|
|
|
|
|
|
"\x05Games\x12\x0e\n" +
|
|
|
|
"\x05Games\x12\x0e\n" +
|
|
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
|
@@ -736,8 +743,9 @@ const file_game_proto_rawDesc = "" +
|
|
|
|
"\tsortOrder\x18\x04 \x01(\x03R\tsortOrder\x12\x1a\n" +
|
|
|
|
"\tsortOrder\x18\x04 \x01(\x03R\tsortOrder\x12\x1a\n" +
|
|
|
|
"\bisActive\x18\x05 \x01(\bR\bisActive\x12\x1c\n" +
|
|
|
|
"\bisActive\x18\x05 \x01(\bR\bisActive\x12\x1c\n" +
|
|
|
|
"\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
|
|
"\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
|
|
"\tupdatedAt\x18\a \x01(\x03R\tupdatedAt\"\x0e\n" +
|
|
|
|
"\tupdatedAt\x18\a \x01(\x03R\tupdatedAt\"/\n" +
|
|
|
|
"\fAddGamesResp\"\xda\x01\n" +
|
|
|
|
"\fAddGamesResp\x12\x1f\n" +
|
|
|
|
|
|
|
|
"\x05games\x18\x01 \x01(\v2\t.pb.GamesR\x05games\"\xda\x01\n" +
|
|
|
|
"\x0eUpdateGamesReq\x12\x0e\n" +
|
|
|
|
"\x0eUpdateGamesReq\x12\x0e\n" +
|
|
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
|
@@ -787,19 +795,19 @@ const file_game_proto_rawDesc = "" +
|
|
|
|
"\vSearchGames\x12\x12.pb.SearchGamesReq\x1a\x13.pb.SearchGamesRespB\x06Z\x04./pbb\x06proto3"
|
|
|
|
"\vSearchGames\x12\x12.pb.SearchGamesReq\x1a\x13.pb.SearchGamesRespB\x06Z\x04./pbb\x06proto3"
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
file_game_proto_rawDescOnce sync.Once
|
|
|
|
file_desc_rpc_game_proto_rawDescOnce sync.Once
|
|
|
|
file_game_proto_rawDescData []byte
|
|
|
|
file_desc_rpc_game_proto_rawDescData []byte
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func file_game_proto_rawDescGZIP() []byte {
|
|
|
|
func file_desc_rpc_game_proto_rawDescGZIP() []byte {
|
|
|
|
file_game_proto_rawDescOnce.Do(func() {
|
|
|
|
file_desc_rpc_game_proto_rawDescOnce.Do(func() {
|
|
|
|
file_game_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_game_proto_rawDesc), len(file_game_proto_rawDesc)))
|
|
|
|
file_desc_rpc_game_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_desc_rpc_game_proto_rawDesc), len(file_desc_rpc_game_proto_rawDesc)))
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return file_game_proto_rawDescData
|
|
|
|
return file_desc_rpc_game_proto_rawDescData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
|
var file_desc_rpc_game_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
|
var file_game_proto_goTypes = []any{
|
|
|
|
var file_desc_rpc_game_proto_goTypes = []any{
|
|
|
|
(*Games)(nil), // 0: pb.Games
|
|
|
|
(*Games)(nil), // 0: pb.Games
|
|
|
|
(*AddGamesReq)(nil), // 1: pb.AddGamesReq
|
|
|
|
(*AddGamesReq)(nil), // 1: pb.AddGamesReq
|
|
|
|
(*AddGamesResp)(nil), // 2: pb.AddGamesResp
|
|
|
|
(*AddGamesResp)(nil), // 2: pb.AddGamesResp
|
|
|
@@ -812,47 +820,48 @@ var file_game_proto_goTypes = []any{
|
|
|
|
(*SearchGamesReq)(nil), // 9: pb.SearchGamesReq
|
|
|
|
(*SearchGamesReq)(nil), // 9: pb.SearchGamesReq
|
|
|
|
(*SearchGamesResp)(nil), // 10: pb.SearchGamesResp
|
|
|
|
(*SearchGamesResp)(nil), // 10: pb.SearchGamesResp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var file_game_proto_depIdxs = []int32{
|
|
|
|
var file_desc_rpc_game_proto_depIdxs = []int32{
|
|
|
|
0, // 0: pb.GetGamesByIdResp.games:type_name -> pb.Games
|
|
|
|
0, // 0: pb.AddGamesResp.games:type_name -> pb.Games
|
|
|
|
0, // 1: pb.SearchGamesResp.games:type_name -> pb.Games
|
|
|
|
0, // 1: pb.GetGamesByIdResp.games:type_name -> pb.Games
|
|
|
|
1, // 2: pb.GameService.AddGames:input_type -> pb.AddGamesReq
|
|
|
|
0, // 2: pb.SearchGamesResp.games:type_name -> pb.Games
|
|
|
|
3, // 3: pb.GameService.UpdateGames:input_type -> pb.UpdateGamesReq
|
|
|
|
1, // 3: pb.GameService.AddGames:input_type -> pb.AddGamesReq
|
|
|
|
5, // 4: pb.GameService.DelGames:input_type -> pb.DelGamesReq
|
|
|
|
3, // 4: pb.GameService.UpdateGames:input_type -> pb.UpdateGamesReq
|
|
|
|
7, // 5: pb.GameService.GetGamesById:input_type -> pb.GetGamesByIdReq
|
|
|
|
5, // 5: pb.GameService.DelGames:input_type -> pb.DelGamesReq
|
|
|
|
9, // 6: pb.GameService.SearchGames:input_type -> pb.SearchGamesReq
|
|
|
|
7, // 6: pb.GameService.GetGamesById:input_type -> pb.GetGamesByIdReq
|
|
|
|
2, // 7: pb.GameService.AddGames:output_type -> pb.AddGamesResp
|
|
|
|
9, // 7: pb.GameService.SearchGames:input_type -> pb.SearchGamesReq
|
|
|
|
4, // 8: pb.GameService.UpdateGames:output_type -> pb.UpdateGamesResp
|
|
|
|
2, // 8: pb.GameService.AddGames:output_type -> pb.AddGamesResp
|
|
|
|
6, // 9: pb.GameService.DelGames:output_type -> pb.DelGamesResp
|
|
|
|
4, // 9: pb.GameService.UpdateGames:output_type -> pb.UpdateGamesResp
|
|
|
|
8, // 10: pb.GameService.GetGamesById:output_type -> pb.GetGamesByIdResp
|
|
|
|
6, // 10: pb.GameService.DelGames:output_type -> pb.DelGamesResp
|
|
|
|
10, // 11: pb.GameService.SearchGames:output_type -> pb.SearchGamesResp
|
|
|
|
8, // 11: pb.GameService.GetGamesById:output_type -> pb.GetGamesByIdResp
|
|
|
|
7, // [7:12] is the sub-list for method output_type
|
|
|
|
10, // 12: pb.GameService.SearchGames:output_type -> pb.SearchGamesResp
|
|
|
|
2, // [2:7] is the sub-list for method input_type
|
|
|
|
8, // [8:13] is the sub-list for method output_type
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
3, // [3:8] is the sub-list for method input_type
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
|
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
|
|
|
|
|
|
0, // [0:3] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_game_proto_init() }
|
|
|
|
func init() { file_desc_rpc_game_proto_init() }
|
|
|
|
func file_game_proto_init() {
|
|
|
|
func file_desc_rpc_game_proto_init() {
|
|
|
|
if File_game_proto != nil {
|
|
|
|
if File_desc_rpc_game_proto != nil {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_proto_msgTypes[9].OneofWrappers = []any{}
|
|
|
|
file_desc_rpc_game_proto_msgTypes[9].OneofWrappers = []any{}
|
|
|
|
type x struct{}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_game_proto_rawDesc), len(file_game_proto_rawDesc)),
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_desc_rpc_game_proto_rawDesc), len(file_desc_rpc_game_proto_rawDesc)),
|
|
|
|
NumEnums: 0,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 11,
|
|
|
|
NumMessages: 11,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
GoTypes: file_game_proto_goTypes,
|
|
|
|
GoTypes: file_desc_rpc_game_proto_goTypes,
|
|
|
|
DependencyIndexes: file_game_proto_depIdxs,
|
|
|
|
DependencyIndexes: file_desc_rpc_game_proto_depIdxs,
|
|
|
|
MessageInfos: file_game_proto_msgTypes,
|
|
|
|
MessageInfos: file_desc_rpc_game_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
}.Build()
|
|
|
|
File_game_proto = out.File
|
|
|
|
File_desc_rpc_game_proto = out.File
|
|
|
|
file_game_proto_goTypes = nil
|
|
|
|
file_desc_rpc_game_proto_goTypes = nil
|
|
|
|
file_game_proto_depIdxs = nil
|
|
|
|
file_desc_rpc_game_proto_depIdxs = nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|