C# Class Beyond_Beyaan.TechnologyManager

Afficher le fichier Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Méthodes publiques

Méthode Description
AccureResearch ( float researchPoints ) : void
GetFieldLevels ( ) : int>.Dictionary
GetFieldProgressString ( TechField whichField, float researchPoints ) : string
Load ( XElement empire, MasterTechnologyManager MTM ) : void
RollForDiscoveries ( Random r, SitRepManager sitRepManager ) : List
Save ( XmlWriter writer ) : void
SetComputerTechs ( List techs ) : void
SetConstructionTechs ( List techs ) : void
SetForceFieldTechs ( List techs ) : void
SetPercentage ( TechField whichField, int amount ) : void
SetPlanetologyTechs ( List techs ) : void
SetPropulsionTechs ( List techs ) : void
SetWeaponTechs ( List techs ) : void
TechnologyManager ( ) : System

Private Methods

Méthode Description
GetChanceForDiscovery ( TechField whichField ) : int
GetFieldInvestmentAmount ( TechField whichField, float researchPoints ) : float
GetTotalPercentageExcludingTypeAndLocked ( TechField techField ) : int
UpdateValues ( ) : void

Method Details

AccureResearch() public méthode

public AccureResearch ( float researchPoints ) : void
researchPoints float
Résultat void

GetFieldLevels() public méthode

public GetFieldLevels ( ) : int>.Dictionary
Résultat int>.Dictionary

GetFieldProgressString() public méthode

public GetFieldProgressString ( TechField whichField, float researchPoints ) : string
whichField TechField
researchPoints float
Résultat string

Load() public méthode

public Load ( XElement empire, MasterTechnologyManager MTM ) : void
empire XElement
MTM MasterTechnologyManager
Résultat void

RollForDiscoveries() public méthode

public RollForDiscoveries ( Random r, SitRepManager sitRepManager ) : List
r Random
sitRepManager SitRepManager
Résultat List

Save() public méthode

public Save ( XmlWriter writer ) : void
writer XmlWriter
Résultat void

SetComputerTechs() public méthode

public SetComputerTechs ( List techs ) : void
techs List
Résultat void

SetConstructionTechs() public méthode

public SetConstructionTechs ( List techs ) : void
techs List
Résultat void

SetForceFieldTechs() public méthode

public SetForceFieldTechs ( List techs ) : void
techs List
Résultat void

SetPercentage() public méthode

public SetPercentage ( TechField whichField, int amount ) : void
whichField TechField
amount int
Résultat void

SetPlanetologyTechs() public méthode

public SetPlanetologyTechs ( List techs ) : void
techs List
Résultat void

SetPropulsionTechs() public méthode

public SetPropulsionTechs ( List techs ) : void
techs List
Résultat void

SetWeaponTechs() public méthode

public SetWeaponTechs ( List techs ) : void
techs List
Résultat void

TechnologyManager() public méthode

public TechnologyManager ( ) : System
Résultat System