MCPcopy Create free account
hub / github.com/DFHack/dfhack / command_result

Enum command_result

library/include/CoreDefs.h:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10
11 enum command_result
12 {
13 CR_LINK_FAILURE = -3, // RPC call failed due to I/O or protocol error
14 CR_NEEDS_CONSOLE = -2, // Attempt to call interactive command without console
15 CR_NOT_IMPLEMENTED = -1, // Command not implemented, or plugin not loaded
16 CR_OK = 0, // Success
17 CR_FAILURE = 1, // Failure
18 CR_WRONG_USAGE = 2, // Wrong arguments or ui state
19 CR_NOT_FOUND = 3 // Target object not found (for RPC mainly)
20 };
21
22 enum state_change_event
23 {

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected