PlayerMetaExtensions
Namespace Mc.Scripting.Services · Kind class (static)
public static class PlayerMetaExtensionsHelpers over IPlayerMeta for the plugins that only need text.
Methods
Section titled “Methods”| Member | Description |
|---|---|
AffixText |
The affixes of one kind joined into one text, highest weight first. |
AffixText
Section titled “AffixText”public static string AffixText(IPlayerMeta meta, Uuid player, AffixKind kind, string separator = " ")The affixes of one kind joined into one text, highest weight first.
Parameters
| Name | Type | Description |
|---|---|---|
meta |
IPlayerMeta |
The provider. |
player |
Uuid |
The player. |
kind |
AffixKind |
Prefixes or suffixes. |
separator |
string = " " |
Between two affixes. |
Returns string: The text (empty when there are none).
See also
Section titled “See also”AffixKind · IPlayerMeta · Uuid