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

#include <IPluginLanguages.hpp>

Inheritance diagram for VoltMod::IPluginLanguages:

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

 ~IPluginLanguages ()=default

Detailed Description

Each player's language, one table for every plugin. The host clears a slot when it changes hands.

Definition at line 9 of file IPluginLanguages.hpp.

Constructor & Destructor Documentation

◆ ~IPluginLanguages()

VoltMod::IPluginLanguages::~IPluginLanguages ( )
protecteddefault

Member Function Documentation

◆ Language()

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

Empty when no plugin has set one.

Implemented in VoltMod::LanguageTable.

◆ SetLanguage()

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

Empty clears it.

Implemented in VoltMod::LanguageTable.


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