Class InfoBoxSelectionMultipleColor
Info box writer with selection and color support
Inheritance
Namespace
Syntax
public static class InfoBoxSelectionMultipleColor
Methods
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceCategoryInfo[], string, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| initialChoices | int[] | Zero-based index numbers of selected choices |
| currentSelection | int | Current selection (the choice that will be highlighted) |
| selections | InputChoiceCategoryInfo[] | List of choices |
| text | string | Text to be written. |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceCategoryInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| initialChoices | int[] | Zero-based index numbers of selected choices |
| currentSelection | int | Current selection (the choice that will be highlighted) |
| selections | InputChoiceCategoryInfo[] | List of choices |
| text | string | Text to be written. |
| settings | InfoBoxSettings | Infobox settings to use |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceInfo[], string, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| initialChoices | int[] | Zero-based index numbers of selected choices |
| currentSelection | int | Current selection (the choice that will be highlighted) |
| selections | InputChoiceInfo[] | List of choices |
| text | string | Text to be written. |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| initialChoices | int[] | Zero-based index numbers of selected choices |
| currentSelection | int | Current selection (the choice that will be highlighted) |
| selections | InputChoiceInfo[] | List of choices |
| text | string | Text to be written. |
| settings | InfoBoxSettings | Infobox settings to use |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(InputChoiceCategoryInfo[], string, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| selections | InputChoiceCategoryInfo[] | List of choices |
| text | string | Text to be written. |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(InputChoiceCategoryInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| selections | InputChoiceCategoryInfo[] | List of choices |
| text | string | Text to be written. |
| settings | InfoBoxSettings | Infobox settings to use |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(InputChoiceInfo[], string, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| selections | InputChoiceInfo[] | List of choices |
| text | string | Text to be written. |
| vars | object[] | Variables to format the message before it's written. |
WriteInfoBoxSelectionMultiple(InputChoiceInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Returns
Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred
Declaration
public static int[] WriteInfoBoxSelectionMultiple(InputChoiceInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| selections | InputChoiceInfo[] | List of choices |
| text | string | Text to be written. |
| settings | InfoBoxSettings | Infobox settings to use |
| vars | object[] | Variables to format the message before it's written. |