MCPcopy Create free account
hub / github.com/badvision/jace / updateHold

Method updateHold

src/main/java/jace/ui/Watch.java:116–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 private void updateHold() {
117 if (!holding.get()) {
118 outer.cheatEngine.removeListener(holdListener);
119 holdListener = null;
120 } else {
121 value = Emulator.withComputer(c->c.getMemory().readRaw(address) & 0x0ff, 0);
122 holdListener = outer.cheatEngine.forceValue("Watch force value", value, address);
123 }
124 }
125
126 public void disconnect() {
127 holding.set(false);

Callers 1

WatchMethod · 0.95

Calls 6

withComputerMethod · 0.95
readRawMethod · 0.80
forceValueMethod · 0.80
getMethod · 0.45
removeListenerMethod · 0.45
getMemoryMethod · 0.45

Tested by

no test coverage detected