Show / Hide Table of Contents

Class TwitchVote

A vote from a twitch user. They dont do runoff voting, just a single selection.

Inheritance
System.Object
TwitchVote
Namespace: Eco.Gameplay.Civics.Elections
Assembly: Eco.Gameplay.dll
Syntax
public sealed class TwitchVote : ValueType

Constructors

TwitchVote()

Declaration
public TwitchVote()

Fields

ChoiceID

Declaration
public ElectionChoiceID ChoiceID
Field Value
Type Description
ElectionChoiceID

Subscriber

Declaration
public bool Subscriber
Field Value
Type Description
System.Boolean

UserName

Declaration
public string UserName
Field Value
Type Description
System.String

Methods

Weight(ElectionProcess)

Declaration
public float Weight(ElectionProcess process)
Parameters
Type Name Description
ElectionProcess process
Returns
Type Description
System.Single

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