DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
|
A table config from a ini file. More...
Public Member Functions | |
void | ParseLedControlDataLine (string LedControlData, bool ThrowExceptions) |
Gets the table config from led control data. Parses one line of a Ledcontrol.ini file, it should look something like mm,L88 Blink I44,L87,ON Red,S37,S7,S48,S46/S1/S2,S10/S8,S11,S4 300 I32/S8 300 I32/W15 300 2/W25 300 2,S3/S4/S8/S33,S4/S9/S14/S26/S35,S4/S5/S12/S13/S34/S36,S4/S16/S27/S28,S7 300/S4 1500/S8 300/S33 300/S35 300,S7 White/S17 Red/S18 Red/S19 Red/W26 Magenta,S7 White/S24 Green/S25 Green/W15 Lime/W44 Green,S7 White/S22 Red/S24 Green,S7 White/S21 Red/S12 Magenta/S13 Magenta/W25 Lime,S7 White/S20 Red/S23 Red/S14 Magenta/W17 Magenta (Looks cool for Medival Madness) More... | |
TableConfig () | |
Initializes a new instance of the TableConfig class. More... | |
TableConfig (string LedControlData, bool ThrowExceptions) | |
Initializes a new instance of the TableConfig class. Gets the table config from led control data. Parses one line of a Ledcontrol.ini file, it should look something like mm,L88 Blink I44,L87,ON Red,S37,S7,S48,S46/S1/S2,S10/S8,S11,S4 300 I32/S8 300 I32/W15 300 2/W25 300 2,S3/S4/S8/S33,S4/S9/S14/S26/S35,S4/S5/S12/S13/S34/S36,S4/S16/S27/S28,S7 300/S4 1500/S8 300/S33 300/S35 300,S7 White/S17 Red/S18 Red/S19 Red/W26 Magenta,S7 White/S24 Green/S25 Green/W15 Lime/W44 Green,S7 White/S22 Red/S24 Green,S7 White/S21 Red/S12 Magenta/S13 Magenta/W25 Lime,S7 White/S20 Red/S23 Red/S14 Magenta/W17 Magenta (Looks cool for Medival Madness) More... | |
Properties | |
string | ShortRomName [get, set] |
Gets or sets the short name of the rom. More... | |
TableConfigColumnList | Columns [get, set] |
Gets or sets the columns in the table table config. More... | |
A table config from a ini file.
DirectOutput.LedControl.Loader.TableConfig.TableConfig | ( | ) |
Initializes a new instance of the TableConfig class.
DirectOutput.LedControl.Loader.TableConfig.TableConfig | ( | string | LedControlData, |
bool | ThrowExceptions | ||
) |
Initializes a new instance of the TableConfig class. Gets the table config from led control data.
Parses one line of a Ledcontrol.ini file, it should look something like
mm,L88 Blink I44,L87,ON Red,S37,S7,S48,S46/S1/S2,S10/S8,S11,S4 300 I32/S8 300 I32/W15 300 2/W25 300 2,S3/S4/S8/S33,S4/S9/S14/S26/S35,S4/S5/S12/S13/S34/S36,S4/S16/S27/S28,S7 300/S4 1500/S8 300/S33 300/S35 300,S7 White/S17 Red/S18 Red/S19 Red/W26 Magenta,S7 White/S24 Green/S25 Green/W15 Lime/W44 Green,S7 White/S22 Red/S24 Green,S7 White/S21 Red/S12 Magenta/S13 Magenta/W25 Lime,S7 White/S20 Red/S23 Red/S14 Magenta/W17 Magenta
(Looks cool for Medival Madness)
LedControlData | One line of data from led control ini. |
ThrowExceptions | If set to true the parser will throw exceptions if something wrong is found in the data, otherwise exceptions are ignored. |
0
System.Exception | No usable data found in line {0}. or No short Rom name found in line {0}. |
void DirectOutput.LedControl.Loader.TableConfig.ParseLedControlDataLine | ( | string | LedControlData, |
bool | ThrowExceptions | ||
) |
Gets the table config from led control data.
Parses one line of a Ledcontrol.ini file, it should look something like
mm,L88 Blink I44,L87,ON Red,S37,S7,S48,S46/S1/S2,S10/S8,S11,S4 300 I32/S8 300 I32/W15 300 2/W25 300 2,S3/S4/S8/S33,S4/S9/S14/S26/S35,S4/S5/S12/S13/S34/S36,S4/S16/S27/S28,S7 300/S4 1500/S8 300/S33 300/S35 300,S7 White/S17 Red/S18 Red/S19 Red/W26 Magenta,S7 White/S24 Green/S25 Green/W15 Lime/W44 Green,S7 White/S22 Red/S24 Green,S7 White/S21 Red/S12 Magenta/S13 Magenta/W25 Lime,S7 White/S20 Red/S23 Red/S14 Magenta/W17 Magenta
(Looks cool for Medival Madness)
LedControlData | One line of data from led control ini. |
ThrowExceptions | If set to true the parser will throw exceptions if something wrong is found in the data, otherwise exceptions are ignored. |
System.Exception | No usable data found in line {0}. or No short Rom name found in line {0}. |
|
getset |
Gets or sets the columns in the table table config.
The columns.
|
getset |
Gets or sets the short name of the rom.
The short name of the rom.