summaryrefslogtreecommitdiff
path: root/attr_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'attr_string.go')
-rw-r--r--attr_string.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/attr_string.go b/attr_string.go
new file mode 100644
index 0000000..1cfbaa6
--- /dev/null
+++ b/attr_string.go
@@ -0,0 +1,16 @@
+// Code generated by "stringer -type=Attr"; DO NOT EDIT
+
+package main
+
+import "fmt"
+
+const _Attr_name = "CHACONDEXHPMaxINTMPMaxSTRWIS"
+
+var _Attr_index = [...]uint8{0, 3, 6, 9, 14, 17, 22, 25, 28}
+
+func (i Attr) String() string {
+ if i < 0 || i >= Attr(len(_Attr_index)-1) {
+ return fmt.Sprintf("Attr(%d)", i)
+ }
+ return _Attr_name[_Attr_index[i]:_Attr_index[i+1]]
+}