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

Method CopyToDefer

qcommon/src/main/java/jake2/qcommon/exec/Cbuf.java:199–202  ·  view source on GitHub ↗

Puts all remaining commands from main buffer to deferredBuffer. Used to delay command execution before loading map (like map q2dm1; give all)

()

Source from the content-addressed store, hash-verified

197 * Used to delay command execution before loading map (like map q2dm1; give all)
198 */
199 public static void CopyToDefer() {
200 deferredBuffer.addAll(buffer);
201 buffer.clear();
202 }
203
204 /**
205 * Puts all remaining commands from deferredBuffer to main Buffer.

Callers 1

spawnServerInstanceMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected