OpenTTD Source 20260421-master-gc2fbc6fdeb
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 ADMIN_STATUS_ACTIVE.

Definition at line 101 of file network_admin.h.

References ADMIN_STATUS_ACTIVE.


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