23 KeyValues&
Set(std::string_view key, std::string_view value);
28 return Set(key, value ? std::string_view(value) : std::string_view{});
39 CEntityKeyValues*
Raw()
const {
return _kv; }
42 CEntityKeyValues*
Detach();
45 CEntityKeyValues* _kv;
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()
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.