OpenTTD Source 20260621-master-g720d10536d
ServerNetworkAdminSocketHandler::ServerNetworkAdminSocketHandlerFilter Struct Reference

Filter for the IterateActive iterator. More...

#include <network_admin.h>

Public Member Functions

bool operator() (size_t index)
 Check whether the given admin is active.

Detailed Description

Filter for the IterateActive iterator.

Definition at line 95 of file network_admin.h.

Member Function Documentation

◆ operator()()

bool ServerNetworkAdminSocketHandler::ServerNetworkAdminSocketHandlerFilter::operator() ( size_t index)
inline

Check whether the given admin is active.

Parameters
indexThe index of the admin.
Returns
true iff the admin's status is AdminStatus::Active.

Definition at line 101 of file network_admin.h.

References Active.


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