OpenTTD Source  20241108-master-g80f628063a
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: