Show / Hide Table of Contents

Class VoteCounts

Stores all the types of votes allowed.

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

Constructors

VoteCounts(Int32, Single)

Declaration
public VoteCounts(int user, float twitch)
Parameters
Type Name Description
System.Int32 user
System.Single twitch

Fields

TwitchVotes

Declaration
public float TwitchVotes
Field Value
Type Description
System.Single

UserVotes

Declaration
public int UserVotes
Field Value
Type Description
System.Int32

Properties

Total

Declaration
public float Total { get; }
Property Value
Type Description
System.Single

Methods

Describe()

Declaration
public LocString Describe()
Returns
Type Description
LocString

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