Class: PlayerColor

PlayerColor()

The purpose of this class is to determine a color per playername and to apply that color, escape reserved characters and add a moderator prefix when displaying playernames.

Constructor

new PlayerColor()

Source:

Members

(static) ModeratorPrefix

A symbol which is prepended to the nickname of moderators.
Source:

Methods

(static) ColorPlayerName()

Colorizes the given nickname with a color unique and deterministic for that player.
Source:

(static) GetPlayerColor()

Generate a (mostly) unique color for this player based on their name.
Source:
See: