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

#include <ServerAssets.hpp>

Public Member Functions

 ServerAssets (IFileSystem *files)
 
void Mount (std::string_view plugin)
 
void Unmount (std::string_view plugin)
 

Detailed Description

Each plugin's server-assets folder on the game's search path while the plugin is loaded, ahead of the game's VPKs, which beat loose files under game/csgo. Weapon subclasses apply from the next map.

Definition at line 14 of file ServerAssets.hpp.

Constructor & Destructor Documentation

◆ ServerAssets()

VoltMod::ServerAssets::ServerAssets ( IFileSystem *  files)
inlineexplicit

Null files mounts nothing.

Definition at line 18 of file ServerAssets.hpp.

Member Function Documentation

◆ Mount()

void VoltMod::ServerAssets::Mount ( std::string_view  plugin)

◆ Unmount()

void VoltMod::ServerAssets::Unmount ( std::string_view  plugin)

Definition at line 24 of file ServerAssets.cpp.

References VoltMod::ReadFile().


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