RPGClientModule.cs 595 B

1234567891011121314151617181920212223
  1. using DeepCore.FuckPomeloClient;
  2. using System;
  3. using DeepCore;
  4. namespace DeepMMO.Client
  5. {
  6. public abstract class RPGClientModule : Disposable
  7. {
  8. public RPGClient client { get; private set; }
  9. public PomeloClient game_client { get; private set; }
  10. protected RPGClientModule(RPGClient client)
  11. {
  12. this.client = client;
  13. this.game_client = client.GameClient;
  14. }
  15. public abstract void OnStart();
  16. public abstract void OnStop();
  17. public virtual void Update(int intervalMS) { }
  18. }
  19. }