|
enum | FlagT {
FLAG_ALL = -1,
FLAG_MAIN_EXE = 0x0001,
FLAG_MATSYS = 0x0002,
FLAG_SOUNDSYS = 0x0004,
FLAG_GAMEDLL = 0x0008,
FLAG_CHEAT = 0x0080
} |
|
|
| ConFuncT (const std::string &Name_, lua_CFunction ExecCallback_, const unsigned long Flags_, const std::string &Description_) |
| The constructor. More...
|
|
| ~ConFuncT () |
| The destructor. More...
|
|
const std::string & | GetName () const |
|
const std::string & | GetDescription () const |
|
unsigned long | GetFlags () const |
|
|
static void | RegisterStaticList () |
| Registers all convars in the StaticList with the ConsoleInterpreter and invalidates the StaticList. More...
|
|
Enumerator |
---|
FLAG_CHEAT |
Use of this function is considered a cheat.
|
ConFuncT::ConFuncT |
( |
const std::string & |
Name_, |
|
|
lua_CFunction |
ExecCallback_, |
|
|
const unsigned long |
Flags_, |
|
|
const std::string & |
Description_ |
|
) |
| |
void ConFuncT::RegisterStaticList |
( |
| ) |
|
|
static |
Registers all convars in the StaticList with the ConsoleInterpreter and invalidates the StaticList.
This has to be called after the ConsoleInterpreter pointer is set when the dll is first initialized! The ctors of all convars that are instantiated after this call (those that are declared as local (static) variables) then automatically register themselves with the ConsoleInterpreter rather than with the StaticList.
Give the implementation of the console interpreter full access.
The documentation for this class was generated from the following files:
- Libs/ConsoleCommands/ConFunc.hpp
- Libs/ConsoleCommands/ConFunc.cpp