// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_game_object_game.proto

package proto

import (
	fmt "fmt"
	math "math"
	context "context"
	proto "github.com/golang/protobuf/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type CrossGameObjectGetFreezeRequest struct {
	LogicalRegionId      int32    `protobuf:"varint,1,opt,name=logical_region_id,json=logicalRegionId,proto3" json:"logical_region_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CrossGameObjectGetFreezeRequest) Reset()         { *m = CrossGameObjectGetFreezeRequest{} }
func (m *CrossGameObjectGetFreezeRequest) String() string { return proto.CompactTextString(m) }
func (*CrossGameObjectGetFreezeRequest) ProtoMessage()    {}
func (*CrossGameObjectGetFreezeRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_86ee95ae4542eac9, []int{0}
}

func (m *CrossGameObjectGetFreezeRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CrossGameObjectGetFreezeRequest.Unmarshal(m, b)
}
func (m *CrossGameObjectGetFreezeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CrossGameObjectGetFreezeRequest.Marshal(b, m, deterministic)
}
func (m *CrossGameObjectGetFreezeRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CrossGameObjectGetFreezeRequest.Merge(m, src)
}
func (m *CrossGameObjectGetFreezeRequest) XXX_Size() int {
	return xxx_messageInfo_CrossGameObjectGetFreezeRequest.Size(m)
}
func (m *CrossGameObjectGetFreezeRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CrossGameObjectGetFreezeRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CrossGameObjectGetFreezeRequest proto.InternalMessageInfo

func (m *CrossGameObjectGetFreezeRequest) GetLogicalRegionId() int32 {
	if m != nil {
		return m.LogicalRegionId
	}
	return 0
}

type CrossGameObjectGetFreezeResponse struct {
	Code                 int64                                  `protobuf:"zigzag64,1,opt,name=code,proto3" json:"code,omitempty"`
	Info                 string                                 `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Data                 *CrossGameObjectGetFreezeResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (m *CrossGameObjectGetFreezeResponse) Reset()         { *m = CrossGameObjectGetFreezeResponse{} }
func (m *CrossGameObjectGetFreezeResponse) String() string { return proto.CompactTextString(m) }
func (*CrossGameObjectGetFreezeResponse) ProtoMessage()    {}
func (*CrossGameObjectGetFreezeResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_86ee95ae4542eac9, []int{1}
}

func (m *CrossGameObjectGetFreezeResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CrossGameObjectGetFreezeResponse.Unmarshal(m, b)
}
func (m *CrossGameObjectGetFreezeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CrossGameObjectGetFreezeResponse.Marshal(b, m, deterministic)
}
func (m *CrossGameObjectGetFreezeResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CrossGameObjectGetFreezeResponse.Merge(m, src)
}
func (m *CrossGameObjectGetFreezeResponse) XXX_Size() int {
	return xxx_messageInfo_CrossGameObjectGetFreezeResponse.Size(m)
}
func (m *CrossGameObjectGetFreezeResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CrossGameObjectGetFreezeResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CrossGameObjectGetFreezeResponse proto.InternalMessageInfo

func (m *CrossGameObjectGetFreezeResponse) GetCode() int64 {
	if m != nil {
		return m.Code
	}
	return 0
}

func (m *CrossGameObjectGetFreezeResponse) GetInfo() string {
	if m != nil {
		return m.Info
	}
	return ""
}

func (m *CrossGameObjectGetFreezeResponse) GetData() *CrossGameObjectGetFreezeResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossGameObjectGetFreezeResponse_Data struct {
	//被冻结游戏对象ID列表
	GameObjectIds        []string `protobuf:"bytes,1,rep,name=game_object_ids,json=gameObjectIds,proto3" json:"game_object_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CrossGameObjectGetFreezeResponse_Data) Reset()         { *m = CrossGameObjectGetFreezeResponse_Data{} }
func (m *CrossGameObjectGetFreezeResponse_Data) String() string { return proto.CompactTextString(m) }
func (*CrossGameObjectGetFreezeResponse_Data) ProtoMessage()    {}
func (*CrossGameObjectGetFreezeResponse_Data) Descriptor() ([]byte, []int) {
	return fileDescriptor_86ee95ae4542eac9, []int{1, 0}
}

func (m *CrossGameObjectGetFreezeResponse_Data) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CrossGameObjectGetFreezeResponse_Data.Unmarshal(m, b)
}
func (m *CrossGameObjectGetFreezeResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CrossGameObjectGetFreezeResponse_Data.Marshal(b, m, deterministic)
}
func (m *CrossGameObjectGetFreezeResponse_Data) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CrossGameObjectGetFreezeResponse_Data.Merge(m, src)
}
func (m *CrossGameObjectGetFreezeResponse_Data) XXX_Size() int {
	return xxx_messageInfo_CrossGameObjectGetFreezeResponse_Data.Size(m)
}
func (m *CrossGameObjectGetFreezeResponse_Data) XXX_DiscardUnknown() {
	xxx_messageInfo_CrossGameObjectGetFreezeResponse_Data.DiscardUnknown(m)
}

var xxx_messageInfo_CrossGameObjectGetFreezeResponse_Data proto.InternalMessageInfo

func (m *CrossGameObjectGetFreezeResponse_Data) GetGameObjectIds() []string {
	if m != nil {
		return m.GameObjectIds
	}
	return nil
}

func init() {
	proto.RegisterType((*CrossGameObjectGetFreezeRequest)(nil), "proto.CrossGameObjectGetFreezeRequest")
	proto.RegisterType((*CrossGameObjectGetFreezeResponse)(nil), "proto.CrossGameObjectGetFreezeResponse")
	proto.RegisterType((*CrossGameObjectGetFreezeResponse_Data)(nil), "proto.CrossGameObjectGetFreezeResponse.Data")
}

func init() {
	proto.RegisterFile("service/cross_game_object_game.proto", fileDescriptor_86ee95ae4542eac9)
}

var fileDescriptor_86ee95ae4542eac9 = []byte{
	// 257 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0x03, 0x31,
	0x10, 0x85, 0x89, 0xdd, 0x0a, 0x3b, 0x22, 0xc5, 0x1c, 0x64, 0xe9, 0xc5, 0x50, 0xa4, 0x2e, 0x22,
	0x2b, 0xd4, 0x3f, 0x20, 0x28, 0x96, 0x1e, 0x44, 0x88, 0x57, 0x61, 0x49, 0x93, 0x71, 0x89, 0xb4,
	0x3b, 0x35, 0x89, 0x3d, 0xf8, 0xdb, 0xfc, 0x71, 0xb2, 0x53, 0x29, 0x22, 0x48, 0x7b, 0xca, 0xcb,
	0xe4, 0xe5, 0x9b, 0xc7, 0x83, 0xf3, 0x88, 0x61, 0xed, 0x2d, 0x5e, 0xdb, 0x40, 0x31, 0xd6, 0x8d,
	0x59, 0x62, 0x4d, 0xf3, 0x37, 0xb4, 0x89, 0x75, 0xb5, 0x0a, 0x94, 0x48, 0xf6, 0xf9, 0x18, 0x3d,
	0xc2, 0xd9, 0x5d, 0x67, 0x9b, 0x9a, 0x25, 0x3e, 0xb1, 0x69, 0x8a, 0xe9, 0x21, 0x20, 0x7e, 0xa2,
	0xc6, 0xf7, 0x0f, 0x8c, 0x49, 0x5e, 0xc2, 0xc9, 0x82, 0x1a, 0x6f, 0xcd, 0xa2, 0x0e, 0xd8, 0x78,
	0x6a, 0x6b, 0xef, 0x0a, 0xa1, 0x44, 0xd9, 0xd7, 0x83, 0x9f, 0x07, 0xcd, 0xf3, 0x99, 0x1b, 0x7d,
	0x09, 0x50, 0xff, 0xf3, 0xe2, 0x8a, 0xda, 0x88, 0x52, 0x42, 0x66, 0xc9, 0x21, 0x33, 0xa4, 0x66,
	0xdd, 0xcd, 0x7c, 0xfb, 0x4a, 0xc5, 0x81, 0x12, 0x65, 0xae, 0x59, 0xcb, 0x5b, 0xc8, 0x9c, 0x49,
	0xa6, 0xe8, 0x29, 0x51, 0x1e, 0x4d, 0xae, 0x36, 0xc1, 0xab, 0x5d, 0xf8, 0xea, 0xde, 0x24, 0xa3,
	0xf9, 0xe7, 0xb0, 0x82, 0xac, 0xbb, 0xc9, 0x31, 0x0c, 0x7e, 0xd7, 0xe0, 0x5d, 0x2c, 0x84, 0xea,
	0x95, 0xb9, 0x3e, 0x6e, 0xb6, 0xa0, 0x99, 0x8b, 0x93, 0x35, 0x9c, 0xfe, 0xc1, 0x3f, 0x6f, 0xba,
	0x94, 0x2f, 0x90, 0x6f, 0x37, 0xc9, 0xf1, 0xce, 0x28, 0xdc, 0xdc, 0xf0, 0x62, 0xcf, 0xc8, 0xf3,
	0x43, 0xf6, 0xdd, 0x7c, 0x07, 0x00, 0x00, 0xff, 0xff, 0x49, 0xfb, 0xfa, 0x6d, 0xbb, 0x01, 0x00,
	0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// CrossGameObjectServiceClient is the client API for CrossGameObjectService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type CrossGameObjectServiceClient interface {
	GetFreeze(ctx context.Context, in *CrossGameObjectGetFreezeRequest, opts ...grpc.CallOption) (*CrossGameObjectGetFreezeResponse, error)
}

type crossGameObjectServiceClient struct {
	cc *grpc.ClientConn
}

func NewCrossGameObjectServiceClient(cc *grpc.ClientConn) CrossGameObjectServiceClient {
	return &crossGameObjectServiceClient{cc}
}

func (c *crossGameObjectServiceClient) GetFreeze(ctx context.Context, in *CrossGameObjectGetFreezeRequest, opts ...grpc.CallOption) (*CrossGameObjectGetFreezeResponse, error) {
	out := new(CrossGameObjectGetFreezeResponse)
	err := c.cc.Invoke(ctx, "/proto.CrossGameObjectService/GetFreeze", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// CrossGameObjectServiceServer is the server API for CrossGameObjectService service.
type CrossGameObjectServiceServer interface {
	GetFreeze(context.Context, *CrossGameObjectGetFreezeRequest) (*CrossGameObjectGetFreezeResponse, error)
}

// UnimplementedCrossGameObjectServiceServer can be embedded to have forward compatible implementations.
type UnimplementedCrossGameObjectServiceServer struct {
}

func (*UnimplementedCrossGameObjectServiceServer) GetFreeze(ctx context.Context, req *CrossGameObjectGetFreezeRequest) (*CrossGameObjectGetFreezeResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetFreeze not implemented")
}

func RegisterCrossGameObjectServiceServer(s *grpc.Server, srv CrossGameObjectServiceServer) {
	s.RegisterService(&_CrossGameObjectService_serviceDesc, srv)
}

func _CrossGameObjectService_GetFreeze_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossGameObjectGetFreezeRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CrossGameObjectServiceServer).GetFreeze(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.CrossGameObjectService/GetFreeze",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CrossGameObjectServiceServer).GetFreeze(ctx, req.(*CrossGameObjectGetFreezeRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _CrossGameObjectService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.CrossGameObjectService",
	HandlerType: (*CrossGameObjectServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetFreeze",
			Handler:    _CrossGameObjectService_GetFreeze_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_game_object_game.proto",
}
