public class DialogCancel extends CommandMessage
Modifier and Type | Field and Description |
---|---|
protected String |
Id
Id of the cancelled dialog.
|
protected String |
Player
Name of the player on who's HUD is the dialog.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
Constructor and Description |
---|
DialogCancel()
Creates new instance of command DialogCancel.
|
DialogCancel(DialogCancel original)
Cloning constructor.
|
DialogCancel(String Player,
String Id)
Creates new instance of command DialogCancel.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Id of the cancelled dialog.
|
String |
getPlayer()
Name of the player on who's HUD is the dialog.
|
DialogCancel |
setId(String Id)
Id of the cancelled dialog.
|
DialogCancel |
setPlayer(String Player)
Name of the player on who's HUD is the dialog.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected String Player
protected String Id
public DialogCancel(String Player, String Id)
Player
- Name of the player on who's HUD is the dialog.Id
- Id of the cancelled dialog.public DialogCancel()
public DialogCancel(DialogCancel original)
original
- public String getPlayer()
public DialogCancel setPlayer(String Player)
public String getId()
public DialogCancel setId(String Id)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.