Show / Hide Table of Contents

Class ChangeReputation_LegalAction

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

Constructors

ChangeReputation_LegalAction()

Declaration
public ChangeReputation_LegalAction()

Properties

Citizen

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

ReputationChange

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

ReputationMessage

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

SendNotice

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

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)

PerformExecutiveAction(User, IContextObject, Settlement, AccountChangeSet)

Declaration
public PostResult PerformExecutiveAction(User user, IContextObject context, Settlement jurisdictionSettlement, AccountChangeSet acc)
Parameters
Type Name Description
User user
IContextObject context
Settlement jurisdictionSettlement
AccountChangeSet acc
Returns
Type Description
PostResult

Implements

System.ComponentModel.INotifyPropertyChanged
IValidity
IExecutiveAction
IController
IViewController
IHasUniversalID
IDescribable

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