Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1681
void 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
tolua_cPluginManager_BindCommand
Function · 0.45
Calls
1
end
Method · 0.80
Tested by
no test coverage detected