FSUIPC Client DLL
.NET interface for FSUIPC
|
Public Member Functions | |
TextMenu () | |
Creates a new TextMenu class. More... | |
TextMenu (byte ClassInstance) | |
Creates a new TextMenu class for a specific WideClient class instance. More... | |
void | RefreshData () |
Gets the latest text or menu displayed in the flight sim. More... | |
override string | ToString () |
Returns the entire last message received in a single fixed-length string. More... | |
string | ToString (string RowDelimiter, bool IncludeMenuTitle, bool IncludeMenuPrompt, bool AddNumbersToMenuItem) |
Returns the entire last message received in a single fixed-length string. More... | |
Properties | |
float | Duration [get] |
Indicates how long in seconds the text should be displayed for. More... | |
bool | IsMenu [get] |
Indicates if the display text is a menu. If false it's a single line message. More... | |
bool | Changed [get] |
Indicates if the text has changed since the last Refrash() More... | |
string [] | MenuItems [get] |
An array of strings representing each menu item More... | |
int | MenuItemCount [get] |
The number of lines in the menu. This is filled when IsMenu is true. More... | |
string | MenuTitleText [get] |
The title of the menu. This is filled when IsMenu is true. More... | |
string | MenuPromptText [get] |
The prompt text of the menu. This is the fist line displayed above the menu options. This is filled when IsMenu is true. More... | |
string | Message [get] |
The message text. This filled when IsMenu is false. More... | |
SimConnectMessageType | MessageType [get] |
The message type (static, scrolling, menu or window) More... | |
SimConnectMessageColor | MessageColor [get] |
The message color (applies to static and scrolling messages only) More... | |
int | ID [get] |
The ID of the SimConnect event More... | |
Helper class for reading the SimConnect Menu Text displayed by other Add-Ons (e.g. Radar Contact)
|
inline |
Creates a new TextMenu class for a specific WideClient class instance.
|
inline |
Gets the latest text or menu displayed in the flight sim.
|
inline |
Returns the entire last message received in a single fixed-length string.
The order is from left to right starting at the top row and going down.
|
inline |
Returns the entire last message received in a single fixed-length string.
The order is from left to right starting at the top row and going down.
Each row is seperated by the supplied RowDeimiter
RowDelimiter | A string that will be used to mark the end of each row |
IncludeMenuTitle | Pass true to include the title of the menu in the string |
IncludeMenuPrompt | Pass true to include the menu prompt in the string |
AddNumbersToMenuItem | Pass true to automatically add numbers to the menu items |
|
get |
Indicates if the text has changed since the last Refrash()
|
get |
Indicates how long in seconds the text should be displayed for.
|
get |
The ID of the SimConnect event
|
get |
Indicates if the display text is a menu. If false it's a single line message.
|
get |
The number of lines in the menu. This is filled when IsMenu is true.
|
get |
An array of strings representing each menu item
|
get |
The prompt text of the menu. This is the fist line displayed above the menu options. This is filled when IsMenu is true.
|
get |
The title of the menu. This is filled when IsMenu is true.
|
get |
The message text. This filled when IsMenu is false.
|
get |
The message color (applies to static and scrolling messages only)
|
get |
The message type (static, scrolling, menu or window)