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

Method main

ZezeJava/ZezexJava/client/src/Program.java:5–17  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

3
4public class Program {
5 public synchronized static void main(String[] args) throws Exception {
6 App.getInstance().Start("127.0.0.1", 10000);
7 App.getInstance().ClientGame_Login.auth();
8 try {
9 var role = App.getInstance().ClientGame_Login.getOrCreateRole("HotTestRole");
10 App.getInstance().Zeze_Builtin_Game_Online.login(role.getId());
11 App.getInstance().ClientGame_Equip.reportLogin(role.getId());
12 App.getInstance().ClientGame_Equip.startTimer();
13 Program.class.wait();
14 } finally {
15 App.getInstance().Stop();
16 }
17 }
18}

Callers

nothing calls this directly

Calls 9

getInstanceMethod · 0.95
getOrCreateRoleMethod · 0.80
reportLoginMethod · 0.80
startTimerMethod · 0.80
getIdMethod · 0.65
StartMethod · 0.45
authMethod · 0.45
loginMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected