CvGame::GetGameDeals()
- Defined in
- CvGame.cpp, line 10311
- Class
- CvGame
- Hook name
CivHooks::CvGame_GetGameDeals
Hooks
static bool BeforeCvGame_GetGameDeals(CvGame* self, CvGameDeals*& result);static void AfterCvGame_GetGameDeals(CvGame* self, CvGameDeals*& result);static CvGameDeals* ReplaceCvGame_GetGameDeals(CvGameDeals* (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetGameDeals>(host, &BeforeCvGame_GetGameDeals);CivRegisterAfter<CivHooks::CvGame_GetGameDeals>(host, &AfterCvGame_GetGameDeals);CivRegisterReplace<CivHooks::CvGame_GetGameDeals>(host, &ReplaceCvGame_GetGameDeals);
Code
10311CvGameDeals* CvGame::GetGameDeals()10312{10313 return &m_kGameDeals;10314}
Called by
- CvDealAI::DoAcceptedDeal(PlayerTypes, const CvDeal &, int, int, int)
- CvDealAI::DoAcceptedDemand(PlayerTypes, const CvDeal &)
- CvDealAI::DoEqualizeDealWithAI(CvDeal *, PlayerTypes)
- CvDealAI::DoTradeScreenOpened()
- CvDeal::GetGoldAvailable(PlayerTypes, TradeableItems)
- CvDeal::IsPossibleToTradeItem(PlayerTypes, PlayerTypes, TradeableItems, int, int, int, bool, bool, bool)
- CvDiplomacyAI::ClearDealToRenew()
- CvDiplomacyAI::DoAddWantsResearchAgreementWithPlayer(PlayerTypes)
- CvDiplomacyAI::DoContactPlayer(PlayerTypes)
- CvDiplomacyAI::DoRenewExpiredDeal(PlayerTypes, DiploStatementTypes &, CvDeal *)
- CvDiplomacyAI::DoSendStatementToPlayer(PlayerTypes, DiploStatementTypes, int, CvDeal *)
- CvDiplomacyAI::DoTurn(PlayerTypes, DiplomacyPlayerType)
- CvDiplomacyAI::GetDealToRenew(int *)
- CvDiplomacyAI::IsCanMakeResearchAgreementRightNow(PlayerTypes)
- CvDiplomacyRequests::ActivateNext()
- CvDiplomacyRequests::EndTurn()
- CvDiplomacyRequests::SendDealRequest(PlayerTypes, PlayerTypes, CvDeal *, DiploUIStateTypes, DiploMessageTypes, const char *, LeaderheadAnimationTypes)
- CvDiplomacyRequests::SendRequest(PlayerTypes, PlayerTypes, DiploUIStateTypes, DiploMessageTypes, const char *, LeaderheadAnimationTypes, int)
- CvDllGame::GetGameDeals()
- CvDllNetMessageHandler::ResponsePlayerDealFinalized(PlayerTypes, PlayerTypes, PlayerTypes, bool)
- CvGame::regenerateMap()
- CvNotifications::IsNotificationExpired(int)
- CvPlayer::setAlive(bool, bool)
- CvTeam::DoDeclareWar(PlayerTypes, bool, TeamTypes, bool, bool)