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

Method start

ZezeJava/ZezeJava/src/main/java/Zeze/Game/Online.java:338–354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336 }
337
338 public void start() {
339 // default online 负责启动所有的online set。
340 if (defaultInstance == this) {
341 providerApp.builtinModules.put(this.getFullName(), this);
342 getProviderWithOnline().foreachOnline(online -> {
343 if (online != this)
344 online.start();
345 });
346 }
347 startLocalCheck();
348 var hotManager = providerApp.zeze.getHotManager();
349 if (hotManager != null) {
350 hotManager.addHotUpgrade(this);
351 hotManager.addHotBeanFactory(this);
352 beanFactory.registerWatch(this::tryRecordHotModule);
353 }
354 }
355
356 private boolean processOffline(Long roleId, @NotNull BLocal local, boolean serverStart) {
357 providerApp.zeze.newProcedure(() -> procedureOffline(roleId, local, serverStart), "procedureOffline").call();

Callers

nothing calls this directly

Calls 10

getProviderWithOnlineMethod · 0.95
startLocalCheckMethod · 0.95
foreachOnlineMethod · 0.80
addHotUpgradeMethod · 0.80
addHotBeanFactoryMethod · 0.80
registerWatchMethod · 0.80
putMethod · 0.65
getFullNameMethod · 0.65
startMethod · 0.65
getHotManagerMethod · 0.45

Tested by

no test coverage detected