-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmd_string.go
More file actions
35 lines (28 loc) · 1016 Bytes
/
cmd_string.go
File metadata and controls
35 lines (28 loc) · 1016 Bytes
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
31
32
33
34
35
// Copyright 2022 TrueLevel SA
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
// Code generated by "stringer -linecomment -type Cmd ./cmd.go"; DO NOT EDIT.
package nd300
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[SingleMachinePayout-16]
_ = x[RequestMachineStatus-17]
_ = x[ResetDispenser-18]
_ = x[MultipleMachinesPayout-19]
}
const _Cmd_name = "machine payoutmachine statusmachine resetmultiple machines payout"
var _Cmd_index = [...]uint8{0, 14, 28, 41, 65}
func (i Cmd) String() string {
i -= 16
if i >= Cmd(len(_Cmd_index)-1) {
return "Cmd(" + strconv.FormatInt(int64(i+16), 10) + ")"
}
return _Cmd_name[_Cmd_index[i]:_Cmd_index[i+1]]
}