MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / ~CommandImpl

Method ~CommandImpl

core/logic_bridge.cpp:749–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747}
748
749CoreProviderImpl::CommandImpl::~CommandImpl()
750{
751 hook_ = nullptr;
752
753 g_SMAPI->UnregisterConCommandBase(g_PLAPI, cmd_);
754 delete [] const_cast<char *>(cmd_->GetHelpText());
755 delete [] const_cast<char *>(cmd_->GetName());
756 delete cmd_;
757}
758
759void
760CoreProviderImpl::DefineCommand(const char *name, const char *help, const CommandFunc &callback)

Callers

nothing calls this directly

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected