OpenTTD Source: RecursiveCommandCounter Struct Reference

OpenTTD Source 14.1

Public Member Functions | Static Private Attributes
RecursiveCommandCounter Struct Reference

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

## Detailed Description

Helper class to keep track of command nesting level.

Definition at line 68 of file command_func.h.

The documentation for this struct was generated from the following files:

- src/command_func.h
- src/command.cpp