2
0

ERMScriptModule.h 546 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "../global.h"
  3. #include "IGameEventsReceiver.h"
  4. #include "IGameCallback.h"
  5. class IGameEventRealizer;
  6. class ERMInterpreter;
  7. class DLL_EXPORT CScriptingModule : public IGameEventsReceiver, public IBattleEventsReceiver
  8. {
  9. public:
  10. virtual void init(){}; //called upon the start of game (after map randomization, before first turn)
  11. virtual ~CScriptingModule();
  12. };
  13. extern DLL_EXPORT IGameEventRealizer *acb;
  14. extern DLL_EXPORT CPrivilagedInfoCallback *icb;
  15. DLL_EXPORT CScriptingModule *getERMModule();