// 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 . // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.14.0 // source: ServerBuffChangeNotify.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) ) type ServerBuffChangeNotify_ServerBuffChangeType int32 const ( ServerBuffChangeNotify_SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF ServerBuffChangeNotify_ServerBuffChangeType = 0 ServerBuffChangeNotify_SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF ServerBuffChangeNotify_ServerBuffChangeType = 1 ) // Enum value maps for ServerBuffChangeNotify_ServerBuffChangeType. var ( ServerBuffChangeNotify_ServerBuffChangeType_name = map[int32]string{ 0: "SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF", 1: "SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF", } ServerBuffChangeNotify_ServerBuffChangeType_value = map[string]int32{ "SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF": 0, "SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF": 1, } ) func (x ServerBuffChangeNotify_ServerBuffChangeType) Enum() *ServerBuffChangeNotify_ServerBuffChangeType { p := new(ServerBuffChangeNotify_ServerBuffChangeType) *p = x return p } func (x ServerBuffChangeNotify_ServerBuffChangeType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ServerBuffChangeNotify_ServerBuffChangeType) Descriptor() protoreflect.EnumDescriptor { return file_ServerBuffChangeNotify_proto_enumTypes[0].Descriptor() } func (ServerBuffChangeNotify_ServerBuffChangeType) Type() protoreflect.EnumType { return &file_ServerBuffChangeNotify_proto_enumTypes[0] } func (x ServerBuffChangeNotify_ServerBuffChangeType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ServerBuffChangeNotify_ServerBuffChangeType.Descriptor instead. func (ServerBuffChangeNotify_ServerBuffChangeType) EnumDescriptor() ([]byte, []int) { return file_ServerBuffChangeNotify_proto_rawDescGZIP(), []int{0, 0} } // CmdId: 361 // EnetChannelId: 0 // EnetIsReliable: true type ServerBuffChangeNotify struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ServerBuffChangeType ServerBuffChangeNotify_ServerBuffChangeType `protobuf:"varint,7,opt,name=server_buff_change_type,json=serverBuffChangeType,proto3,enum=proto.ServerBuffChangeNotify_ServerBuffChangeType" json:"server_buff_change_type,omitempty"` IsCreatureBuff bool `protobuf:"varint,10,opt,name=is_creature_buff,json=isCreatureBuff,proto3" json:"is_creature_buff,omitempty"` EntityIdList []uint32 `protobuf:"varint,1,rep,packed,name=entity_id_list,json=entityIdList,proto3" json:"entity_id_list,omitempty"` AvatarGuidList []uint64 `protobuf:"varint,12,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` ServerBuffList []*ServerBuff `protobuf:"bytes,11,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` } func (x *ServerBuffChangeNotify) Reset() { *x = ServerBuffChangeNotify{} if protoimpl.UnsafeEnabled { mi := &file_ServerBuffChangeNotify_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerBuffChangeNotify) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerBuffChangeNotify) ProtoMessage() {} func (x *ServerBuffChangeNotify) ProtoReflect() protoreflect.Message { mi := &file_ServerBuffChangeNotify_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 ServerBuffChangeNotify.ProtoReflect.Descriptor instead. func (*ServerBuffChangeNotify) Descriptor() ([]byte, []int) { return file_ServerBuffChangeNotify_proto_rawDescGZIP(), []int{0} } func (x *ServerBuffChangeNotify) GetServerBuffChangeType() ServerBuffChangeNotify_ServerBuffChangeType { if x != nil { return x.ServerBuffChangeType } return ServerBuffChangeNotify_SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF } func (x *ServerBuffChangeNotify) GetIsCreatureBuff() bool { if x != nil { return x.IsCreatureBuff } return false } func (x *ServerBuffChangeNotify) GetEntityIdList() []uint32 { if x != nil { return x.EntityIdList } return nil } func (x *ServerBuffChangeNotify) GetAvatarGuidList() []uint64 { if x != nil { return x.AvatarGuidList } return nil } func (x *ServerBuffChangeNotify) GetServerBuffList() []*ServerBuff { if x != nil { return x.ServerBuffList } return nil } var File_ServerBuffChangeNotify_proto protoreflect.FileDescriptor var file_ServerBuffChangeNotify_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x03, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x69, 0x0a, 0x17, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x14, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x75, 0x66, 0x66, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x70, 0x0a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x10, 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_ServerBuffChangeNotify_proto_rawDescOnce sync.Once file_ServerBuffChangeNotify_proto_rawDescData = file_ServerBuffChangeNotify_proto_rawDesc ) func file_ServerBuffChangeNotify_proto_rawDescGZIP() []byte { file_ServerBuffChangeNotify_proto_rawDescOnce.Do(func() { file_ServerBuffChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerBuffChangeNotify_proto_rawDescData) }) return file_ServerBuffChangeNotify_proto_rawDescData } var file_ServerBuffChangeNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_ServerBuffChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_ServerBuffChangeNotify_proto_goTypes = []interface{}{ (ServerBuffChangeNotify_ServerBuffChangeType)(0), // 0: proto.ServerBuffChangeNotify.ServerBuffChangeType (*ServerBuffChangeNotify)(nil), // 1: proto.ServerBuffChangeNotify (*ServerBuff)(nil), // 2: proto.ServerBuff } var file_ServerBuffChangeNotify_proto_depIdxs = []int32{ 0, // 0: proto.ServerBuffChangeNotify.server_buff_change_type:type_name -> proto.ServerBuffChangeNotify.ServerBuffChangeType 2, // 1: proto.ServerBuffChangeNotify.server_buff_list:type_name -> proto.ServerBuff 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_ServerBuffChangeNotify_proto_init() } func file_ServerBuffChangeNotify_proto_init() { if File_ServerBuffChangeNotify_proto != nil { return } file_ServerBuff_proto_init() if !protoimpl.UnsafeEnabled { file_ServerBuffChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerBuffChangeNotify); 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_ServerBuffChangeNotify_proto_rawDesc, NumEnums: 1, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_ServerBuffChangeNotify_proto_goTypes, DependencyIndexes: file_ServerBuffChangeNotify_proto_depIdxs, EnumInfos: file_ServerBuffChangeNotify_proto_enumTypes, MessageInfos: file_ServerBuffChangeNotify_proto_msgTypes, }.Build() File_ServerBuffChangeNotify_proto = out.File file_ServerBuffChangeNotify_proto_rawDesc = nil file_ServerBuffChangeNotify_proto_goTypes = nil file_ServerBuffChangeNotify_proto_depIdxs = nil }