iw4x-client/src/Components/Modules/VisionFile.hpp
2022-07-23 22:16:26 +02:00

20 lines
511 B
C++

#pragma once
namespace Components
{
class VisionFile : public Component
{
public:
VisionFile();
private:
static std::vector<std::string> DvarExceptions;
static std::unordered_map<std::string, std::string> VisionReplacements;
static bool ApplyExemptDvar(const char* dvarName, const char** buffer, const char* filename);
static bool LoadVisionSettingsFromBuffer(const char* buffer, const char* filename, Game::visionSetVars_t* settings);
static bool LoadVisionSettingsFromBuffer_Stub();
};
}