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

Function plugin_rpcconnect

plugins/examples/rpc_example.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62DFhackCExport RPCService *plugin_rpcconnect(color_ostream &out) {
63 RPCService *svc = new RPCService();
64 svc->addFunction("RenameSquad", RenameSquad);
65 svc->addFunction("RenameUnit", RenameUnit);
66 svc->addFunction("RenameBuilding", RenameBuilding);
67 return svc;
68}

Callers 1

rpc_connectMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected