Show / Hide Table of Contents

Class ContractStateExtensions

Inheritance
System.Object
ContractStateExtensions
Namespace: Eco.Shared.Items
Assembly: Eco.Shared.dll
Syntax
public static class ContractStateExtensions : Object

Methods

Done(ProposableState)

Declaration
public static bool Done(this ProposableState state)
Parameters
Type Name Description
ProposableState state
Returns
Type Description
System.Boolean

MarkedUpName(ProposableState)

Return the state's localized name with some nice coloring.

Declaration
public static LocString MarkedUpName(this ProposableState state)
Parameters
Type Name Description
ProposableState state
Returns
Type Description
LocString

StateColor(ProposableState)

Declaration
public static Color StateColor(this ProposableState state)
Parameters
Type Name Description
ProposableState state
Returns
Type Description
Color
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾