7 #ifndef CAFU_CONSOLE_FUNCTIONS_HPP_INCLUDED
8 #define CAFU_CONSOLE_FUNCTIONS_HPP_INCLUDED
26 FLAG_MAIN_EXE = 0x0001,
28 FLAG_SOUNDSYS = 0x0004,
29 FLAG_GAMEDLL = 0x0008,
36 ConFuncT(
const std::string& Name_, lua_CFunction ExecCallback_,
const unsigned long Flags_,
const std::string& Description_);
42 const std::string& GetName()
const {
return Name; }
43 const std::string& GetDescription()
const {
return Description; }
44 unsigned long GetFlags()
const {
return Flags; }
59 const std::string Name;
60 const std::string Description;
62 lua_CFunction LuaCFunction;
FlagT
Definition: ConFunc.hpp:22
This class provides an implementation for the ConsoleInterpreterI interface.
Definition: ConsoleInterpreterImpl.hpp:33
Use of this function is considered a cheat.
Definition: ConFunc.hpp:31
static void RegisterStaticList()
Registers all convars in the StaticList with the ConsoleInterpreter and invalidates the StaticList...
Definition: ConFunc.cpp:29
~ConFuncT()
The destructor.
Definition: ConFunc.cpp:64
Definition: ConFunc.hpp:18
ConFuncT(const std::string &Name_, lua_CFunction ExecCallback_, const unsigned long Flags_, const std::string &Description_)
The constructor.
Definition: ConFunc.cpp:43