MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / ckpt_progress_set

Function ckpt_progress_set

common/script/progress_api.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void ckpt_progress_set(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
63{
64 const ScriptArgs args(Parser, Param, NumArgs, "progress_set");
65 const size_t layer = layerArg(args);
66 ScriptConsole::get().setLayer(layer, args.num(1));
67}
68
69void ckpt_progress_label(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
70{

Callers

nothing calls this directly

Calls 4

layerArgFunction · 0.85
getFunction · 0.85
setLayerMethod · 0.80
numMethod · 0.80

Tested by

no test coverage detected