Class CultureManager
Manages various tracking of culture.
Inheritance
System.Object
CultureManager
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class CultureManager : Singleton<CultureManager>, IController, IViewController, IHasUniversalID, IHasSerializableID, IContainsAchievements, INotifyPropertyChanged
Constructors
CultureManager()
Declaration
Properties
CitizenCultureRanksText
Shows the ranks of all culture creating citizens.
Declaration
public string CitizenCultureRanksText { get; set; }
Property Value
Type |
Description |
System.String |
|
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
CulturalWorksRanksText
Displays all the top cultural works generating culture.
Declaration
public string CulturalWorksRanksText { get; set; }
Property Value
Type |
Description |
System.String |
|
CultureCreatingUserCount
Returns how many users have produced > 0 culture.
Declaration
public int CultureCreatingUserCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
GlobalCulture
Global culture sum for actual cultural values (ie, the settlement reduction is applied in the sum for artwork)
Declaration
public float GlobalCulture { get; }
Property Value
Type |
Description |
System.Single |
|
TotalCulture
Declaration
public float TotalCulture { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
ArtworkFoldout(String)
Declaration
public TooltipSection ArtworkFoldout(string texID)
Parameters
Type |
Name |
Description |
System.String |
texID |
|
Returns
CulturalWorksOfUser(String)
Declaration
public TooltipSection CulturalWorksOfUser(string userID)
Parameters
Type |
Name |
Description |
System.String |
userID |
|
Returns
CultureRanksFoldout()
Declaration
public TooltipSection CultureRanksFoldout()
Returns
DescribeAllCulture()
Makes a nice summary for all the culture in the world.
Declaration
public LocString DescribeAllCulture()
Returns
DescribeCulturalRank(User)
Describes the rank of the user with a foldout going to the full list.
Declaration
public LocString DescribeCulturalRank(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
DescribeCultureCreated(User)
Describes the total culture and number of works a user has made with a link to the full list.
Declaration
public LocString DescribeCultureCreated(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
FastTick()
Declaration
Initialize()
Declaration
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods