1 // Code generated by "stringer -linecomment -type PlayerListUpdateType"; DO NOT EDIT.
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
13 _ = x[RemovePlayers-2]
16 const _PlayerListUpdateType_name = "initaddremove"
18 var _PlayerListUpdateType_index = [...]uint8{0, 4, 7, 13}
20 func (i PlayerListUpdateType) String() string {
21 if i >= PlayerListUpdateType(len(_PlayerListUpdateType_index)-1) {
22 return "PlayerListUpdateType(" + strconv.FormatInt(int64(i), 10) + ")"
24 return _PlayerListUpdateType_name[_PlayerListUpdateType_index[i]:_PlayerListUpdateType_index[i+1]]