MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / SetCVarsFromDict

Method SetCVarsFromDict

neo/framework/CVarSystem.cpp:886–896  ·  view source on GitHub ↗

============ idCVarSystemLocal::SetCVarsFromDict ============ */

Source from the content-addressed store, hash-verified

884============
885*/
886void idCVarSystemLocal::SetCVarsFromDict( const idDict &dict ) {
887 idInternalCVar *internal;
888
889 for( int i = 0; i < dict.GetNumKeyVals(); i++ ) {
890 const idKeyValue *kv = dict.GetKeyVal( i );
891 internal = FindInternal( kv->GetKey() );
892 if ( internal ) {
893 internal->InternalServerSetString( kv->GetValue() );
894 }
895 }
896}
897
898/*
899============

Callers 2

SendUserInfoBroadcastMethod · 0.80

Calls 4

GetNumKeyValsMethod · 0.45
GetKeyValMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected