// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022  Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.26.0
// 	protoc        v3.14.0
// source: PlayerEyePointStateNotify.proto

package proto

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)
)

// CmdId: 3051
// EnetChannelId: 0
// EnetIsReliable: true
type PlayerEyePointStateNotify struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RegionEntityId    uint32  `protobuf:"varint,15,opt,name=region_entity_id,json=regionEntityId,proto3" json:"region_entity_id,omitempty"`
	EyePointPos       *Vector `protobuf:"bytes,1,opt,name=eye_point_pos,json=eyePointPos,proto3" json:"eye_point_pos,omitempty"`
	IsUseEyePoint     bool    `protobuf:"varint,3,opt,name=is_use_eye_point,json=isUseEyePoint,proto3" json:"is_use_eye_point,omitempty"`
	RegionConfigId    uint32  `protobuf:"varint,7,opt,name=region_config_id,json=regionConfigId,proto3" json:"region_config_id,omitempty"`
	RegionShape       uint32  `protobuf:"varint,12,opt,name=region_shape,json=regionShape,proto3" json:"region_shape,omitempty"`
	IsFilterStreamPos bool    `protobuf:"varint,2,opt,name=is_filter_stream_pos,json=isFilterStreamPos,proto3" json:"is_filter_stream_pos,omitempty"`
	FixLodLevel       int32   `protobuf:"varint,5,opt,name=fix_lod_level,json=fixLodLevel,proto3" json:"fix_lod_level,omitempty"`
	RegionGroupId     uint32  `protobuf:"varint,4,opt,name=region_group_id,json=regionGroupId,proto3" json:"region_group_id,omitempty"`
	// Types that are assignable to RegionSize:
	//
	//	*PlayerEyePointStateNotify_SphereRadius
	//	*PlayerEyePointStateNotify_CubicSize
	//	*PlayerEyePointStateNotify_CylinderSize
	//	*PlayerEyePointStateNotify_PolygonSize
	RegionSize isPlayerEyePointStateNotify_RegionSize `protobuf_oneof:"region_size"`
}

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

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

func (*PlayerEyePointStateNotify) ProtoMessage() {}

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

func (x *PlayerEyePointStateNotify) GetRegionEntityId() uint32 {
	if x != nil {
		return x.RegionEntityId
	}
	return 0
}

func (x *PlayerEyePointStateNotify) GetEyePointPos() *Vector {
	if x != nil {
		return x.EyePointPos
	}
	return nil
}

func (x *PlayerEyePointStateNotify) GetIsUseEyePoint() bool {
	if x != nil {
		return x.IsUseEyePoint
	}
	return false
}

func (x *PlayerEyePointStateNotify) GetRegionConfigId() uint32 {
	if x != nil {
		return x.RegionConfigId
	}
	return 0
}

func (x *PlayerEyePointStateNotify) GetRegionShape() uint32 {
	if x != nil {
		return x.RegionShape
	}
	return 0
}

func (x *PlayerEyePointStateNotify) GetIsFilterStreamPos() bool {
	if x != nil {
		return x.IsFilterStreamPos
	}
	return false
}

func (x *PlayerEyePointStateNotify) GetFixLodLevel() int32 {
	if x != nil {
		return x.FixLodLevel
	}
	return 0
}

func (x *PlayerEyePointStateNotify) GetRegionGroupId() uint32 {
	if x != nil {
		return x.RegionGroupId
	}
	return 0
}

func (m *PlayerEyePointStateNotify) GetRegionSize() isPlayerEyePointStateNotify_RegionSize {
	if m != nil {
		return m.RegionSize
	}
	return nil
}

func (x *PlayerEyePointStateNotify) GetSphereRadius() float32 {
	if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_SphereRadius); ok {
		return x.SphereRadius
	}
	return 0
}

func (x *PlayerEyePointStateNotify) GetCubicSize() *Vector {
	if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_CubicSize); ok {
		return x.CubicSize
	}
	return nil
}

func (x *PlayerEyePointStateNotify) GetCylinderSize() *CylinderRegionSize {
	if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_CylinderSize); ok {
		return x.CylinderSize
	}
	return nil
}

func (x *PlayerEyePointStateNotify) GetPolygonSize() *PolygonRegionSize {
	if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_PolygonSize); ok {
		return x.PolygonSize
	}
	return nil
}

type isPlayerEyePointStateNotify_RegionSize interface {
	isPlayerEyePointStateNotify_RegionSize()
}

type PlayerEyePointStateNotify_SphereRadius struct {
	SphereRadius float32 `protobuf:"fixed32,255,opt,name=sphere_radius,json=sphereRadius,proto3,oneof"`
}

type PlayerEyePointStateNotify_CubicSize struct {
	CubicSize *Vector `protobuf:"bytes,1823,opt,name=cubic_size,json=cubicSize,proto3,oneof"`
}

type PlayerEyePointStateNotify_CylinderSize struct {
	CylinderSize *CylinderRegionSize `protobuf:"bytes,1862,opt,name=cylinder_size,json=cylinderSize,proto3,oneof"`
}

type PlayerEyePointStateNotify_PolygonSize struct {
	PolygonSize *PolygonRegionSize `protobuf:"bytes,877,opt,name=polygon_size,json=polygonSize,proto3,oneof"`
}

func (*PlayerEyePointStateNotify_SphereRadius) isPlayerEyePointStateNotify_RegionSize() {}

func (*PlayerEyePointStateNotify_CubicSize) isPlayerEyePointStateNotify_RegionSize() {}

func (*PlayerEyePointStateNotify_CylinderSize) isPlayerEyePointStateNotify_RegionSize() {}

func (*PlayerEyePointStateNotify_PolygonSize) isPlayerEyePointStateNotify_RegionSize() {}

var File_PlayerEyePointStateNotify_proto protoreflect.FileDescriptor

var file_PlayerEyePointStateNotify_proto_rawDesc = []byte{
	0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x79, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74,
	0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x43, 0x79, 0x6c, 0x69, 0x6e, 0x64,
	0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x1a, 0x17, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f,
	0x6e, 0x53, 0x69, 0x7a, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63,
	0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x04, 0x0a, 0x19, 0x50, 0x6c,
	0x61, 0x79, 0x65, 0x72, 0x45, 0x79, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74,
	0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f,
	0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28,
	0x0d, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
	0x64, 0x12, 0x31, 0x0a, 0x0d, 0x65, 0x79, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70,
	0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x65, 0x79, 0x65, 0x50, 0x6f, 0x69, 0x6e,
	0x74, 0x50, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x65,
	0x79, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
	0x69, 0x73, 0x55, 0x73, 0x65, 0x45, 0x79, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x28, 0x0a,
	0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69,
	0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43,
	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f,
	0x6e, 0x5f, 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72,
	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73,
	0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x70,
	0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x46, 0x69, 0x6c, 0x74,
	0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x66,
	0x69, 0x78, 0x5f, 0x6c, 0x6f, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01,
	0x28, 0x05, 0x52, 0x0b, 0x66, 0x69, 0x78, 0x4c, 0x6f, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12,
	0x26, 0x0a, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
	0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
	0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0d, 0x73, 0x70, 0x68, 0x65, 0x72,
	0x65, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0xff, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48,
	0x00, 0x52, 0x0c, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12,
	0x2f, 0x0a, 0x0a, 0x63, 0x75, 0x62, 0x69, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x9f, 0x0e,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x65, 0x63,
	0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x09, 0x63, 0x75, 0x62, 0x69, 0x63, 0x53, 0x69, 0x7a, 0x65,
	0x12, 0x41, 0x0a, 0x0d, 0x63, 0x79, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a,
	0x65, 0x18, 0xc6, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x2e, 0x43, 0x79, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53,
	0x69, 0x7a, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x79, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x53,
	0x69, 0x7a, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x5f, 0x73,
	0x69, 0x7a, 0x65, 0x18, 0xed, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
	0x53, 0x69, 0x7a, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x53,
	0x69, 0x7a, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69,
	0x7a, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_PlayerEyePointStateNotify_proto_rawDescOnce sync.Once
	file_PlayerEyePointStateNotify_proto_rawDescData = file_PlayerEyePointStateNotify_proto_rawDesc
)

func file_PlayerEyePointStateNotify_proto_rawDescGZIP() []byte {
	file_PlayerEyePointStateNotify_proto_rawDescOnce.Do(func() {
		file_PlayerEyePointStateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerEyePointStateNotify_proto_rawDescData)
	})
	return file_PlayerEyePointStateNotify_proto_rawDescData
}

var file_PlayerEyePointStateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_PlayerEyePointStateNotify_proto_goTypes = []interface{}{
	(*PlayerEyePointStateNotify)(nil), // 0: proto.PlayerEyePointStateNotify
	(*Vector)(nil),                    // 1: proto.Vector
	(*CylinderRegionSize)(nil),        // 2: proto.CylinderRegionSize
	(*PolygonRegionSize)(nil),         // 3: proto.PolygonRegionSize
}
var file_PlayerEyePointStateNotify_proto_depIdxs = []int32{
	1, // 0: proto.PlayerEyePointStateNotify.eye_point_pos:type_name -> proto.Vector
	1, // 1: proto.PlayerEyePointStateNotify.cubic_size:type_name -> proto.Vector
	2, // 2: proto.PlayerEyePointStateNotify.cylinder_size:type_name -> proto.CylinderRegionSize
	3, // 3: proto.PlayerEyePointStateNotify.polygon_size:type_name -> proto.PolygonRegionSize
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_PlayerEyePointStateNotify_proto_init() }
func file_PlayerEyePointStateNotify_proto_init() {
	if File_PlayerEyePointStateNotify_proto != nil {
		return
	}
	file_CylinderRegionSize_proto_init()
	file_PolygonRegionSize_proto_init()
	file_Vector_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_PlayerEyePointStateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlayerEyePointStateNotify); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_PlayerEyePointStateNotify_proto_msgTypes[0].OneofWrappers = []interface{}{
		(*PlayerEyePointStateNotify_SphereRadius)(nil),
		(*PlayerEyePointStateNotify_CubicSize)(nil),
		(*PlayerEyePointStateNotify_CylinderSize)(nil),
		(*PlayerEyePointStateNotify_PolygonSize)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_PlayerEyePointStateNotify_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_PlayerEyePointStateNotify_proto_goTypes,
		DependencyIndexes: file_PlayerEyePointStateNotify_proto_depIdxs,
		MessageInfos:      file_PlayerEyePointStateNotify_proto_msgTypes,
	}.Build()
	File_PlayerEyePointStateNotify_proto = out.File
	file_PlayerEyePointStateNotify_proto_rawDesc = nil
	file_PlayerEyePointStateNotify_proto_goTypes = nil
	file_PlayerEyePointStateNotify_proto_depIdxs = nil
}
