C# Class Rocket.Unturned.Chat.UnturnedChat

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: RocketMod/Rocket.Unturned

Public Methods

Method Description
GetColorFromHex ( string hexString ) : Color?
GetColorFromName ( string colorName, Color fallback ) : Color
GetColorFromRGB ( byte R, byte G, byte B ) : Color
GetColorFromRGB ( byte R, byte G, byte B, short A ) : Color
Say ( CSteamID CSteamID, string message ) : void
Say ( CSteamID CSteamID, string message, Color color ) : void
Say ( IRocketPlayer player, string message ) : void
Say ( IRocketPlayer player, string message, Color color ) : void
Say ( string message ) : void
Say ( string message, Color color ) : void
wrapMessage ( string text ) : List

Private Methods

Method Description
Awake ( ) : void
handleChat ( SteamPlayer steamPlayer, EChatMode chatMode, Color &incomingColor, string message, bool &cancel ) : void

Method Details

GetColorFromHex() public static method

public static GetColorFromHex ( string hexString ) : Color?
hexString string
return Color?

GetColorFromName() public static method

public static GetColorFromName ( string colorName, Color fallback ) : Color
colorName string
fallback Color
return Color

GetColorFromRGB() public static method

public static GetColorFromRGB ( byte R, byte G, byte B ) : Color
R byte
G byte
B byte
return Color

GetColorFromRGB() public static method

public static GetColorFromRGB ( byte R, byte G, byte B, short A ) : Color
R byte
G byte
B byte
A short
return Color

Say() public static method

public static Say ( CSteamID CSteamID, string message ) : void
CSteamID CSteamID
message string
return void

Say() public static method

public static Say ( CSteamID CSteamID, string message, Color color ) : void
CSteamID CSteamID
message string
color Color
return void

Say() public static method

public static Say ( IRocketPlayer player, string message ) : void
player IRocketPlayer
message string
return void

Say() public static method

public static Say ( IRocketPlayer player, string message, Color color ) : void
player IRocketPlayer
message string
color Color
return void

Say() public static method

public static Say ( string message ) : void
message string
return void

Say() public static method

public static Say ( string message, Color color ) : void
message string
color Color
return void

wrapMessage() public static method

public static wrapMessage ( string text ) : List
text string
return List