public class Chat
extends Object
Modifier and Type | Method and Description |
---|---|
void |
chat(string text,
int player)
Adds a line of chat text from the given player (current if not provided).
|
void |
sendChatToAllies(string message)
Sends chat to allies.
|
void |
sendChatToEnemies(string message)
Sends chat to enemies.
|
void |
sendChatToEveryone(string message)
Sends chat to everyone.
|
void |
sendChatToPlayer(int player,
string message)
Sends chat to given player.
|
void |
sendChatToTeam(int team,
string message)
Sends chat to a team.
|
void |
uiChatScroll(int nbPagesBack)
Navigates through chat history, resetting mode as needed.
|
void |
uiSendIngameChat()
Used by the chat input.
|
void |
uiToggleChat()
Toggles chat visibility.
|
public void uiChatScroll(int nbPagesBack)
public void chat(string text, int player)
public void uiSendIngameChat()
public void sendChatToEveryone(string message)
public void sendChatToAllies(string message)
public void sendChatToEnemies(string message)
public void sendChatToPlayer(int player, string message)
public void sendChatToTeam(int team, string message)
public void uiToggleChat()