class
cCommManager
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* - auto ShowCommEvent(cCommEvent* pEvent) -> void
- auto IsCommScreenActive() const -> bool
- auto HandleCivCommAction(const CnvAction& action, void* pSourceCiv, cCity* pSourceCity, cCity* pTargetCity) -> void
-
auto HandleSpaceCommAction(const CnvAction& action,
uint32_
t source, PlanetID planetKey, void* pMission) -> void
Public variables
- cCommEventPtr mCurrentCommEvent
- eastl::vector<cCommEventPtr> mListCommEvents
- int field_38
- ObjectPtr field_3C
-
eastl::hash_map<uint32_
t, eastl::vector<uint32_ t>> mTransmissionCancelConditions - bool field_60
- int field_64