MCPcopy Create free account
hub / github.com/demoth/jake2 / eachCvarByFlags

Method eachCvarByFlags

qcommon/src/main/java/jake2/qcommon/exec/Cvar.java:345–351  ·  view source on GitHub ↗
(int flags, Consumer<cvar_t> consumer)

Source from the content-addressed store, hash-verified

343 }
344
345 public void eachCvarByFlags(int flags, Consumer<cvar_t> consumer) {
346 for (cvar_t var : cvarMap.values()) {
347 if (0 != (var.flags & flags)) {
348 consumer.accept(var);
349 }
350 }
351 }
352
353 /**
354 * Any variables with latched values will be updated.

Callers 1

SV_WriteServerFileMethod · 0.80

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected