public class TeamChat extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
Unique UnrealId of the sender.
|
protected String |
Name
Human readable name of the sender.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected String |
Text
A human readable message sent by a team mate in the game on
the private team channel.
|
| Constructor and Description |
|---|
TeamChat()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
TeamChat(TeamChat original)
Cloning constructor.
|
TeamChat(UnrealId Id,
String Name,
String Text)
Creates new instance of command TeamChat.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getId()
Unique UnrealId of the sender.
|
String |
getName()
Human readable name of the sender.
|
long |
getSimTime() |
String |
getText()
A human readable message sent by a team mate in the game on
the private team channel.
|
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected UnrealId Id
protected String Name
protected String Text
public TeamChat(UnrealId Id, String Name, String Text)
Id - Unique UnrealId of the sender.Name - Human readable name of the sender.Text - A human readable message sent by a team mate in the game on
the private team channel.public TeamChat(TeamChat original)
public TeamChat()
public UnrealId getId()
public String getName()
public String getText()
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class InfoMessagepublic String toHtmlString()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.