Interface ServerDialogOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerDialog, ServerDialog.Builder
@Generated
public interface ServerDialogOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFor NOTICE type: the single action button.For NOTICE type: the single action button.getActions(int index) For MULTI_ACTION type: list of action buttons.intFor MULTI_ACTION type: list of action buttons.For MULTI_ACTION type: list of action buttons.getActionsOrBuilder(int index) For MULTI_ACTION type: list of action buttons.List<? extends DialogButtonOrBuilder> For MULTI_ACTION type: list of action buttons.Behavior after an action button is clicked.intBehavior after an action button is clicked.getBody(int index) Body elements (text and items) displayed in the dialog.intBody elements (text and items) displayed in the dialog.Body elements (text and items) displayed in the dialog.getBodyOrBuilder(int index) Body elements (text and items) displayed in the dialog.List<? extends DialogBodyElementOrBuilder> Body elements (text and items) displayed in the dialog.intFor SERVER_LINKS and DIALOG_LIST: button width.booleanWhether ESC key can close the dialog.intFor MULTI_ACTION and DIALOG_LIST: number of button columns.For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.Button label when shown as an external/minimized button.com.google.protobuf.ByteStringButton label when shown as an external/minimized button.getId()Dialog identifier from the server.com.google.protobuf.ByteStringDialog identifier from the server.getInputs(int index) Input controls for gathering user data.intInput controls for gathering user data.Input controls for gathering user data.getInputsOrBuilder(int index) Input controls for gathering user data.List<? extends DialogInputOrBuilder> Input controls for gathering user data.getNo()For CONFIRMATION type: the "no" button.For CONFIRMATION type: the "no" button.booleangetPause()Whether to pause the game in singleplayer.getTitle()Dialog title (may be a JSON text component).com.google.protobuf.ByteStringDialog title (may be a JSON text component).getType()The type of dialog, determining overall structure.intThe type of dialog, determining overall structure.getYes()For CONFIRMATION type: the "yes" button.For CONFIRMATION type: the "yes" button.booleanFor NOTICE type: the single action button.booleanFor MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.booleanButton label when shown as an external/minimized button.booleanhasNo()For CONFIRMATION type: the "no" button.booleanhasYes()For CONFIRMATION type: the "yes" button.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
DialogType getType()The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Returns:
- The type.
-
getTitle
String getTitle()Dialog title (may be a JSON text component).
string title = 3;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Dialog title (may be a JSON text component).
string title = 3;- Returns:
- The bytes for title.
-
hasExternalTitle
boolean hasExternalTitle()Button label when shown as an external/minimized button.
optional string external_title = 4;- Returns:
- Whether the externalTitle field is set.
-
getExternalTitle
String getExternalTitle()Button label when shown as an external/minimized button.
optional string external_title = 4;- Returns:
- The externalTitle.
-
getExternalTitleBytes
com.google.protobuf.ByteString getExternalTitleBytes()Button label when shown as an external/minimized button.
optional string external_title = 4;- Returns:
- The bytes for externalTitle.
-
getBodyList
List<DialogBodyElement> getBodyList()Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBodyCount
int getBodyCount()Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBodyOrBuilderList
List<? extends DialogBodyElementOrBuilder> getBodyOrBuilderList()Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBodyOrBuilder
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getInputsList
List<DialogInput> getInputsList()Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputsCount
int getInputsCount()Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputsOrBuilderList
List<? extends DialogInputOrBuilder> getInputsOrBuilderList()Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputsOrBuilder
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getCanCloseWithEscape
boolean getCanCloseWithEscape()Whether ESC key can close the dialog. Default: true.
bool can_close_with_escape = 7;- Returns:
- The canCloseWithEscape.
-
getPause
boolean getPause()Whether to pause the game in singleplayer. Default: true. No effect in multiplayer.
bool pause = 8;- Returns:
- The pause.
-
getAfterActionValue
int getAfterActionValue()Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Returns:
- The enum numeric value on the wire for afterAction.
-
getAfterAction
DialogAfterAction getAfterAction()Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Returns:
- The afterAction.
-
hasAction
boolean hasAction()For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10;- Returns:
- Whether the action field is set.
-
getAction
DialogButton getAction()For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10;- Returns:
- The action.
-
getActionOrBuilder
DialogButtonOrBuilder getActionOrBuilder()For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10; -
hasYes
boolean hasYes()For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11;- Returns:
- Whether the yes field is set.
-
getYes
DialogButton getYes()For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11;- Returns:
- The yes.
-
getYesOrBuilder
DialogButtonOrBuilder getYesOrBuilder()For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11; -
hasNo
boolean hasNo()For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12;- Returns:
- Whether the no field is set.
-
getNo
DialogButton getNo()For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12;- Returns:
- The no.
-
getNoOrBuilder
DialogButtonOrBuilder getNoOrBuilder()For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12; -
getActionsList
List<DialogButton> getActionsList()For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActionsCount
int getActionsCount()For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActionsOrBuilderList
List<? extends DialogButtonOrBuilder> getActionsOrBuilderList()For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActionsOrBuilder
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getColumns
int getColumns()For MULTI_ACTION and DIALOG_LIST: number of button columns. Default: 2.
int32 columns = 14;- Returns:
- The columns.
-
hasExitAction
boolean hasExitAction()For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15;- Returns:
- Whether the exitAction field is set.
-
getExitAction
DialogButton getExitAction()For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15;- Returns:
- The exitAction.
-
getExitActionOrBuilder
DialogButtonOrBuilder getExitActionOrBuilder()For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15; -
getButtonWidth
int getButtonWidth()For SERVER_LINKS and DIALOG_LIST: button width. Default: 150.
int32 button_width = 16;- Returns:
- The buttonWidth.
-