Show / Hide Table of Contents

Class Trait

Trait data object. This class is automatically generated.

Inheritance
System.Object
Trait
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Camille.RiotGames.TftMatchV1
Assembly: Camille.RiotGames.dll
Syntax
public class Trait

Constructors

| Improve this Doc View Source

Trait()

Declaration
public Trait()

Properties

| Improve this Doc View Source

_AdditionalProperties

Contains any extra JSON properties that did not map to fields.

Declaration
[JsonExtensionData]
public Dictionary<string, object> _AdditionalProperties { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>
| Improve this Doc View Source

Name

Trait name.

Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

NumUnits

Number of units with this trait.

Declaration
[JsonPropertyName("num_units")]
public int NumUnits { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Style

Current style for this trait. (0 = No style, 1 = Bronze, 2 = Silver, 3 = Gold, 4 = Chromatic)

Declaration
[JsonPropertyName("style")]
public int? Style { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

TierCurrent

Current active tier for the trait.

Declaration
[JsonPropertyName("tier_current")]
public int TierCurrent { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TierTotal

Total tiers for the trait.

Declaration
[JsonPropertyName("tier_total")]
public int? TierTotal { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX