Show / Hide Table of Contents

Class CultureManager

Manages various tracking of culture.

Inheritance
System.Object
CultureManager
Implements
IController
IViewController
IHasUniversalID
IHasSerializableID
IContainsAchievements
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Settlements.Culture
Assembly: Eco.Gameplay.dll
Syntax
public class CultureManager : Singleton<CultureManager>, IController, IViewController, IHasUniversalID, IHasSerializableID, IContainsAchievements, INotifyPropertyChanged

Constructors

CultureManager()

Declaration
public CultureManager()

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
Type Description
TooltipSection

CulturalWorksOfUser(String)

Declaration
public TooltipSection CulturalWorksOfUser(string userID)
Parameters
Type Name Description
System.String userID
Returns
Type Description
TooltipSection

CultureRanksFoldout()

Declaration
public TooltipSection CultureRanksFoldout()
Returns
Type Description
TooltipSection

DescribeAllCulture()

Makes a nice summary for all the culture in the world.

Declaration
public LocString DescribeAllCulture()
Returns
Type Description
LocString

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
Type Description
LocString

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
Type Description
LocString

FastTick()

Declaration
public void FastTick()

Initialize()

Declaration
public void Initialize()

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
IHasSerializableID
IContainsAchievements
System.ComponentModel.INotifyPropertyChanged

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾