Show / Hide Table of Contents

Class RecordCustomStat

Inheritance
System.Object
LegalAction
RecordCustomStat
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IDescribable
ICustomValidity
IValidity
Inherited Members
LegalAction.PerformAndProcessResult(Law, GameAction, AccountChangeSet)
LegalAction.ContainsAction(Type)
LegalAction.DescribeForNotification(Law, GameAction)
LegalAction.InfoboxOnSuccess
LegalAction.ControllerID
LegalAction.PropertyChanged
Namespace: Eco.Gameplay.Civics.Laws.LegalActions
Assembly: Eco.Gameplay.dll
Syntax
public class RecordCustomStat : LegalAction, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IDescribable, ICustomValidity, IValidity

Constructors

RecordCustomStat()

Declaration
public RecordCustomStat()

Properties

Count

Declaration
public GameValue<float> Count { get; set; }
Property Value
Type Description
GameValue<System.Single>

DisplayResultToCitizen

Declaration
public bool DisplayResultToCitizen { get; set; }
Property Value
Type Description
System.Boolean

Person

Declaration
public GameValue<User> Person { get; set; }
Property Value
Type Description
GameValue<User>

StatName

Declaration
public string StatName { get; set; }
Property Value
Type Description
System.String

Methods

Description()

Declaration
public override LocString Description()
Returns
Type Description
LocString
Overrides
LegalAction.Description()

Perform(Law, GameAction, AccountChangeSet)

Declaration
protected override PostResult Perform(Law law, GameAction action, AccountChangeSet acc)
Parameters
Type Name Description
Law law
GameAction action
AccountChangeSet acc
Returns
Type Description
PostResult
Overrides
LegalAction.Perform(Law, GameAction, AccountChangeSet)

Valid()

Declaration
public Result Valid()
Returns
Type Description
Result

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IDescribable
ICustomValidity
IValidity

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
☀
☾