Skip to content

newgroundsiodotnet.datamodels.score

GlitchyPSIX edited this page Mar 30, 2025 · 4 revisions

Score

Namespace: NewgroundsIODotNet.DataModels

Represents a singular score.

public struct Score

Inheritance ObjectValueTypeScore
Attributes IsReadOnlyAttribute

Properties

FormattedValue

Formatted value for the Score.

public string FormattedValue { get; }

Property Value

String

Tag

Tag attached to the Score

public string Tag { get; }

Property Value

String

User

User that holds this Score. If null, assume current player.

public Nullable<User> User { get; }

Property Value

Nullable<User>

Value

Raw integer value of the score.

public int Value { get; }

Property Value

Int32

Constructors

Score(String, String, Int32, User)

Score(string formattedValue, string tag, int value, User user)

Parameters

formattedValue String

tag String

value Int32

user User

Methods

ToString()

string ToString()

Returns

String

Clone this wiki locally