Class CivicActionFuncs
Inheritance
System.Object
CivicActionFuncs
Assembly: Eco.Gameplay.dll
Syntax
public static class CivicActionFuncs : Object
Methods
ForceFullExecuteNow(User, CivicAction, Boolean, Election, Boolean)
Declaration
public static Result ForceFullExecuteNow(User user, CivicAction action, bool notify = true, Election forceAttachToElection = null, bool bypassConstitution = false)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| CivicAction |
action |
|
| System.Boolean |
notify |
|
| Election |
forceAttachToElection |
|
| System.Boolean |
bypassConstitution |
|
Returns
FullExecuteAsync(User, CivicAction, Boolean, Boolean, Election, Boolean)
Declaration
public static Task<Result> FullExecuteAsync(User user, CivicAction action, bool force = false, bool notify = true, Election forceAttachToElection = null, bool bypassConstitution = false)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| CivicAction |
action |
|
| System.Boolean |
force |
|
| System.Boolean |
notify |
|
| Election |
forceAttachToElection |
|
| System.Boolean |
bypassConstitution |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Result> |
|
GetConstitutionActionResult(User, CivicAction)
Declaration
public static CivicActionResult[] GetConstitutionActionResult(User user, CivicAction action)
Parameters
Returns