Class ElectionTests
Inheritance
System.Object
ElectionTests
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class ElectionTests : Object
Methods
AddCandidates(User, Election)
Declaration
[ChatSubCommand]
public static void AddCandidates(User user, Election election = null)
Parameters
AddVotes(IChatClient, Election, Int32, Boolean)
Declaration
[ChatSubCommand]
public static void AddVotes(IChatClient client, Election election = null, int count = 10, bool forceYesVote = false)
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
Election |
election |
|
System.Int32 |
count |
|
System.Boolean |
forceYesVote |
|
SetActiveUsers(IChatClient, Int32)
Declaration
[ChatSubCommand]
public static void SetActiveUsers(IChatClient client, int count = 20)
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.Int32 |
count |
|