Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Sandbox.Game.Gui.MyHudChat Class Reference

Public Member Functions

 MyHudChat ()
 
void RegisterChat (MyMultiplayerBase multiplayer)
 
void UnregisterChat (MyMultiplayerBase multiplayer)
 
void ShowMessage (string sender, string messageText, string font=MyFontEnum.Blue)
 
void multiplayer_ScriptedChatMessageReceived (string message, string author, string font)
 
void Update ()
 

Static Public Member Functions

static void ResetChatSettings ()
 

Public Attributes

Queue< Tuple< string, string, string > > MessagesQueue = new Queue<Tuple<string, string, string>>()
 

Static Public Attributes

static readonly int MAX_MESSAGE_TIME_DEFAULT = 15000
 
static int MaxMessageTime = MAX_MESSAGE_TIME_DEFAULT
 
static int MaxMessageCount = MAX_MESSAGES_IN_CHAT_DEFAULT
 

Properties

int Timestamp [get]
 

Detailed Description

Definition at line 20 of file MyHudChat.cs.

Constructor & Destructor Documentation

Sandbox.Game.Gui.MyHudChat.MyHudChat ( )
inline

Definition at line 34 of file MyHudChat.cs.

Member Function Documentation

void Sandbox.Game.Gui.MyHudChat.multiplayer_ScriptedChatMessageReceived ( string  message,
string  author,
string  font 
)
inline

Definition at line 79 of file MyHudChat.cs.

void Sandbox.Game.Gui.MyHudChat.RegisterChat ( MyMultiplayerBase  multiplayer)
inline

Definition at line 39 of file MyHudChat.cs.

static void Sandbox.Game.Gui.MyHudChat.ResetChatSettings ( )
inlinestatic

Definition at line 112 of file MyHudChat.cs.

void Sandbox.Game.Gui.MyHudChat.ShowMessage ( string  sender,
string  messageText,
string  font = MyFontEnum.Blue 
)
inline

Definition at line 54 of file MyHudChat.cs.

void Sandbox.Game.Gui.MyHudChat.UnregisterChat ( MyMultiplayerBase  multiplayer)
inline

Definition at line 45 of file MyHudChat.cs.

void Sandbox.Game.Gui.MyHudChat.Update ( )
inline

Definition at line 100 of file MyHudChat.cs.

Member Data Documentation

readonly int Sandbox.Game.Gui.MyHudChat.MAX_MESSAGE_TIME_DEFAULT = 15000
static

Definition at line 23 of file MyHudChat.cs.

int Sandbox.Game.Gui.MyHudChat.MaxMessageCount = MAX_MESSAGES_IN_CHAT_DEFAULT
static

Definition at line 26 of file MyHudChat.cs.

int Sandbox.Game.Gui.MyHudChat.MaxMessageTime = MAX_MESSAGE_TIME_DEFAULT
static

Definition at line 25 of file MyHudChat.cs.

Queue<Tuple<string, string, string> > Sandbox.Game.Gui.MyHudChat.MessagesQueue = new Queue<Tuple<string, string, string>>()

Definition at line 28 of file MyHudChat.cs.

Property Documentation

int Sandbox.Game.Gui.MyHudChat.Timestamp
get

Definition at line 32 of file MyHudChat.cs.


The documentation for this class was generated from the following file: