// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_explorer_voyage_cheat.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"
	model "vikingar/proto/gen-go/model"
)

// 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 ExplorerVoyageCreateDefaultActivityRPCRequest struct {
	Base                 *ExplorerVoyageCheatRequestBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Time                 *model.ActivityTime             `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	Server               []int32                         `protobuf:"varint,3,rep,packed,name=server,proto3" json:"server,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

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

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

var xxx_messageInfo_ExplorerVoyageCreateDefaultActivityRPCRequest proto.InternalMessageInfo

func (m *ExplorerVoyageCreateDefaultActivityRPCRequest) GetBase() *ExplorerVoyageCheatRequestBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *ExplorerVoyageCreateDefaultActivityRPCRequest) GetTime() *model.ActivityTime {
	if m != nil {
		return m.Time
	}
	return nil
}

func (m *ExplorerVoyageCreateDefaultActivityRPCRequest) GetServer() []int32 {
	if m != nil {
		return m.Server
	}
	return nil
}

type ExplorerVoyageCreateDefaultActivityRPCResponse 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ExplorerVoyageCreateDefaultActivityRPCResponse proto.InternalMessageInfo

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

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

type ExplorerVoyageCheatRequestBase struct {
	RoleId               string   `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	ServerId             int32    `protobuf:"varint,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ExplorerVoyageCheatRequestBase) Reset()         { *m = ExplorerVoyageCheatRequestBase{} }
func (m *ExplorerVoyageCheatRequestBase) String() string { return proto.CompactTextString(m) }
func (*ExplorerVoyageCheatRequestBase) ProtoMessage()    {}
func (*ExplorerVoyageCheatRequestBase) Descriptor() ([]byte, []int) {
	return fileDescriptor_3ce28f76f2f9ee5c, []int{2}
}

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

var xxx_messageInfo_ExplorerVoyageCheatRequestBase proto.InternalMessageInfo

func (m *ExplorerVoyageCheatRequestBase) GetRoleId() string {
	if m != nil {
		return m.RoleId
	}
	return ""
}

func (m *ExplorerVoyageCheatRequestBase) GetServerId() int32 {
	if m != nil {
		return m.ServerId
	}
	return 0
}

func init() {
	proto.RegisterType((*ExplorerVoyageCreateDefaultActivityRPCRequest)(nil), "proto.ExplorerVoyageCreateDefaultActivityRPCRequest")
	proto.RegisterType((*ExplorerVoyageCreateDefaultActivityRPCResponse)(nil), "proto.ExplorerVoyageCreateDefaultActivityRPCResponse")
	proto.RegisterType((*ExplorerVoyageCheatRequestBase)(nil), "proto.ExplorerVoyageCheatRequestBase")
}

func init() {
	proto.RegisterFile("service/cross_explorer_voyage_cheat.proto", fileDescriptor_3ce28f76f2f9ee5c)
}

var fileDescriptor_3ce28f76f2f9ee5c = []byte{
	// 309 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x3d, 0x4f, 0xf3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x37, 0xf4, 0x69, 0xfb, 0x4a, 0x9e, 0x20, 0xfd, 0xad, 0x59,
	0x55, 0x8b, 0xa5, 0x42, 0x42, 0xa0, 0x9f, 0x8b, 0xc2, 0xb9, 0x25, 0xd4, 0xde, 0xcd, 0x1f, 0x5f,
	0x2e, 0x84, 0xb5, 0x11, 0x52, 0x7b, 0x4f, 0x66, 0x70, 0xb4, 0xb9, 0x05, 0x72, 0x00, 0xff, 0xa5,
	0x28, 0x31, 0xe3, 0x85, 0x15, 0x0b, 0x69, 0x60, 0x9e, 0xd3, 0x82, 0x1c, 0x42, 0xe8, 0xec, 0x99,
	0x90, 0xd1, 0xf4, 0xe9, 0x96, 0xfb, 0x98, 0x16, 0xe3, 0x0f, 0x0f, 0xe2, 0x0e, 0xe1, 0x07, 0xb7,
	0x3d, 0xf2, 0xee, 0xc1, 0x5e, 0x67, 0x0f, 0xe4, 0xa2, 0x7b, 0xb0, 0x9b, 0x97, 0x13, 0x5f, 0xfe,
	0x91, 0x72, 0x53, 0x9a, 0x07, 0x96, 0x3a, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xb0, 0xfe, 0x81,
	0xc8, 0x56, 0x02, 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

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

type explorerVoyageCheatServiceClient struct {
	cc *grpc.ClientConn
}

func NewExplorerVoyageCheatServiceClient(cc *grpc.ClientConn) ExplorerVoyageCheatServiceClient {
	return &explorerVoyageCheatServiceClient{cc}
}

func (c *explorerVoyageCheatServiceClient) CreateDefaultActivity(ctx context.Context, in *ExplorerVoyageCreateDefaultActivityRPCRequest, opts ...grpc.CallOption) (*ExplorerVoyageCreateDefaultActivityRPCResponse, error) {
	out := new(ExplorerVoyageCreateDefaultActivityRPCResponse)
	err := c.cc.Invoke(ctx, "/proto.ExplorerVoyageCheatService/CreateDefaultActivity", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ExplorerVoyageCheatServiceServer is the server API for ExplorerVoyageCheatService service.
type ExplorerVoyageCheatServiceServer interface {
	CreateDefaultActivity(context.Context, *ExplorerVoyageCreateDefaultActivityRPCRequest) (*ExplorerVoyageCreateDefaultActivityRPCResponse, error)
}

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

func (*UnimplementedExplorerVoyageCheatServiceServer) CreateDefaultActivity(ctx context.Context, req *ExplorerVoyageCreateDefaultActivityRPCRequest) (*ExplorerVoyageCreateDefaultActivityRPCResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateDefaultActivity not implemented")
}

func RegisterExplorerVoyageCheatServiceServer(s *grpc.Server, srv ExplorerVoyageCheatServiceServer) {
	s.RegisterService(&_ExplorerVoyageCheatService_serviceDesc, srv)
}

func _ExplorerVoyageCheatService_CreateDefaultActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ExplorerVoyageCreateDefaultActivityRPCRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ExplorerVoyageCheatServiceServer).CreateDefaultActivity(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.ExplorerVoyageCheatService/CreateDefaultActivity",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ExplorerVoyageCheatServiceServer).CreateDefaultActivity(ctx, req.(*ExplorerVoyageCreateDefaultActivityRPCRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _ExplorerVoyageCheatService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.ExplorerVoyageCheatService",
	HandlerType: (*ExplorerVoyageCheatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDefaultActivity",
			Handler:    _ExplorerVoyageCheatService_CreateDefaultActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_explorer_voyage_cheat.proto",
}
