OpenTTD Source  20240919-master-gdf0233f4c2
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: