MCPcopy Create free account
hub / github.com/demoth/jake2 / AddCommand

Method AddCommand

qcommon/src/main/java/jake2/qcommon/exec/Cmd.java:231–233  ·  view source on GitHub ↗
(String cmd_name, Command function)

Source from the content-addressed store, hash-verified

229 }
230
231 public static void AddCommand(String cmd_name, Command function) {
232 AddCommand(cmd_name, function, false);
233 }
234
235 public static void AddCommand(String cmd_name, Command function, boolean replace) {
236 // fail if the command is a variable name

Callers 15

initMethod · 0.95
initMethod · 0.95
initMethod · 0.95
InitMethod · 0.95
InitMethod · 0.95
InitMethod · 0.95
InitLocalMethod · 0.95
InitMethod · 0.95
InitMethod · 0.95
InitInputMethod · 0.95
InitMethod · 0.95
InitMethod · 0.95

Calls 3

getInstanceMethod · 0.95
PrintfMethod · 0.95
VariableStringMethod · 0.80

Tested by 5

initMethod · 0.76
initMethod · 0.76
initMethod · 0.76
testSampleCommandMethod · 0.76