NameProtectMappings

Keeps track of the current name protect mappings and contains functions for replacement.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class ColoringInfo(val username: () -> Color4b, val friends: () -> Color4b, val otherPlayers: () -> Color4b)
Link copied to clipboard
class MappingData(val newName: String, val colorGetter: () -> Color4b)

Functions

Link copied to clipboard

Returns a list of all emits, sorted by their start

Link copied to clipboard
fun update(username: Pair<String, String>, friendMappings: List<Pair<String, String>>, otherPlayers: List<String>, coloringInfo: NameProtectMappings.ColoringInfo)