Files
hk4e-go/protocol/proto/LanguageType.pb.go
T
2022-11-24 22:47:24 +08:00

207 lines
8.0 KiB
Go

// 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: LanguageType.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 LanguageType int32
const (
LanguageType_LANGUAGE_TYPE_NONE LanguageType = 0
LanguageType_LANGUAGE_TYPE_EN LanguageType = 1
LanguageType_LANGUAGE_TYPE_SC LanguageType = 2
LanguageType_LANGUAGE_TYPE_TC LanguageType = 3
LanguageType_LANGUAGE_TYPE_FR LanguageType = 4
LanguageType_LANGUAGE_TYPE_DE LanguageType = 5
LanguageType_LANGUAGE_TYPE_ES LanguageType = 6
LanguageType_LANGUAGE_TYPE_PT LanguageType = 7
LanguageType_LANGUAGE_TYPE_RU LanguageType = 8
LanguageType_LANGUAGE_TYPE_JP LanguageType = 9
LanguageType_LANGUAGE_TYPE_KR LanguageType = 10
LanguageType_LANGUAGE_TYPE_TH LanguageType = 11
LanguageType_LANGUAGE_TYPE_VN LanguageType = 12
LanguageType_LANGUAGE_TYPE_ID LanguageType = 13
LanguageType_LANGUAGE_TYPE_TR LanguageType = 14
LanguageType_LANGUAGE_TYPE_IT LanguageType = 15
)
// Enum value maps for LanguageType.
var (
LanguageType_name = map[int32]string{
0: "LANGUAGE_TYPE_NONE",
1: "LANGUAGE_TYPE_EN",
2: "LANGUAGE_TYPE_SC",
3: "LANGUAGE_TYPE_TC",
4: "LANGUAGE_TYPE_FR",
5: "LANGUAGE_TYPE_DE",
6: "LANGUAGE_TYPE_ES",
7: "LANGUAGE_TYPE_PT",
8: "LANGUAGE_TYPE_RU",
9: "LANGUAGE_TYPE_JP",
10: "LANGUAGE_TYPE_KR",
11: "LANGUAGE_TYPE_TH",
12: "LANGUAGE_TYPE_VN",
13: "LANGUAGE_TYPE_ID",
14: "LANGUAGE_TYPE_TR",
15: "LANGUAGE_TYPE_IT",
}
LanguageType_value = map[string]int32{
"LANGUAGE_TYPE_NONE": 0,
"LANGUAGE_TYPE_EN": 1,
"LANGUAGE_TYPE_SC": 2,
"LANGUAGE_TYPE_TC": 3,
"LANGUAGE_TYPE_FR": 4,
"LANGUAGE_TYPE_DE": 5,
"LANGUAGE_TYPE_ES": 6,
"LANGUAGE_TYPE_PT": 7,
"LANGUAGE_TYPE_RU": 8,
"LANGUAGE_TYPE_JP": 9,
"LANGUAGE_TYPE_KR": 10,
"LANGUAGE_TYPE_TH": 11,
"LANGUAGE_TYPE_VN": 12,
"LANGUAGE_TYPE_ID": 13,
"LANGUAGE_TYPE_TR": 14,
"LANGUAGE_TYPE_IT": 15,
}
)
func (x LanguageType) Enum() *LanguageType {
p := new(LanguageType)
*p = x
return p
}
func (x LanguageType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (LanguageType) Descriptor() protoreflect.EnumDescriptor {
return file_LanguageType_proto_enumTypes[0].Descriptor()
}
func (LanguageType) Type() protoreflect.EnumType {
return &file_LanguageType_proto_enumTypes[0]
}
func (x LanguageType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use LanguageType.Descriptor instead.
func (LanguageType) EnumDescriptor() ([]byte, []int) {
return file_LanguageType_proto_rawDescGZIP(), []int{0}
}
var File_LanguageType_proto protoreflect.FileDescriptor
var file_LanguageType_proto_rawDesc = []byte{
0x0a, 0x12, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xf0, 0x02, 0x0a, 0x0c,
0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12,
0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f,
0x4e, 0x45, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45,
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41,
0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x43, 0x10, 0x02,
0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50,
0x45, 0x5f, 0x54, 0x43, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41,
0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x52, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10,
0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45,
0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54,
0x59, 0x50, 0x45, 0x5f, 0x45, 0x53, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47,
0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x54, 0x10, 0x07, 0x12, 0x14,
0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
0x52, 0x55, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45,
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x50, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41,
0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x52, 0x10, 0x0a,
0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50,
0x45, 0x5f, 0x54, 0x48, 0x10, 0x0b, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41,
0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, 0x4e, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10,
0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x44,
0x10, 0x0d, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54,
0x59, 0x50, 0x45, 0x5f, 0x54, 0x52, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47,
0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x54, 0x10, 0x0f, 0x42, 0x0a,
0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_LanguageType_proto_rawDescOnce sync.Once
file_LanguageType_proto_rawDescData = file_LanguageType_proto_rawDesc
)
func file_LanguageType_proto_rawDescGZIP() []byte {
file_LanguageType_proto_rawDescOnce.Do(func() {
file_LanguageType_proto_rawDescData = protoimpl.X.CompressGZIP(file_LanguageType_proto_rawDescData)
})
return file_LanguageType_proto_rawDescData
}
var file_LanguageType_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_LanguageType_proto_goTypes = []interface{}{
(LanguageType)(0), // 0: proto.LanguageType
}
var file_LanguageType_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_LanguageType_proto_init() }
func file_LanguageType_proto_init() {
if File_LanguageType_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_LanguageType_proto_rawDesc,
NumEnums: 1,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_LanguageType_proto_goTypes,
DependencyIndexes: file_LanguageType_proto_depIdxs,
EnumInfos: file_LanguageType_proto_enumTypes,
}.Build()
File_LanguageType_proto = out.File
file_LanguageType_proto_rawDesc = nil
file_LanguageType_proto_goTypes = nil
file_LanguageType_proto_depIdxs = nil
}