-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExtType.go
47 lines (40 loc) · 1.04 KB
/
ExtType.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package content
import "strconv"
type ExtType uint32
const (
ExtTypeNone ExtType = 0
ExtTypeNode ExtType = 1
ExtTypeReport ExtType = 2
ExtTypeException ExtType = 3
ExtTypePlay ExtType = 4
ExtTypeFeedback ExtType = 5
ExtTypePin ExtType = 6
ExtTypeMax ExtType = 7
)
var EnumNamesExtType = map[ExtType]string{
ExtTypeNone: "None",
ExtTypeNode: "Node",
ExtTypeReport: "Report",
ExtTypeException: "Exception",
ExtTypePlay: "Play",
ExtTypeFeedback: "Feedback",
ExtTypePin: "Pin",
ExtTypeMax: "Max",
}
var EnumValuesExtType = map[string]ExtType{
"None": ExtTypeNone,
"Node": ExtTypeNode,
"Report": ExtTypeReport,
"Exception": ExtTypeException,
"Play": ExtTypePlay,
"Feedback": ExtTypeFeedback,
"Pin": ExtTypePin,
"Max": ExtTypeMax,
}
func (v ExtType) String() string {
if s, ok := EnumNamesExtType[v]; ok {
return s
}
return "ExtType(" + strconv.FormatInt(int64(v), 10) + ")"
}