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 SourceTrait()
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> |
Name
Trait name.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NumUnits
Number of units with this trait.
Declaration
[JsonPropertyName("num_units")]
public int NumUnits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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> |
TierCurrent
Current active tier for the trait.
Declaration
[JsonPropertyName("tier_current")]
public int TierCurrent { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()