Team.IsHasMet (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of Team.

This is an instance method, invoke it with a colon.


Usage

int Team:IsHasMet(TeamID index)


Returned Value

No description available.

Parameters

index: No description available.


Source code samples

Redundant occurences have been removed.

CityBannerManager.lua

UI/InGame/CityBannerManager.lua
0459
if (Teams[Game.GetActiveTeam()]:IsHasMet(player:GetTeam())) then
1113
elseif (Teams[Game.GetActiveTeam()]:IsHasMet(player:GetTeam())) then


CityBannerManager.lua (G&K)

DLC/Expansion/UI/InGame/CityBannerManager.lua
0193
elseif (not Teams[Game.GetActiveTeam()]:IsHasMet(player:GetTeam())) then


CityStateDiploPopup.lua

UI/InGame/Popups/CityStateDiploPopup.lua
0265
if (Teams[Players[iAlly]:GetTeam()]:IsHasMet(Game.GetActiveTeam())) then


Demographics.lua

UI/InGame/Popups/Demographics.lua
0335
elseif (not pTeam:IsHasMet(Game.GetActiveTeam())) then


DiploGlobalRelationships.lua

UI/InGame/Popups/DiploGlobalRelationships.lua
0041
if (g_pUsTeam:IsHasMet(iOtherTeam)) then
0153
if (g_pUsTeam:IsHasMet(iThirdTeam) or iThirdPlayer == g_iUs) then


DiploList.lua

UI/InGame/DiploList.lua
0254
if (g_pTeam:IsHasMet(iOtherTeam)) then
0424
g_pTeam:IsHasMet( iOtherTeam ) ) then


DiploRelationships.lua

UI/InGame/Popups/DiploRelationships.lua
0056
if (pTeam:IsHasMet(iOtherTeam)) then


DiploVotePopup.lua

UI/InGame/Popups/DiploVotePopup.lua
0058
if (pTeam:IsHasMet(iTeamLoop)) then


DiscussionDialog.lua

UI/InGame/LeaderHead/DiscussionDialog.lua
0431
if (pTeam:IsHasMet(iThirdPartyTeam)) then
0865
if (not pActiveTeam:IsHasMet(iThirdPartyTeam)) then
0870
if (not Teams[g_iAITeam]:IsHasMet(iThirdPartyTeam)) then


MPList.lua

UI/InGame/WorldView/MPList.lua
0104
local bMet = g_pLocalTeam:IsHasMet( iTeam );


PlotMouseoverInclude.lua

UI/InGame/PlotMouseoverInclude.lua
0012
if( pOtherPlayer:IsMinorCiv() and iActiveTeam ~= iOtherTeam and pOtherPlayer:IsAlive() and pTeam:IsHasMet( iOtherTeam ) ) then


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0506
if(not activeTeam:IsHasMet(pPlayer:GetTeam())) then


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
0471
g_pUsTeam:IsHasMet( iLoopTeam ) and g_pThemTeam:IsHasMet( iLoopTeam ) and


TutorialChecks.lua

Tutorial/TutorialChecks.lua
2812
if (pTeam:IsHasMet(iOtherTeam) and not pTeam:IsAtWar(iOtherTeam)) then


VictoryProgress.lua

UI/InGame/Popups/VictoryProgress.lua
0457
if (Teams[leadAI:GetTeam()]:IsHasMet(Game.GetActiveTeam()) or Game:IsNetworkMultiPlayer()) then
0837
if (pTeam:IsHasMet(Game.GetActiveTeam()) or Game:IsNetworkMultiPlayer()) then


VictoryProgress.lua (G&K)

DLC/Expansion/UI/InGame/Popups/VictoryProgress.lua
0713
if (Teams[iActiveTeam] ~= nil and Teams[iActiveTeam]:IsHasMet(iTeamLoop)) then
0746
local bShowToolTips = (Teams[iActiveTeam]:IsHasMet(iTeam) and pTeam:IsAlive());


VictoryProgress.lua (G&K)

DLC/Expansion/Scenarios/SteampunkScenario/VictoryProgress.lua
0742
local bShowToolTips = Teams[iActiveTeam]:IsHasMet(iTeam);


VoteResultsPopup.lua

UI/InGame/Popups/VoteResultsPopup.lua
0126
elseif (not pVoteCastTeam:IsHasMet(Game.GetActiveTeam())) then


VoteResultsPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/VoteResultsPopup.lua
0129
if (Teams[Game.GetActiveTeam()]:IsHasMet(iTeam)) then



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.