Class: TechnologyManager

TechnologyManager()

new TechnologyManager()

Source:

Methods

CheckTechnologyRequirements(reqs, civonly)

Private function for checking a set of requirements is met
Parameters:
Name Type Description
reqs Object Technology requirements as derived from the technology template by globalscripts
civonly boolean True if only the civ requirement is to be checked
Source:
Returns:
true if the requirements pass, false otherwise

GetQueuedResearch()

Called by GUIInterface for PlayerData. AI use.
Source:

GetResearchedTechs()

Returns the names of technologies that have already been researched.
Source:

GetResearcher()

Gets the entity currently researching the technology.
Source:

GetStartedTechs()

Returns the names of technologies that are currently being researched (non-queued).
Source:

IsInProgress()

Checks whether a technology is set to be researched.
Source:

QueuedResearch()

Marks a technology as being queued for research at the given entityID.
Source:

ResearchTechnology(tech)

Marks a technology as researched. Note that this does not verify that the requirements are met.
Parameters:
Name Type Description
tech string The technology to mark as researched.
Source:

StoppedResearch()

Marks a technology as not being currently researched and optionally sends a GUI notification.
Source: