Simulator::cCommManager class

Base classes

class cStrategy

Public static functions

static auto Get() -> cCommManager*

Public functions

auto CreateCivCommEvent(cCivilization* pSourceCivilization, cCity* pTargetCity, PlanetID planetKey, uint32_t fileID, uint32_t dialogID, int priority = 0) -> cCommEvent*
auto CreateSpaceCommEvent(uint32_t sourceEmpire, PlanetID planetKey, uint32_t fileID, uint32_t dialogID, void* pMission = nullptr, int priority = 0, unsigned int duration = 0) -> cCommEvent*
void ShowCommEvent(cCommEvent* pEvent)
auto IsCommScreenActive() const -> bool
void HandleCivCommAction(const CnvAction& action, void* pSourceCiv, cCity* pSourceCity, cCity* pTargetCity)
void HandleSpaceCommAction(const CnvAction& action, uint32_t source, PlanetID planetKey, void* pMission)

Public variables

cCommEventPtr mCurrentCommEvent
vector<cCommEventPtr> mListCommEvents
int field_38
ObjectPtr field_3C
hash_map<uint32_t, vector<uint32_t>> mTransmissionCancelConditions
bool field_60
int field_64