|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.udk.communication.messages.GBEvent cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.TeamChat
public class TeamChat
Asynchronous message. Recieved message from team chat channel. Corresponding GameBots message is VMT.
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class cz.cuni.amis.pogamut.udk.communication.messages.GBEvent |
---|
getWorldEvent |
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
---|
toJsonLiteral |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE
protected UnrealId Id
protected String Name
protected String Text
Constructor Detail |
---|
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()
Method Detail |
---|
public UnrealId getId()
public String getName()
public String getText()
public long getSimTime()
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
getSimTime
in class GBEvent
public String toString()
toString
in class InfoMessage
public String toHtmlString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |