]> git.lizzy.rs Git - mt.git/blob - liquidtype_string.go
Add WaitGroup to SerializePkt
[mt.git] / liquidtype_string.go
1 // Code generated by "stringer -type LiquidType"; DO NOT EDIT.
2
3 package mt
4
5 import "strconv"
6
7 func _() {
8         // An "invalid array index" compiler error signifies that the constant values have changed.
9         // Re-run the stringer command to generate them again.
10         var x [1]struct{}
11         _ = x[NotALiquid-0]
12         _ = x[FlowingLiquid-1]
13         _ = x[LiquidSrc-2]
14 }
15
16 const _LiquidType_name = "NotALiquidFlowingLiquidLiquidSrc"
17
18 var _LiquidType_index = [...]uint8{0, 10, 23, 32}
19
20 func (i LiquidType) String() string {
21         if i >= LiquidType(len(_LiquidType_index)-1) {
22                 return "LiquidType(" + strconv.FormatInt(int64(i), 10) + ")"
23         }
24         return _LiquidType_name[_LiquidType_index[i]:_LiquidType_index[i+1]]
25 }