MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Cvar_CommandCompletion

Function Cvar_CommandCompletion

code/qcommon/cvar.cpp:204–214  ·  view source on GitHub ↗

============ Cvar_CommandCompletion ============ */

Source from the content-addressed store, hash-verified

202============
203*/
204void Cvar_CommandCompletion( callbackFunc_t callback ) {
205 cvar_t *cvar;
206
207 for ( cvar = cvar_vars ; cvar ; cvar = cvar->next ) {
208 if ( (cvar->flags & CVAR_CHEAT) && !cvar_cheats->integer )
209 {
210 continue;
211 }
212 callback( cvar->name );
213 }
214}
215
216/*
217============

Callers 1

Field_CompleteCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected