8 lines
195 B
C++
8 lines
195 B
C++
|
#pragma once
|
||
|
|
||
|
namespace client_command
|
||
|
{
|
||
|
using callback = std::function<void(game::gentity_s* ent, const command::params_sv& params)>;
|
||
|
void add(const std::string& name, const callback& cmd);
|
||
|
}
|