-
Notifications
You must be signed in to change notification settings - Fork 0
/
claimtype_string.go
30 lines (24 loc) · 983 Bytes
/
claimtype_string.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
// Code generated by "stringer -type=ClaimType"; DO NOT EDIT.
package packets
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[TypeNodeJoinClaim-1]
_ = x[TypeNodeAnnounceClaim-2]
_ = x[TypeCapabilityPollingAndActivation-3]
_ = x[TypeNodeViolationBlame-4]
_ = x[TypeNodeBroadcast-5]
_ = x[TypeNodeLeaveClaim-6]
_ = x[TypeChangeNetworkClaim-7]
}
const _ClaimType_name = "TypeNodeJoinClaimTypeNodeAnnounceClaimTypeCapabilityPollingAndActivationTypeNodeViolationBlameTypeNodeBroadcastTypeNodeLeaveClaimTypeChangeNetworkClaim"
var _ClaimType_index = [...]uint8{0, 17, 38, 72, 94, 111, 129, 151}
func (i ClaimType) String() string {
i -= 1
if i >= ClaimType(len(_ClaimType_index)-1) {
return "ClaimType(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _ClaimType_name[_ClaimType_index[i]:_ClaimType_index[i+1]]
}