()
| 206 | } |
| 207 | |
| 208 | @Override |
| 209 | public void createModules() throws Exception { |
| 210 | lock(); |
| 211 | try { |
| 212 | Zeze.setHotManager(new Zeze.Hot.HotManager(this, Zeze.getConfig().getHotWorkingDir(), Zeze.getConfig().getHotDistributeDir())); |
| 213 | Zeze.initialize(this); |
| 214 | Zeze.getHotManager().initialize(modules); |
| 215 | var _modules_ = createRedirectModules(new Class[] { |
| 216 | Game.Map.ModuleMap.class, |
| 217 | Game.Rank.ModuleRank.class, |
| 218 | }); |
| 219 | if (_modules_ == null) |
| 220 | return; |
| 221 | |
| 222 | Game_Map = (Game.Map.ModuleMap)_modules_[0]; |
| 223 | Game_Map.Initialize(this); |
| 224 | if (modules.put(Game_Map.getFullName(), Game_Map) != null) |
| 225 | throw new IllegalStateException("duplicate module name: Game_Map"); |
| 226 | |
| 227 | Game_Rank = (Game.Rank.ModuleRank)_modules_[1]; |
| 228 | Game_Rank.Initialize(this); |
| 229 | if (modules.put(Game_Rank.getFullName(), Game_Rank) != null) |
| 230 | throw new IllegalStateException("duplicate module name: Game_Rank"); |
| 231 | |
| 232 | Zeze.setSchemas(new Game.Schemas()); |
| 233 | } finally { |
| 234 | unlock(); |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | public void destroyModules() throws Exception { |
| 239 | lock(); |
no test coverage detected