// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.27.1
// 	protoc        v3.15.8
// source: service/push_gift_game.proto

package proto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	model "vikingar/proto/gen-go/model"
)

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 PushGift_NpcType int32

const (
	PushGift_NPC     PushGift_NpcType = 0 // npc
	PushGift_WARRIOR PushGift_NpcType = 1 // 英雄
	PushGift_PARTNER PushGift_NpcType = 2 // 伴侣
)

// Enum value maps for PushGift_NpcType.
var (
	PushGift_NpcType_name = map[int32]string{
		0: "NPC",
		1: "WARRIOR",
		2: "PARTNER",
	}
	PushGift_NpcType_value = map[string]int32{
		"NPC":     0,
		"WARRIOR": 1,
		"PARTNER": 2,
	}
)

func (x PushGift_NpcType) Enum() *PushGift_NpcType {
	p := new(PushGift_NpcType)
	*p = x
	return p
}

func (x PushGift_NpcType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PushGift_NpcType) Descriptor() protoreflect.EnumDescriptor {
	return file_service_push_gift_game_proto_enumTypes[0].Descriptor()
}

func (PushGift_NpcType) Type() protoreflect.EnumType {
	return &file_service_push_gift_game_proto_enumTypes[0]
}

func (x PushGift_NpcType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PushGift_NpcType.Descriptor instead.
func (PushGift_NpcType) EnumDescriptor() ([]byte, []int) {
	return file_service_push_gift_game_proto_rawDescGZIP(), []int{1, 0}
}

// 推送推送礼包列表
// 推送时机：每次进入主场景
//id=20550
type PushGiftListPush struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	GiftList []*PushGift `protobuf:"bytes,1,rep,name=gift_list,json=giftList,proto3" json:"gift_list,omitempty"` // 礼包列表（服务端排序）
}

func (x *PushGiftListPush) Reset() {
	*x = PushGiftListPush{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_push_gift_game_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PushGiftListPush) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PushGiftListPush) ProtoMessage() {}

func (x *PushGiftListPush) ProtoReflect() protoreflect.Message {
	mi := &file_service_push_gift_game_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 PushGiftListPush.ProtoReflect.Descriptor instead.
func (*PushGiftListPush) Descriptor() ([]byte, []int) {
	return file_service_push_gift_game_proto_rawDescGZIP(), []int{0}
}

func (x *PushGiftListPush) GetGiftList() []*PushGift {
	if x != nil {
		return x.GiftList
	}
	return nil
}

type PushGift struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	PayItemId  string                   `protobuf:"bytes,1,opt,name=pay_item_id,json=payItemId,proto3" json:"pay_item_id,omitempty"`                      // 商品id
	Content    []*model.GameObjectCount `protobuf:"bytes,2,rep,name=content,proto3" json:"content,omitempty"`                                             // 礼包内容
	StartTime  int64                    `protobuf:"zigzag64,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`                     // 开始时间
	ExpireTime int64                    `protobuf:"zigzag64,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`                  // 过期时间
	ValueOf    int32                    `protobuf:"zigzag32,5,opt,name=value_of,json=valueOf,proto3" json:"value_of,omitempty"`                           // 性价比
	SloganNos  []int32                  `protobuf:"zigzag32,6,rep,packed,name=slogan_nos,json=sloganNos,proto3" json:"slogan_nos,omitempty"`              // 推销文本编号
	NpcType    PushGift_NpcType         `protobuf:"varint,7,opt,name=npc_type,json=npcType,proto3,enum=proto.PushGift_NpcType" json:"npc_type,omitempty"` // npc类型
	NpcNo      int32                    `protobuf:"zigzag32,8,opt,name=npc_no,json=npcNo,proto3" json:"npc_no,omitempty"`                                 // npc编号
}

func (x *PushGift) Reset() {
	*x = PushGift{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_push_gift_game_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PushGift) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PushGift) ProtoMessage() {}

func (x *PushGift) ProtoReflect() protoreflect.Message {
	mi := &file_service_push_gift_game_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 PushGift.ProtoReflect.Descriptor instead.
func (*PushGift) Descriptor() ([]byte, []int) {
	return file_service_push_gift_game_proto_rawDescGZIP(), []int{1}
}

func (x *PushGift) GetPayItemId() string {
	if x != nil {
		return x.PayItemId
	}
	return ""
}

func (x *PushGift) GetContent() []*model.GameObjectCount {
	if x != nil {
		return x.Content
	}
	return nil
}

func (x *PushGift) GetStartTime() int64 {
	if x != nil {
		return x.StartTime
	}
	return 0
}

func (x *PushGift) GetExpireTime() int64 {
	if x != nil {
		return x.ExpireTime
	}
	return 0
}

func (x *PushGift) GetValueOf() int32 {
	if x != nil {
		return x.ValueOf
	}
	return 0
}

func (x *PushGift) GetSloganNos() []int32 {
	if x != nil {
		return x.SloganNos
	}
	return nil
}

func (x *PushGift) GetNpcType() PushGift_NpcType {
	if x != nil {
		return x.NpcType
	}
	return PushGift_NPC
}

func (x *PushGift) GetNpcNo() int32 {
	if x != nil {
		return x.NpcNo
	}
	return 0
}

// 礼包购买结果
// 推送时机：订单发货时
//id=20549
type PushGiftBuyGiftResultPush struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Content   []*model.GameObjectCount `protobuf:"bytes,1,rep,name=content,proto3" json:"content,omitempty"`                        // 礼包内容
	Vip       *model.Vip               `protobuf:"bytes,2,opt,name=vip,proto3" json:"vip,omitempty"`                                // vip 信息
	PayItemId string                   `protobuf:"bytes,3,opt,name=pay_item_id,json=payItemId,proto3" json:"pay_item_id,omitempty"` // 商品id
}

func (x *PushGiftBuyGiftResultPush) Reset() {
	*x = PushGiftBuyGiftResultPush{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_push_gift_game_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PushGiftBuyGiftResultPush) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PushGiftBuyGiftResultPush) ProtoMessage() {}

func (x *PushGiftBuyGiftResultPush) ProtoReflect() protoreflect.Message {
	mi := &file_service_push_gift_game_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 PushGiftBuyGiftResultPush.ProtoReflect.Descriptor instead.
func (*PushGiftBuyGiftResultPush) Descriptor() ([]byte, []int) {
	return file_service_push_gift_game_proto_rawDescGZIP(), []int{2}
}

func (x *PushGiftBuyGiftResultPush) GetContent() []*model.GameObjectCount {
	if x != nil {
		return x.Content
	}
	return nil
}

func (x *PushGiftBuyGiftResultPush) GetVip() *model.Vip {
	if x != nil {
		return x.Vip
	}
	return nil
}

func (x *PushGiftBuyGiftResultPush) GetPayItemId() string {
	if x != nil {
		return x.PayItemId
	}
	return ""
}

var File_service_push_gift_game_proto protoreflect.FileDescriptor

var file_service_push_gift_game_proto_rawDesc = []byte{
	0x0a, 0x1c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x67,
	0x69, 0x66, 0x74, 0x5f, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x69, 0x70,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x61,
	0x6d, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
	0x40, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x50,
	0x75, 0x73, 0x68, 0x12, 0x2c, 0x0a, 0x09, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74,
	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50,
	0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4c, 0x69, 0x73,
	0x74, 0x22, 0xcf, 0x02, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x12, 0x1e,
	0x0a, 0x0b, 0x70, 0x61, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30,
	0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
	0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x4f, 0x62, 0x6a, 0x65,
	0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
	0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
	0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
	0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65,
	0x12, 0x19, 0x0a, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6f, 0x66, 0x18, 0x05, 0x20, 0x01,
	0x28, 0x11, 0x52, 0x07, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
	0x6c, 0x6f, 0x67, 0x61, 0x6e, 0x5f, 0x6e, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x11, 0x52,
	0x09, 0x73, 0x6c, 0x6f, 0x67, 0x61, 0x6e, 0x4e, 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x6e, 0x70,
	0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x2e, 0x4e, 0x70,
	0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6e, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15,
	0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, 0x6e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05,
	0x6e, 0x70, 0x63, 0x4e, 0x6f, 0x22, 0x2c, 0x0a, 0x07, 0x4e, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65,
	0x12, 0x07, 0x0a, 0x03, 0x4e, 0x50, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52,
	0x52, 0x49, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x52, 0x54, 0x4e, 0x45,
	0x52, 0x10, 0x02, 0x22, 0x8b, 0x01, 0x0a, 0x19, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74,
	0x42, 0x75, 0x79, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x73,
	0x68, 0x12, 0x30, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03,
	0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x4f,
	0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
	0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x69, 0x70, 0x52, 0x03, 0x76, 0x69,
	0x70, 0x12, 0x1e, 0x0a, 0x0b, 0x70, 0x61, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64,
	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x49,
	0x64, 0x42, 0x25, 0x5a, 0x23, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x61, 0x72, 0x2f, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_service_push_gift_game_proto_rawDescOnce sync.Once
	file_service_push_gift_game_proto_rawDescData = file_service_push_gift_game_proto_rawDesc
)

func file_service_push_gift_game_proto_rawDescGZIP() []byte {
	file_service_push_gift_game_proto_rawDescOnce.Do(func() {
		file_service_push_gift_game_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_push_gift_game_proto_rawDescData)
	})
	return file_service_push_gift_game_proto_rawDescData
}

var file_service_push_gift_game_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_service_push_gift_game_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_service_push_gift_game_proto_goTypes = []interface{}{
	(PushGift_NpcType)(0),             // 0: proto.PushGift.NpcType
	(*PushGiftListPush)(nil),          // 1: proto.PushGiftListPush
	(*PushGift)(nil),                  // 2: proto.PushGift
	(*PushGiftBuyGiftResultPush)(nil), // 3: proto.PushGiftBuyGiftResultPush
	(*model.GameObjectCount)(nil),     // 4: proto.GameObjectCount
	(*model.Vip)(nil),                 // 5: proto.Vip
}
var file_service_push_gift_game_proto_depIdxs = []int32{
	2, // 0: proto.PushGiftListPush.gift_list:type_name -> proto.PushGift
	4, // 1: proto.PushGift.content:type_name -> proto.GameObjectCount
	0, // 2: proto.PushGift.npc_type:type_name -> proto.PushGift.NpcType
	4, // 3: proto.PushGiftBuyGiftResultPush.content:type_name -> proto.GameObjectCount
	5, // 4: proto.PushGiftBuyGiftResultPush.vip:type_name -> proto.Vip
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_service_push_gift_game_proto_init() }
func file_service_push_gift_game_proto_init() {
	if File_service_push_gift_game_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_service_push_gift_game_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftListPush); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_push_gift_game_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGift); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_push_gift_game_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftBuyGiftResultPush); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_service_push_gift_game_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_service_push_gift_game_proto_goTypes,
		DependencyIndexes: file_service_push_gift_game_proto_depIdxs,
		EnumInfos:         file_service_push_gift_game_proto_enumTypes,
		MessageInfos:      file_service_push_gift_game_proto_msgTypes,
	}.Build()
	File_service_push_gift_game_proto = out.File
	file_service_push_gift_game_proto_rawDesc = nil
	file_service_push_gift_game_proto_goTypes = nil
	file_service_push_gift_game_proto_depIdxs = nil
}
