Class Rank
An object representing Exiled Credit ranks.
Inheritance
System.Object
Rank
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.CreditTags.Features
Assembly: Exiled.CreditTags.dll
Syntax
public class Rank
Constructors
| Improve this Doc View SourceRank(String, String, String)
Initializes a new instance of the Rank class.
Declaration
public Rank(string name, string color, string hexValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the rank. |
System.String | color | The name of the rank's color. |
System.String | hexValue | The hex color value of the rank's color (in CustomPlayerInfo). |
Properties
| Improve this Doc View SourceColor
Gets a value representing the ranks color.
Declaration
public string Color { get; }
Property Value
Type | Description |
---|---|
System.String |
HexValue
Gets a value representing the rank's color as a hex value.
Declaration
public string HexValue { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets a value representing the ranks name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |