()
| 44 | } |
| 45 | |
| 46 | @Override |
| 47 | public void StartLast() { |
| 48 | counterHotTimer = 0; |
| 49 | _tbufs.getChangeListenerMap().addListener(new BufChangeListener("Game.Buf.Bufs")); |
| 50 | var rand = Zeze.Util.Random.getInstance(); |
| 51 | timerIdHot = Task.scheduleUnsafe( |
| 52 | rand.nextLong(3000) + 1000, |
| 53 | rand.nextLong(3000) + 1000, |
| 54 | () -> { |
| 55 | var module = App.Zeze.getHotManager().getModuleContext("Game.Equip", IModuleEquip.class); |
| 56 | var service = module.getService(); |
| 57 | oldAccess = service.hotHelloWorld(oldAccess); |
| 58 | }); |
| 59 | |
| 60 | Task.call(App.Zeze.newProcedure(() -> { |
| 61 | hotTimerId = App.Zeze.getTimer().schedule( |
| 62 | rand.nextLong(3000) + 1000, rand.nextLong(3000) + 1000, |
| 63 | HotTimer.class, new BBuf()); |
| 64 | return 0; |
| 65 | }, "hotTimer")); |
| 66 | } |
| 67 | |
| 68 | int oldAccess = 0; |
| 69 |
no test coverage detected