26 lines
756 B
Go
26 lines
756 B
Go
// Code generated by "stringer -type=FeatureName"; DO NOT EDIT.
|
|
|
|
package main
|
|
|
|
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[UnknownFeature-0]
|
|
_ = x[VoiceChatAnnounceFeature-1]
|
|
_ = x[BirthdayAnnounceFeature-2]
|
|
}
|
|
|
|
const _FeatureName_name = "UnknownFeatureVoiceChatAnnounceFeatureBirthdayAnnounceFeature"
|
|
|
|
var _FeatureName_index = [...]uint8{0, 14, 38, 61}
|
|
|
|
func (i FeatureName) String() string {
|
|
if i < 0 || i >= FeatureName(len(_FeatureName_index)-1) {
|
|
return "FeatureName(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _FeatureName_name[_FeatureName_index[i]:_FeatureName_index[i+1]]
|
|
}
|