()
| 114 | } |
| 115 | |
| 116 | @Override |
| 117 | public void createModules() throws Exception { |
| 118 | lock(); |
| 119 | try { |
| 120 | Zeze.initialize(this); |
| 121 | var _modules_ = createRedirectModules(new Class[] { |
| 122 | Zeze.Builtin.Game.Online.ModuleOnline.class, |
| 123 | Zeze.Builtin.Game.Bag.ModuleBag.class, |
| 124 | Zeze.Builtin.LinkdBase.ModuleLinkdBase.class, |
| 125 | ClientZezex.Linkd.ModuleLinkd.class, |
| 126 | ClientGame.Login.ModuleLogin.class, |
| 127 | ClientGame.Fight.ModuleFight.class, |
| 128 | ClientGame.Equip.ModuleEquip.class, |
| 129 | }); |
| 130 | if (_modules_ == null) |
| 131 | return; |
| 132 | |
| 133 | Zeze_Builtin_Game_Online = (Zeze.Builtin.Game.Online.ModuleOnline)_modules_[0]; |
| 134 | Zeze_Builtin_Game_Online.Initialize(this); |
| 135 | if (modules.put(Zeze_Builtin_Game_Online.getFullName(), Zeze_Builtin_Game_Online) != null) |
| 136 | throw new IllegalStateException("duplicate module name: Zeze_Builtin_Game_Online"); |
| 137 | |
| 138 | Zeze_Builtin_Game_Bag = (Zeze.Builtin.Game.Bag.ModuleBag)_modules_[1]; |
| 139 | Zeze_Builtin_Game_Bag.Initialize(this); |
| 140 | if (modules.put(Zeze_Builtin_Game_Bag.getFullName(), Zeze_Builtin_Game_Bag) != null) |
| 141 | throw new IllegalStateException("duplicate module name: Zeze_Builtin_Game_Bag"); |
| 142 | |
| 143 | Zeze_Builtin_LinkdBase = (Zeze.Builtin.LinkdBase.ModuleLinkdBase)_modules_[2]; |
| 144 | Zeze_Builtin_LinkdBase.Initialize(this); |
| 145 | if (modules.put(Zeze_Builtin_LinkdBase.getFullName(), Zeze_Builtin_LinkdBase) != null) |
| 146 | throw new IllegalStateException("duplicate module name: Zeze_Builtin_LinkdBase"); |
| 147 | |
| 148 | ClientZezex_Linkd = (ClientZezex.Linkd.ModuleLinkd)_modules_[3]; |
| 149 | ClientZezex_Linkd.Initialize(this); |
| 150 | if (modules.put(ClientZezex_Linkd.getFullName(), ClientZezex_Linkd) != null) |
| 151 | throw new IllegalStateException("duplicate module name: ClientZezex_Linkd"); |
| 152 | |
| 153 | ClientGame_Login = (ClientGame.Login.ModuleLogin)_modules_[4]; |
| 154 | ClientGame_Login.Initialize(this); |
| 155 | if (modules.put(ClientGame_Login.getFullName(), ClientGame_Login) != null) |
| 156 | throw new IllegalStateException("duplicate module name: ClientGame_Login"); |
| 157 | |
| 158 | ClientGame_Fight = (ClientGame.Fight.ModuleFight)_modules_[5]; |
| 159 | ClientGame_Fight.Initialize(this); |
| 160 | if (modules.put(ClientGame_Fight.getFullName(), ClientGame_Fight) != null) |
| 161 | throw new IllegalStateException("duplicate module name: ClientGame_Fight"); |
| 162 | |
| 163 | ClientGame_Equip = (ClientGame.Equip.ModuleEquip)_modules_[6]; |
| 164 | ClientGame_Equip.Initialize(this); |
| 165 | if (modules.put(ClientGame_Equip.getFullName(), ClientGame_Equip) != null) |
| 166 | throw new IllegalStateException("duplicate module name: ClientGame_Equip"); |
| 167 | |
| 168 | Zeze.setSchemas(new ClientGame.Schemas()); |
| 169 | } finally { |
| 170 | unlock(); |
| 171 | } |
| 172 | } |
| 173 |
no test coverage detected