Show / Hide Table of Contents

Class ElectionTests

Inheritance
System.Object
ElectionTests
Namespace: Eco.Gameplay.Civics.Elections
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
Type Name Description
User user
Election election

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
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾