MCPcopy Create free account
hub / github.com/e2wugui/zeze / hotHelloWorld

Method hotHelloWorld

ZezeJava/ZezexJava/server/ModuleEquip.hot.java:224–242  ·  view source on GitHub ↗
(int oldAccess)

Source from the content-addressed store, hash-verified

222 }
223
224 @Override
225 public int hotHelloWorld(int oldAccess) {
226 App.Zeze.newProcedure(() -> {
227 accessWillAddTable();
228
229 var record = _tHotTest.getOrAdd(1L);
230 record.setAttack(record.getAttack() + 1);
231
232 accessWillAddVar(record);
233
234 verifyOnlineLocal(oldAccess);
235 verifyOnlineUserData(oldAccess);
236 verifyCollections(oldAccess);
237 verifyMemory(oldAccess);
238
239 return 0;
240 }, "").call();
241 return oldAccess + 1;
242 }
243
244 private void verifyMemory(int oldAccess) {
245 var retreat = _tMemoryRetreat.getOrAdd(1L);

Callers

nothing calls this directly

Calls 11

accessWillAddTableMethod · 0.95
accessWillAddVarMethod · 0.95
verifyOnlineLocalMethod · 0.95
verifyOnlineUserDataMethod · 0.95
verifyCollectionsMethod · 0.95
verifyMemoryMethod · 0.95
callMethod · 0.65
setAttackMethod · 0.65
getAttackMethod · 0.65
newProcedureMethod · 0.45
getOrAddMethod · 0.45

Tested by

no test coverage detected