iw4x-client/src/Components/Modules/Flags.hpp
2017-01-20 14:37:52 +01:00

23 lines
350 B
C++

#pragma once
namespace Components
{
class Flags : public Component
{
public:
Flags();
~Flags();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() override { return "Flags"; };
#endif
static bool HasFlag(std::string flag);
private:
static std::vector<std::string> EnabledFlags;
static void ParseFlags();
};
}