VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Authorized Struct Reference

A caller/target pair that cleared Policy::Authorize. More...

#include <Policy.hpp>

Public Attributes

Player & Caller
 
Player * Target = nullptr
 

Detailed Description

A caller/target pair that cleared Policy::Authorize.

Only Policy::Authorize produces one, so a function taking an Authorized is stating in its signature that the check has already happened. Both players are connected for the length of the call; Target is null when the action has no target.

Definition at line 22 of file Policy.hpp.

Member Data Documentation

◆ Caller

Player& VoltMod::Authorized::Caller

Definition at line 24 of file Policy.hpp.

Referenced by VoltMod::Policy::Authorize().

◆ Target

Player* VoltMod::Authorized::Target = nullptr

Definition at line 25 of file Policy.hpp.


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