Show / Hide Table of Contents

Class PostResult

Inheritance
System.Object
PostResult
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
public class PostResult : Result

Constructors

PostResult()

Declaration
public PostResult()

PostResult(ResultType)

Declaration
public PostResult(ResultType type)
Parameters
Type Name Description
ResultType type

PostResult(LocString, Boolean)

Declaration
public PostResult(LocString msg, bool shouldAllow)
Parameters
Type Name Description
LocString msg
System.Boolean shouldAllow

PostResult(Action)

Declaration
public PostResult(Action postEffect)
Parameters
Type Name Description
System.Action postEffect

PostResult(FormattableString, Boolean)

Declaration
public PostResult(FormattableString msg, bool shouldAllow)
Parameters
Type Name Description
System.FormattableString msg
System.Boolean shouldAllow

PostResult(Func<LocString>)

Declaration
public PostResult(Func<LocString> postEffect)
Parameters
Type Name Description
System.Func<LocString> postEffect

Fields

PostEffects

Declaration
public List<Func<LocString>> PostEffects
Field Value
Type Description
System.Collections.Generic.List<System.Func<LocString>>

Properties

FailedNoMessage

Declaration
public static PostResult FailedNoMessage { get; }
Property Value
Type Description
PostResult

Succeeded

Declaration
public static PostResult Succeeded { get; }
Property Value
Type Description
PostResult

Methods

AddPostEffect(Action)

Declaration
public void AddPostEffect(Action action)
Parameters
Type Name Description
System.Action action

DoPostResults()

Declaration
public void DoPostResults()

Merge(Result)

Declaration
public override Result Merge(Result otherResult)
Parameters
Type Name Description
Result otherResult
Returns
Type Description
Result

None(String)

Declaration
public static PostResult None(string debug = null)
Parameters
Type Name Description
System.String debug
Returns
Type Description
PostResult

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