MCPcopy Create free account
hub / github.com/cuberite/cuberite / BindCommand

Method BindCommand

src/Bindings/PluginLua.cpp:1681–1685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1679
1680
1681void cPluginLua::BindCommand(const AString & a_Command, int a_FnRef)
1682{
1683 ASSERT(m_Commands.find(a_Command) == m_Commands.end());
1684 m_Commands[a_Command] = a_FnRef;
1685}
1686
1687
1688

Callers 1

Calls 1

endMethod · 0.80

Tested by

no test coverage detected