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

Method MoveCVarsToDict

neo/framework/CVarSystem.cpp:870–879  ·  view source on GitHub ↗

============ idCVarSystemLocal::MoveCVarsToDict ============ */

Source from the content-addressed store, hash-verified

868============
869*/
870const idDict* idCVarSystemLocal::MoveCVarsToDict( int flags ) const {
871 moveCVarsToDict.Clear();
872 for( int i = 0; i < cvars.Num(); i++ ) {
873 idCVar *cvar = cvars[i];
874 if ( cvar->GetFlags() & flags ) {
875 moveCVarsToDict.Set( cvar->GetName(), cvar->GetString() );
876 }
877 }
878 return &moveCVarsToDict;
879}
880
881/*
882============

Callers 13

MapRestartMethod · 0.80
NextMapMethod · 0.80
NeedRestartMethod · 0.80
Session_RescanSI_fFunction · 0.80
StartNewGameMethod · 0.80
LoadGameMethod · 0.80
FrameMethod · 0.80
InitLocalClientMethod · 0.80
RunFrameMethod · 0.80
SendUserInfoToServerMethod · 0.80
MapRestartMethod · 0.80
NextMapMethod · 0.80

Calls 6

ClearMethod · 0.45
NumMethod · 0.45
GetFlagsMethod · 0.45
SetMethod · 0.45
GetNameMethod · 0.45
GetStringMethod · 0.45

Tested by

no test coverage detected