#pragma once namespace Components { class VisionFile : public Component { public: VisionFile(); private: static std::vector DvarExceptions; static std::unordered_map 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(); }; }