Affix
Namespace Mc.Scripting.Services · Kind class (sealed)
public sealed class Affix : IEquatable<Affix>One prefix or suffix of a player: its text, its weight (the highest weight comes first) and the group or plugin that supplied it.
Constructors
Section titled “Constructors”| Member | Description |
|---|---|
Affix(string Text, int Weight, string Group) |
One prefix or suffix of a player: its text, its weight (the highest weight comes first) and the group or plugin that supplied it. |
Constructor
Section titled “Constructor”public Affix(string Text, int Weight, string Group)One prefix or suffix of a player: its text, its weight (the highest weight comes first) and the group or plugin that supplied it.
Parameters
| Name | Type | Description |
|---|---|---|
Text |
string |
The text, as the provider stores it (the chat and tab plugins decorate it). |
Weight |
int |
The rank among the affixes of the same kind; a higher weight comes first. |
Group |
string |
Where it came from (a permission group, or a plugin’s own name). |
Properties
Section titled “Properties”| Member | Description |
|---|---|
string Group { get; init; } |
Where it came from (a permission group, or a plugin’s own name). |
string Text { get; init; } |
The text, as the provider stores it (the chat and tab plugins decorate it). |
int Weight { get; init; } |
The rank among the affixes of the same kind; a higher weight comes first. |
public string Group { get; init; }Where it came from (a permission group, or a plugin’s own name).
public string Text { get; init; }The text, as the provider stores it (the chat and tab plugins decorate it).
Weight
Section titled “Weight”public int Weight { get; init; }The rank among the affixes of the same kind; a higher weight comes first.