Class PostResult
Inheritance
System.Object
PostResult
Assembly: Eco.Gameplay.dll
Syntax
public class PostResult : Result
Constructors
PostResult()
Declaration
PostResult(ResultType)
Declaration
public PostResult(ResultType type)
Parameters
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
Succeeded
Declaration
public static PostResult Succeeded { get; }
Property Value
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
None(String)
Declaration
public static PostResult None(string debug = null)
Parameters
Type |
Name |
Description |
System.String |
debug |
|
Returns
Extension Methods