mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-13 18:12:27 +08:00
init commit
This commit is contained in:
289
gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.pb.go
Normal file
289
gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.pb.go
Normal file
@@ -0,0 +1,289 @@
|
||||
// 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.7.0
|
||||
// source: MassiveEntityElementOpBatchNotify.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: 357
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
// IsAllowClient: true
|
||||
type MassiveEntityElementOpBatchNotify struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
EntityType int32 `protobuf:"varint,6,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
|
||||
OpIdx uint32 `protobuf:"varint,9,opt,name=op_idx,json=opIdx,proto3" json:"op_idx,omitempty"`
|
||||
UserId uint32 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
AttackerId uint32 `protobuf:"varint,3,opt,name=attacker_id,json=attackerId,proto3" json:"attacker_id,omitempty"`
|
||||
SourceElementType int32 `protobuf:"varint,12,opt,name=source_element_type,json=sourceElementType,proto3" json:"source_element_type,omitempty"`
|
||||
ReactionSourceType int32 `protobuf:"varint,4,opt,name=reaction_source_type,json=reactionSourceType,proto3" json:"reaction_source_type,omitempty"`
|
||||
AttackElementDurability float32 `protobuf:"fixed32,7,opt,name=attack_element_durability,json=attackElementDurability,proto3" json:"attack_element_durability,omitempty"`
|
||||
// Types that are assignable to CheckShape:
|
||||
// *MassiveEntityElementOpBatchNotify_ShapeSphere
|
||||
// *MassiveEntityElementOpBatchNotify_ShapeBox
|
||||
CheckShape isMassiveEntityElementOpBatchNotify_CheckShape `protobuf_oneof:"check_shape"`
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) Reset() {
|
||||
*x = MassiveEntityElementOpBatchNotify{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MassiveEntityElementOpBatchNotify) ProtoMessage() {}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_MassiveEntityElementOpBatchNotify_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 MassiveEntityElementOpBatchNotify.ProtoReflect.Descriptor instead.
|
||||
func (*MassiveEntityElementOpBatchNotify) Descriptor() ([]byte, []int) {
|
||||
return file_MassiveEntityElementOpBatchNotify_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetEntityType() int32 {
|
||||
if x != nil {
|
||||
return x.EntityType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetOpIdx() uint32 {
|
||||
if x != nil {
|
||||
return x.OpIdx
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetUserId() uint32 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetAttackerId() uint32 {
|
||||
if x != nil {
|
||||
return x.AttackerId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetSourceElementType() int32 {
|
||||
if x != nil {
|
||||
return x.SourceElementType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetReactionSourceType() int32 {
|
||||
if x != nil {
|
||||
return x.ReactionSourceType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetAttackElementDurability() float32 {
|
||||
if x != nil {
|
||||
return x.AttackElementDurability
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *MassiveEntityElementOpBatchNotify) GetCheckShape() isMassiveEntityElementOpBatchNotify_CheckShape {
|
||||
if m != nil {
|
||||
return m.CheckShape
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetShapeSphere() *ShapeSphere {
|
||||
if x, ok := x.GetCheckShape().(*MassiveEntityElementOpBatchNotify_ShapeSphere); ok {
|
||||
return x.ShapeSphere
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MassiveEntityElementOpBatchNotify) GetShapeBox() *ShapeBox {
|
||||
if x, ok := x.GetCheckShape().(*MassiveEntityElementOpBatchNotify_ShapeBox); ok {
|
||||
return x.ShapeBox
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isMassiveEntityElementOpBatchNotify_CheckShape interface {
|
||||
isMassiveEntityElementOpBatchNotify_CheckShape()
|
||||
}
|
||||
|
||||
type MassiveEntityElementOpBatchNotify_ShapeSphere struct {
|
||||
ShapeSphere *ShapeSphere `protobuf:"bytes,10,opt,name=shape_sphere,json=shapeSphere,proto3,oneof"`
|
||||
}
|
||||
|
||||
type MassiveEntityElementOpBatchNotify_ShapeBox struct {
|
||||
ShapeBox *ShapeBox `protobuf:"bytes,2,opt,name=shape_box,json=shapeBox,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*MassiveEntityElementOpBatchNotify_ShapeSphere) isMassiveEntityElementOpBatchNotify_CheckShape() {
|
||||
}
|
||||
|
||||
func (*MassiveEntityElementOpBatchNotify_ShapeBox) isMassiveEntityElementOpBatchNotify_CheckShape() {}
|
||||
|
||||
var File_MassiveEntityElementOpBatchNotify_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_MassiveEntityElementOpBatchNotify_proto_rawDesc = []byte{
|
||||
0x0a, 0x27, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45,
|
||||
0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74,
|
||||
0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x53, 0x68, 0x61, 0x70, 0x65,
|
||||
0x42, 0x6f, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x53, 0x68, 0x61, 0x70, 0x65,
|
||||
0x53, 0x70, 0x68, 0x65, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x03, 0x0a,
|
||||
0x21, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x6c,
|
||||
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69,
|
||||
0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x78, 0x18, 0x09, 0x20,
|
||||
0x01, 0x28, 0x0d, 0x52, 0x05, 0x6f, 0x70, 0x49, 0x64, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,
|
||||
0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65,
|
||||
0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x12, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72,
|
||||
0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c,
|
||||
0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x17, 0x61, 0x74, 0x74, 0x61, 0x63,
|
||||
0x6b, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69,
|
||||
0x74, 0x79, 0x12, 0x31, 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x73, 0x70, 0x68, 0x65,
|
||||
0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x53, 0x68, 0x61, 0x70, 0x65,
|
||||
0x53, 0x70, 0x68, 0x65, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x70, 0x65, 0x53,
|
||||
0x70, 0x68, 0x65, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x62,
|
||||
0x6f, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x53, 0x68, 0x61, 0x70, 0x65,
|
||||
0x42, 0x6f, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x68, 0x61, 0x70, 0x65, 0x42, 0x6f, 0x78, 0x42,
|
||||
0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x68, 0x61, 0x70, 0x65, 0x42, 0x0a,
|
||||
0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_MassiveEntityElementOpBatchNotify_proto_rawDescOnce sync.Once
|
||||
file_MassiveEntityElementOpBatchNotify_proto_rawDescData = file_MassiveEntityElementOpBatchNotify_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_MassiveEntityElementOpBatchNotify_proto_rawDescGZIP() []byte {
|
||||
file_MassiveEntityElementOpBatchNotify_proto_rawDescOnce.Do(func() {
|
||||
file_MassiveEntityElementOpBatchNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveEntityElementOpBatchNotify_proto_rawDescData)
|
||||
})
|
||||
return file_MassiveEntityElementOpBatchNotify_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_MassiveEntityElementOpBatchNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_MassiveEntityElementOpBatchNotify_proto_goTypes = []interface{}{
|
||||
(*MassiveEntityElementOpBatchNotify)(nil), // 0: MassiveEntityElementOpBatchNotify
|
||||
(*ShapeSphere)(nil), // 1: ShapeSphere
|
||||
(*ShapeBox)(nil), // 2: ShapeBox
|
||||
}
|
||||
var file_MassiveEntityElementOpBatchNotify_proto_depIdxs = []int32{
|
||||
1, // 0: MassiveEntityElementOpBatchNotify.shape_sphere:type_name -> ShapeSphere
|
||||
2, // 1: MassiveEntityElementOpBatchNotify.shape_box:type_name -> ShapeBox
|
||||
2, // [2:2] is the sub-list for method output_type
|
||||
2, // [2:2] is the sub-list for method input_type
|
||||
2, // [2:2] is the sub-list for extension type_name
|
||||
2, // [2:2] is the sub-list for extension extendee
|
||||
0, // [0:2] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_MassiveEntityElementOpBatchNotify_proto_init() }
|
||||
func file_MassiveEntityElementOpBatchNotify_proto_init() {
|
||||
if File_MassiveEntityElementOpBatchNotify_proto != nil {
|
||||
return
|
||||
}
|
||||
file_ShapeBox_proto_init()
|
||||
file_ShapeSphere_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MassiveEntityElementOpBatchNotify); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0].OneofWrappers = []interface{}{
|
||||
(*MassiveEntityElementOpBatchNotify_ShapeSphere)(nil),
|
||||
(*MassiveEntityElementOpBatchNotify_ShapeBox)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_MassiveEntityElementOpBatchNotify_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_MassiveEntityElementOpBatchNotify_proto_goTypes,
|
||||
DependencyIndexes: file_MassiveEntityElementOpBatchNotify_proto_depIdxs,
|
||||
MessageInfos: file_MassiveEntityElementOpBatchNotify_proto_msgTypes,
|
||||
}.Build()
|
||||
File_MassiveEntityElementOpBatchNotify_proto = out.File
|
||||
file_MassiveEntityElementOpBatchNotify_proto_rawDesc = nil
|
||||
file_MassiveEntityElementOpBatchNotify_proto_goTypes = nil
|
||||
file_MassiveEntityElementOpBatchNotify_proto_depIdxs = nil
|
||||
}
|
||||
Reference in New Issue
Block a user