28 return Set(
key, value ? std::string_view(value) : std::string_view{});
Spawn keyvalues such as "origin", "spawnflags" or "effect_name".
KeyValues & operator=(const KeyValues &)=delete
KeyValues & Set(std::string_view key, const char *value)
KeyValues & Set(std::string_view key, std::string_view value)
CEntityKeyValues * Raw() const
KeyValues(const KeyValues &)=delete
CEntityKeyValues * Detach()
static std::string ReadFile(const std::filesystem::path &path)
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.