UIController.h 395 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <Array.h>
  3. #include "UIDialog.h"
  4. class UIController : public Framework::ReferenceCounter
  5. {
  6. private:
  7. Framework::RCArray<UIDialog> activeDialogs;
  8. public:
  9. UIController();
  10. void addDialog(UIDialog* dialog);
  11. void api(Framework::StreamReader* zRequest,
  12. NetworkMessage* zResponse,
  13. Entity* zSource);
  14. void removePlayerDialogs(int playerId);
  15. };