CyMessageControl.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #ifndef _CYMESSAGECONTROL_H
  3. #define _CYMESSAGECONTROL_H
  4. #include <boost/python/list.hpp>
  5. #include <boost/python/tuple.hpp>
  6. namespace python = boost::python;
  7. class CyMessageControl
  8. {
  9. public:
  10. void sendPushOrder(int iCityID, int eOrder, int iData, bool bAlt, bool bShift, bool bCtrl);
  11. void sendDoTask(int iCity, int eTask, int iData1, int iData2, bool bOption, bool bAlt, bool bShift, bool bCtrl);
  12. void sendTurnComplete();
  13. void sendUpdateCivics(boost::python::list& iCivics);
  14. void sendResearch(int eTech, bool bShift);
  15. void sendPlayerOption (int /*PlayerOptionTypes*/ eOption, bool bValue);
  16. void sendEspionageSpendingWeightChange (int /*TeamTypes*/ eTargetTeam, int iChange);
  17. void sendAdvancedStartAction (int /*AdvancedStartActionTypes*/ eAction, int /*PlayerTypes*/ ePlayer, int iX, int iY, int iData, bool bAdd);
  18. void sendModNetMessage(int iData1, int iData2, int iData3, int iData4, int iData5);
  19. void sendConvert( int /*ReligionTypes*/ iReligion );
  20. void sendEmpireSplit(int /*PlayerTypes*/ ePlayer, int iAreaId);
  21. // Helper function to determine the first bad connection...
  22. int GetFirstBadConnection();
  23. int GetConnState(int iPlayer);
  24. };
  25. #endif // _CYMESSAGECONTROL_H