Table of Contents

Class LeaderboardPhaseStatInfo

Namespace
Uncreated.Warfare.Layouts.Phases
Assembly
Uncreated.Warfare.dll
public class LeaderboardPhaseStatInfo
Inheritance
LeaderboardPhaseStatInfo
Inherited Members

Properties

ColumnHeader

Header for the leaderboard per-player column.

public string? ColumnHeader { get; set; }

Property Value

string

DefaultLeaderboardSort

How this stat is sorted if it's the default sort stat. Valid values: 'Descending', 'Ascending'.

public string? DefaultLeaderboardSort { get; set; }

Property Value

string

DisablePointsUIDisplay

If the stat should be skipped on the statistic section of the points UI.

public bool DisablePointsUIDisplay { get; set; }

Property Value

bool

DisplayName

Display name of the stat.

public TranslationList? DisplayName { get; set; }

Property Value

TranslationList

Expression

Evaluatable expression to calculate the stat from other stats.

public string? Expression { get; set; }

Property Value

string

FormulaName

Name to use as the variable name for expressions using this stat.

public string? FormulaName { get; set; }

Property Value

string

IsGlobalStat

If the stat is shown as a sum of all players stats under the game stats section.

public bool IsGlobalStat { get; set; }

Property Value

bool

IsLeaderboardColumn

If the stat is showed in the leaderboard per-player.

public bool IsLeaderboardColumn { get; set; }

Property Value

bool

Name

Internal name of the stat. Also defaults to the display name.

public string Name { get; set; }

Property Value

string

NumberFormat

Standard or custom .NET number format to convert the double value to a string.

public string? NumberFormat { get; set; }

Property Value

string