public class SetDialog extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected String |
DialogId
Our Id of the dialog - we will match this Id in response messages and in PLI messages.
|
protected UnrealId |
Id
Id of the player we want to set dialog for.
|
protected String |
Option0
One of the options (possible answers) for the dialog.
|
protected String |
Option1
One of the options (possible answers) for the dialog.
|
protected String |
Option2
One of the options (possible answers) for the dialog.
|
protected String |
Option3
One of the options (possible answers) for the dialog.
|
protected String |
Option4
One of the options (possible answers) for the dialog.
|
protected String |
Option5
One of the options (possible answers) for the dialog.
|
protected String |
Option6
One of the options (possible answers) for the dialog.
|
protected String |
Option7
One of the options (possible answers) for the dialog.
|
protected String |
Option8
One of the options (possible answers) for the dialog.
|
protected String |
Option9
One of the options (possible answers) for the dialog.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected String |
Text
Text of the dialog.
|
| Constructor and Description |
|---|
SetDialog()
Creates new instance of command SetDialog.
|
SetDialog(SetDialog original)
Cloning constructor.
|
SetDialog(UnrealId Id,
String DialogId,
String Text,
String Option0,
String Option1,
String Option2,
String Option3,
String Option4,
String Option5,
String Option6,
String Option7,
String Option8,
String Option9)
Creates new instance of command SetDialog.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDialogId()
Our Id of the dialog - we will match this Id in response messages and in PLI messages.
|
UnrealId |
getId()
Id of the player we want to set dialog for.
|
String |
getOption0()
One of the options (possible answers) for the dialog.
|
String |
getOption1()
One of the options (possible answers) for the dialog.
|
String |
getOption2()
One of the options (possible answers) for the dialog.
|
String |
getOption3()
One of the options (possible answers) for the dialog.
|
String |
getOption4()
One of the options (possible answers) for the dialog.
|
String |
getOption5()
One of the options (possible answers) for the dialog.
|
String |
getOption6()
One of the options (possible answers) for the dialog.
|
String |
getOption7()
One of the options (possible answers) for the dialog.
|
String |
getOption8()
One of the options (possible answers) for the dialog.
|
String |
getOption9()
One of the options (possible answers) for the dialog.
|
String |
getText()
Text of the dialog.
|
SetDialog |
setDialogId(String DialogId)
Our Id of the dialog - we will match this Id in response messages and in PLI messages.
|
SetDialog |
setId(UnrealId Id)
Id of the player we want to set dialog for.
|
SetDialog |
setOption0(String Option0)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption1(String Option1)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption2(String Option2)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption3(String Option3)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption4(String Option4)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption5(String Option5)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption6(String Option6)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption7(String Option7)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption8(String Option8)
One of the options (possible answers) for the dialog.
|
SetDialog |
setOption9(String Option9)
One of the options (possible answers) for the dialog.
|
SetDialog |
setText(String Text)
Text of the dialog.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected UnrealId Id
protected String DialogId
protected String Text
protected String Option0
protected String Option1
protected String Option2
protected String Option3
protected String Option4
protected String Option5
protected String Option6
protected String Option7
protected String Option8
protected String Option9
public SetDialog(UnrealId Id, String DialogId, String Text, String Option0, String Option1, String Option2, String Option3, String Option4, String Option5, String Option6, String Option7, String Option8, String Option9)
Id - Id of the player we want to set dialog for.DialogId - Our Id of the dialog - we will match this Id in response messages and in PLI messages. We choose this value.Text - Text of the dialog.Option0 - One of the options (possible answers) for the dialog.Option1 - One of the options (possible answers) for the dialog.Option2 - One of the options (possible answers) for the dialog.Option3 - One of the options (possible answers) for the dialog.Option4 - One of the options (possible answers) for the dialog.Option5 - One of the options (possible answers) for the dialog.Option6 - One of the options (possible answers) for the dialog.Option7 - One of the options (possible answers) for the dialog.Option8 - One of the options (possible answers) for the dialog.Option9 - One of the options (possible answers) for the dialog.public SetDialog()
public SetDialog(SetDialog original)
original - public UnrealId getId()
public String getDialogId()
public SetDialog setDialogId(String DialogId)
public String getText()
public String getOption0()
public SetDialog setOption0(String Option0)
public String getOption1()
public SetDialog setOption1(String Option1)
public String getOption2()
public SetDialog setOption2(String Option2)
public String getOption3()
public SetDialog setOption3(String Option3)
public String getOption4()
public SetDialog setOption4(String Option4)
public String getOption5()
public SetDialog setOption5(String Option5)
public String getOption6()
public SetDialog setOption6(String Option6)
public String getOption7()
public SetDialog setOption7(String Option7)
public String getOption8()
public SetDialog setOption8(String Option8)
public String getOption9()
public SetDialog setOption9(String Option9)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.