|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Helper class to keep track of command nesting level. More...
#include <command_func.h>
Public Member Functions | |
| bool | IsTopLevel () const |
| Are we in the top-level command execution? | |
Static Private Attributes | |
| static int | _counter = 0 |
Helper class to keep track of command nesting level.
Definition at line 59 of file command_func.h.
|
inlinenoexcept |
Definition at line 60 of file command_func.h.
|
inlinenoexcept |
Definition at line 61 of file command_func.h.
|
inline |
Are we in the top-level command execution?
Definition at line 64 of file command_func.h.
Referenced by CommandHelper< Tcmd, Tret(*)(DoCommandFlags, Targs...), true >::Do().
|
staticprivate |
Definition at line 66 of file command_func.h.