Team.GetTeamTechs (Civ5 API)
This page is a part of the Lua and UI Reference (Civ5).
This function is a member of Team. This is an instance method, invoke it with a colon. |
Usage
TeamTechs Team:GetTeamTechs()
Returned Value
- No description available.
Source code samples
Redundant occurences have been removed.
CivilopediaScreen.lua
UI/Civilopedia/CivilopediaScreen.lua
1997
|
local pTeamTechs = pTeam:GetTeamTechs(); |
Demographics.lua
UI/InGame/Popups/Demographics.lua
0384
|
local pTeamTechs = Teams[ Players[ iPlayer ]:GetTeam() ]:GetTeamTechs(); |
PlotMouseoverInclude.lua
UI/InGame/PlotMouseoverInclude.lua
0184
|
if (iTechCityTrade ~= -1 and not pTeam:GetTeamTechs():HasTech(iTechCityTrade)) then |
TechHelpInclude.lua
UI/InGame/TechTree/TechHelpInclude.lua
0009
|
local pTeamTechs = pActiveTeam:GetTeamTechs(); |
TechPopup.lua
UI/InGame/TechPopup.lua
0172
|
local teamTechs = activeTeam:GetTeamTechs(); |
0288
|
if activeTeam:GetTeamTechs():HasTech(tech.ID) then |
TechTree.lua
UI/InGame/TechTree/TechTree.lua
0588
|
if activeTeam:GetTeamTechs():HasTech(techID) then -- the player (or more accurately his team) has already researched this one |
TopPanel.lua
UI/InGame/TopPanel.lua
0165
|
if (pTeam:GetTeamTechs():HasTech(GameInfoTypes[pResource.TechReveal])) then |
0166
|
if (pTeam:GetTeamTechs():HasTech(GameInfoTypes[pResource.TechCityTrade])) then |
TradeLogic.lua
UI/InGame/WorldView/TradeLogic.lua
1173
|
local pUsTeamTechs = g_pUsTeam:GetTeamTechs(); |
1175
|
local pTheirTeamTechs = pTheirTeam:GetTeamTechs(); |
TurnsRemaining.lua - DLC_02 DLC
DLC/DLC_02/Scenarios/NewWorldScenario/TurnsRemaining.lua
0294
|
if (pTeam:GetTeamTechs():HasTech(iTech)) then |
UnitPanel.lua
UI/InGame/WorldView/UnitPanel.lua
1116
|
if (iPrereqTech ~= -1 and not pActiveTeam:GetTeamTechs():HasTech(iPrereqTech)) then |
WhosWinningPopup.lua
UI/InGame/Popups/WhosWinningPopup.lua
0229
|
return pTeam:GetTeamTechs():GetNumTechsKnown(); |
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.