VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::PlayerLanguages Class Referenceabstract

#include <PlayerLanguages.hpp>

Inheritance diagram for VoltMod::PlayerLanguages:

Public Member Functions

virtual std::string_view Language (int slot) const =0
virtual void SetLanguage (int slot, std::string_view lang)=0

Protected Member Functions

 ~PlayerLanguages ()=default

Detailed Description

Each player's language, which Translations reads and writes. Game thread only.

Definition at line 9 of file PlayerLanguages.hpp.

Constructor & Destructor Documentation

◆ ~PlayerLanguages()

VoltMod::PlayerLanguages::~PlayerLanguages ( )
protecteddefault

Member Function Documentation

◆ Language()

virtual std::string_view VoltMod::PlayerLanguages::Language ( int slot) const
pure virtual

◆ SetLanguage()

virtual void VoltMod::PlayerLanguages::SetLanguage ( int slot,
std::string_view lang )
pure virtual

Empty clears it.

Implemented in VoltMod::Internal::HostPlayerLanguages.


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