t7x/src/client/component/client_command.hpp

8 lines
195 B
C++
Raw Normal View History

2023-01-09 10:53:51 -05:00
#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);
}