Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Xml.Serialization;
- namespace XmlTests {
- public class Program {
- static void Main(string[] args) {
- // read in the .xml as generated by MAME.
- IEnumerable<mameGame> fullGameList = ReadXmlGameDefinitions();
- // Define the cabinet.
- CabinetDefinition cabinetDefinition = GetCabinetDefinition();
- // See which games match the cabinet definition.
- var resultGameList = GetCompatibleGamesByCabinet(cabinetDefinition, fullGameList);
- // display the list.
- DisplayResults(resultGameList);
- }
- private static CabinetDefinition GetCabinetDefinition() {
- CabinetDefinition cabinetDefinition = new CabinetDefinition();
- cabinetDefinition.monitor0 = new Monitor {
- orientation = Monitor.MonitorOrientation.Vertical,
- type = Monitor.MonitorType.Raster
- };
- cabinetDefinition.input = new Input { buttons = 6 };
- cabinetDefinition.input.controls = new List<ControlMethod>();
- cabinetDefinition.input.controls.Add(new ControlMethod {
- type = ControlMethod.ControlType.joy,
- ways = "8"
- });
- return cabinetDefinition;
- }
- private static IEnumerable<mameGame> ReadXmlGameDefinitions() {
- XmlSerializer deserializer = new XmlSerializer(typeof(mame));
- mame GameList = (mame)deserializer.Deserialize(new StringReader(File.ReadAllText("list.xml")));
- IEnumerable<mameGame> fullGameList = GameList.game.ToList(); // no lazy loading for us!
- return fullGameList;
- }
- private static void DisplayResults(IEnumerable<mameGame> resultGameList) {
- // output a list of MAME games in the MAME XML format. Not much use outside of debugging.
- // this is where I will generate the list the of resulting games for selection in the web UI.
- Console.WriteLine(resultGameList.Count());
- //XmlSerializer serializer = new XmlSerializer(typeof(mame));
- //// describe the structure we're serializing to:
- //mame mameSet = new mame();
- //mameSet.game = resultGameList.ToArray<mameGame>();
- //// serialize it into a StringBuilder.
- //StringBuilder output = new StringBuilder();
- //serializer.Serialize(new StringWriter(output), mameSet);
- //// print the XML to the console.
- //Console.WriteLine(output.ToString());
- }
- /// <summary>
- /// Gets a list of games which can be run and controlled by a cabinet as described.
- /// </summary>
- /// <param name="cab">Description of the cabinet which will play the MAME games.</param>
- /// <param name="fullGameList">List of MAME games which are playable on the specified cabinet.</param>
- /// <returns></returns>
- private static IEnumerable<mameGame> GetCompatibleGamesByCabinet(CabinetDefinition cab, IEnumerable<mameGame> fullGameList) {
- // only interested in working games.
- IEnumerable<mameGame> resultGames = fullGameList // 28403 remain
- .Where(x => x.driver != null) // 28403 remain
- .Where(x => x.driver.status != null) // 28403 remain
- .Where(x => x.driver.status == "good" || x.driver.status == "imperfect") // 8070 remain
- ;
- resultGames = RestrictGamesByMonitorConfiguration(cab, resultGames);
- resultGames = RestrictGamesByButtonCount(cab, resultGames);
- resultGames = RestrictGamesByControlMethod(cab, resultGames);
- return resultGames;
- }
- /// <summary>
- /// Filters games from the list where the monitor configuration does not match the cabinet configuration (loosely.)
- /// </summary>
- /// <param name="cab">Cabinet Definition</param>
- /// <param name="resultGames">The list of games which we will filter.</param>
- /// <returns>The filtered list.</returns>
- private static IEnumerable<mameGame> RestrictGamesByMonitorConfiguration(CabinetDefinition cab, IEnumerable<mameGame> resultGames) {
- // almost all MAME cabinets will have a single monitor. MAME is smart enough to do just about
- // anything required on this single monitor. We're not going to filter out a lot of games with
- // this, but if the monitor is vertical, assume only vertical games are desired.
- if (cab.monitor0 != null) {
- resultGames = resultGames.Where(x => x.display != null);
- if (cab.monitor0.orientation == Monitor.MonitorOrientation.Vertical) {
- resultGames = resultGames.Where(x => x.display.Count(d => d.rotate == "270" || d.rotate == "90") > 0);
- } else if (cab.monitor0.orientation == Monitor.MonitorOrientation.Horizontal) {
- resultGames = resultGames.Where(x => x.display.Count(d => d.rotate == "0" || d.rotate == "180") > 0);
- }
- // if the monitor is a vector monitor, only show vector games. otherwise, do not restrict the results, as raster
- // monitors can display vector graphics.
- if (cab.monitor0.type == Monitor.MonitorType.Vector) {
- resultGames = resultGames.Where(x => x.display.Count(d => d.type == "vector") > 0);
- }
- }
- return resultGames;
- }
- /// <summary>
- /// Filters games from the list where the button configuration does not match the cabinet configuration (loosely.)
- /// </summary>
- /// <param name="cab">Cabinet Definition</param>
- /// <param name="resultGames">The list of games which we will filter.</param>
- /// <returns>The filtered list.</returns>
- private static IEnumerable<mameGame> RestrictGamesByButtonCount(CabinetDefinition cab, IEnumerable<mameGame> resultGames) {
- switch (cab.input.buttons) {
- // can't really take advantage of fallthrough, because the default .Where() operator is "AND" and we need "OR".
- case 0:
- resultGames = resultGames.Where(x => x.input.buttons == null);
- break;
- case 1:
- resultGames = resultGames.Where(x => x.input.buttons == null || x.input.buttons == "1");
- break;
- case 2:
- resultGames = resultGames.Where(x => x.input.buttons == null || x.input.buttons == "2" || x.input.buttons == "1");
- break;
- case 3:
- resultGames = resultGames.Where(x => x.input.buttons == null || x.input.buttons == "3" || x.input.buttons == "2" || x.input.buttons == "1");
- break;
- case 4:
- resultGames = resultGames.Where(x => x.input.buttons == null || x.input.buttons == "4" || x.input.buttons == "3" || x.input.buttons == "2" || x.input.buttons == "1");
- break;
- case 5:
- resultGames = resultGames.Where(x => x.input.buttons == null || x.input.buttons == "5" || x.input.buttons == "4" || x.input.buttons == "3" || x.input.buttons == "2" || x.input.buttons == "1");
- break;
- case 6:
- resultGames = resultGames.Where(x => x.input.buttons == null || x.input.buttons == "5" || x.input.buttons == "5" || x.input.buttons == "4" || x.input.buttons == "3" || x.input.buttons == "2" || x.input.buttons == "1");
- break;
- default:
- throw new NotImplementedException("Only 0-6 buttons are supported in this configurator, currently.");
- }
- return resultGames;
- }
- /// <summary>
- /// Filters games from the list where the control method configuration (joystick vs. steering wheel, etc.)
- /// does not match the cabinet configuration (loosely.) Makes some assumptions.
- /// </summary>
- /// <param name="cab">Cabinet Definition</param>
- /// <param name="resultGames">The list of games which we will filter.</param>
- /// <returns>The filtered list.</returns>
- private static IEnumerable<mameGame> RestrictGamesByControlMethod(CabinetDefinition cab, IEnumerable<mameGame> resultGames) {
- if (null == cab.input.controls || cab.input.controls.Count() == 0) {
- resultGames = resultGames.Where(x => x.input.control == null);
- } else if (cab.input.controls != null) {
- foreach (ControlMethod cm in cab.input.controls) {
- if (cm.type == ControlMethod.ControlType.joy) {
- resultGames = FilterByJoystickConfiguration(resultGames, cm);
- } else if (cm.type == ControlMethod.ControlType.dial) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "dial") > 0);
- } else if (cm.type == ControlMethod.ControlType.doublejoy) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "doublejoy") > 0);
- } else if (cm.type == ControlMethod.ControlType.lightgun) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "lightgun") > 0);
- } else if (cm.type == ControlMethod.ControlType.trackball) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "trackball") > 0);
- } else if (cm.type == ControlMethod.ControlType.stick) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "stick") > 0);
- } else if (cm.type == ControlMethod.ControlType.paddle) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "paddle") > 0);
- } else if (cm.type == ControlMethod.ControlType.pedal) {
- resultGames = resultGames.Where(x => x.input.control.Count(c => c.type == "pedal") > 0);
- }
- }
- }
- return resultGames;
- }
- /// <summary>
- /// Filters games based on the joystick configuration.
- /// </summary>
- /// <param name="resultGames">List of games to be filtered.</param>
- /// <param name="cm">ControlMethod describing the joystick configuration of the physical cabinet.</param>
- /// <returns>Filtered list of games which can run on a physical cabinet of the given joystick configuration.</returns>
- private static IEnumerable<mameGame> FilterByJoystickConfiguration(IEnumerable<mameGame> resultGames, ControlMethod cm) {
- resultGames = resultGames
- .Where(x => x.input != null)
- .Where(x => x.input.control != null)
- .Where(x => x.input.control.Count(c => c.type == "joy") > 0);
- // If the joystick directions are specified, then restrict by that. Otherwise don't restrict at all.
- // this is imperfect. I don't know how to check a specific joystick for a specific ways option. This will be
- // a problem if a game has different joystick setups per player...
- if (null != cm.ways || cm.ways == "") {
- if (cm.ways == "8") { // 8-way sticks support all ways.
- resultGames = resultGames.Where(x => x.input.control.Count(t => t.type == "joy" && (t.ways == cm.ways || t.ways == "5 (half8)" || t.ways == "4" || t.ways == "3 (half4)" || t.ways == "2" || t.ways == "vertical2" || t.ways == "1")) > 0);
- } else if (cm.ways == "5 (half8)") { // 5-way sticks support 5, 3, 2, and 1.
- resultGames = resultGames.Where(x => x.input.control.Count(t => t.type == "joy" && (t.ways == cm.ways || t.ways == "3 (half4)" || t.ways == "2" || t.ways == "1")) > 0);
- } else if (cm.ways == "4") { // 4-way sticks support 4, 3, 1, vertical2, and 1.
- resultGames = resultGames.Where(x => x.input.control.Count(t => t.type == "joy" && (t.ways == cm.ways || t.ways == "3 (half4)" || t.ways == "2" || t.ways == "vertical2" || t.ways == "1")) > 0);
- } else if (cm.ways == "3 (half4)") { // half-4 sticks support 3, 2, and 1.
- resultGames = resultGames.Where(x => x.input.control.Count(t => t.type == "joy" && (t.ways == cm.ways || t.ways == "2" || t.ways == "1")) > 0);
- } else { // other sticks only support their native ways.
- resultGames = resultGames.Where(x => x.input.control.Count(t => t.type == "joy" && t.ways == cm.ways) > 0);
- }
- }
- return resultGames;
- }
- # region CabinetConfiguration
- // should probably create a constructor that mandates at least one monitor and one control type,
- // but MAME itself does not, so I'm not going to worry about it for now.
- class CabinetDefinition {
- public Monitor monitor0 { get; set; }
- public Monitor monitor1 { get; set; }
- public Monitor monitor2 { get; set; }
- public Monitor monitor3 { get; set; }
- public Input input { get; set; }
- }
- class Monitor {
- public enum MonitorType { Raster, Vector, LCD };
- public enum MonitorOrientation { Horizontal, Vertical };
- public MonitorType type { get; set; }
- public MonitorOrientation orientation { get; set; }
- }
- class Input {
- public int buttons { get; set; }
- public int players { get; set; }
- public int coins { get; set; }
- public List<ControlMethod> controls { get; set; }
- }
- class ControlMethod {
- public enum ControlType { dial, doublejoy, gambling, hanafuda, joy, keyboard, keypad, lightgun, mahjong, mouse, paddle, pedal, positional, stick, trackball };
- public ControlType type { get; set; }
- /// <summary>
- /// Number of distinct directions the game recognizes joystick input. Valid values are: "1", "2", "vertical2", "3 (half4)", "4", "5 (half8)", and "8".
- /// </summary>
- public string ways { get; set; } // for joysticks
- }
- # endregion CabinetConfiguration
- # region MameDefinition
- /// <remarks>
- /// This was generated by the xsd tool provided by the Windows SDK. I modified the .xsd file generated in the first step,
- /// as the tool has a small bug where, in a few instances, it will believe that there can be any number of child elements,
- /// when in fact the DTD only allows 0 or 1. this affected mame.game.input and mame.game.sound, and possibly another, I
- /// can't remember now. If you generate this .cs file from -listxml output, you will have a different file than this,
- /// slightly, and your file will not match the DTD at the head of the XML you generated due to that xsd.exe bug. This
- /// version is correct.
- /// </remarks>
- ///
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
- public partial class mame {
- private mameGame[] gameField;
- private string buildField;
- private string debugField;
- private string mameconfigField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("game", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGame[] game {
- get {
- return this.gameField;
- }
- set {
- this.gameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string build {
- get {
- return this.buildField;
- }
- set {
- this.buildField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string debug {
- get {
- return this.debugField;
- }
- set {
- this.debugField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string mameconfig {
- get {
- return this.mameconfigField;
- }
- set {
- this.mameconfigField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGame {
- private string descriptionField;
- private string yearField;
- private string manufacturerField;
- private mameGameBiosset[] biossetField;
- private mameGameRom[] romField;
- private mameGameDisk[] diskField;
- private mameGameDevice_ref[] device_refField;
- private mameGameSample[] sampleField;
- private mameGameChip[] chipField;
- private mameGameDisplay[] displayField;
- private mameGameSound soundField;
- private mameGameInput inputField;
- private mameGameDipswitch[] dipswitchField;
- private mameGameConfiguration[] configurationField;
- private mameGameAdjuster[] adjusterField;
- private mameGameDriver driverField;
- private mameGameDevice[] deviceField;
- private mameGameSoftwarelist[] softwarelistField;
- private string nameField;
- private string sourcefileField;
- private string sampleofField;
- private string cloneofField;
- private string romofField;
- private string ismechanicalField;
- private string isbiosField;
- private string isdeviceField;
- private string runnableField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public string description {
- get {
- return this.descriptionField;
- }
- set {
- this.descriptionField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public string year {
- get {
- return this.yearField;
- }
- set {
- this.yearField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public string manufacturer {
- get {
- return this.manufacturerField;
- }
- set {
- this.manufacturerField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("biosset", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameBiosset[] biosset {
- get {
- return this.biossetField;
- }
- set {
- this.biossetField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("rom", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameRom[] rom {
- get {
- return this.romField;
- }
- set {
- this.romField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("disk", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDisk[] disk {
- get {
- return this.diskField;
- }
- set {
- this.diskField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("device_ref", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDevice_ref[] device_ref {
- get {
- return this.device_refField;
- }
- set {
- this.device_refField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("sample", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameSample[] sample {
- get {
- return this.sampleField;
- }
- set {
- this.sampleField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("chip", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameChip[] chip {
- get {
- return this.chipField;
- }
- set {
- this.chipField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("display", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDisplay[] display {
- get {
- return this.displayField;
- }
- set {
- this.displayField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameSound sound {
- get {
- return this.soundField;
- }
- set {
- this.soundField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameInput input {
- get {
- return this.inputField;
- }
- set {
- this.inputField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("dipswitch", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDipswitch[] dipswitch {
- get {
- return this.dipswitchField;
- }
- set {
- this.dipswitchField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("configuration", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameConfiguration[] configuration {
- get {
- return this.configurationField;
- }
- set {
- this.configurationField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("adjuster", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameAdjuster[] adjuster {
- get {
- return this.adjusterField;
- }
- set {
- this.adjusterField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDriver driver {
- get {
- return this.driverField;
- }
- set {
- this.driverField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("device", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDevice[] device {
- get {
- return this.deviceField;
- }
- set {
- this.deviceField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("softwarelist", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameSoftwarelist[] softwarelist {
- get {
- return this.softwarelistField;
- }
- set {
- this.softwarelistField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string sourcefile {
- get {
- return this.sourcefileField;
- }
- set {
- this.sourcefileField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string sampleof {
- get {
- return this.sampleofField;
- }
- set {
- this.sampleofField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string cloneof {
- get {
- return this.cloneofField;
- }
- set {
- this.cloneofField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string romof {
- get {
- return this.romofField;
- }
- set {
- this.romofField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string ismechanical {
- get {
- return this.ismechanicalField;
- }
- set {
- this.ismechanicalField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string isbios {
- get {
- return this.isbiosField;
- }
- set {
- this.isbiosField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string isdevice {
- get {
- return this.isdeviceField;
- }
- set {
- this.isdeviceField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string runnable {
- get {
- return this.runnableField;
- }
- set {
- this.runnableField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameBiosset {
- private string nameField;
- private string descriptionField;
- private string defaultField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string description {
- get {
- return this.descriptionField;
- }
- set {
- this.descriptionField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string @default {
- get {
- return this.defaultField;
- }
- set {
- this.defaultField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameRom {
- private string nameField;
- private string sizeField;
- private string crcField;
- private string sha1Field;
- private string regionField;
- private string offsetField;
- private string statusField;
- private string mergeField;
- private string biosField;
- private string optionalField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string size {
- get {
- return this.sizeField;
- }
- set {
- this.sizeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string crc {
- get {
- return this.crcField;
- }
- set {
- this.crcField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string sha1 {
- get {
- return this.sha1Field;
- }
- set {
- this.sha1Field = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string region {
- get {
- return this.regionField;
- }
- set {
- this.regionField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string offset {
- get {
- return this.offsetField;
- }
- set {
- this.offsetField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string status {
- get {
- return this.statusField;
- }
- set {
- this.statusField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string merge {
- get {
- return this.mergeField;
- }
- set {
- this.mergeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string bios {
- get {
- return this.biosField;
- }
- set {
- this.biosField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string optional {
- get {
- return this.optionalField;
- }
- set {
- this.optionalField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDisk {
- private string nameField;
- private string sha1Field;
- private string regionField;
- private string indexField;
- private string writableField;
- private string mergeField;
- private string statusField;
- private string optionalField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string sha1 {
- get {
- return this.sha1Field;
- }
- set {
- this.sha1Field = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string region {
- get {
- return this.regionField;
- }
- set {
- this.regionField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string index {
- get {
- return this.indexField;
- }
- set {
- this.indexField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string writable {
- get {
- return this.writableField;
- }
- set {
- this.writableField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string merge {
- get {
- return this.mergeField;
- }
- set {
- this.mergeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string status {
- get {
- return this.statusField;
- }
- set {
- this.statusField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string optional {
- get {
- return this.optionalField;
- }
- set {
- this.optionalField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDevice_ref {
- private string nameField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameSample {
- private string nameField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameChip {
- private string typeField;
- private string tagField;
- private string nameField;
- private string clockField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string type {
- get {
- return this.typeField;
- }
- set {
- this.typeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string tag {
- get {
- return this.tagField;
- }
- set {
- this.tagField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string clock {
- get {
- return this.clockField;
- }
- set {
- this.clockField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDisplay {
- private string tagField;
- private string typeField;
- private string rotateField;
- private string widthField;
- private string heightField;
- private string refreshField;
- private string pixclockField;
- private string htotalField;
- private string hbendField;
- private string hbstartField;
- private string vtotalField;
- private string vbendField;
- private string vbstartField;
- private string flipxField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string tag {
- get {
- return this.tagField;
- }
- set {
- this.tagField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string type {
- get {
- return this.typeField;
- }
- set {
- this.typeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string rotate {
- get {
- return this.rotateField;
- }
- set {
- this.rotateField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string width {
- get {
- return this.widthField;
- }
- set {
- this.widthField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string height {
- get {
- return this.heightField;
- }
- set {
- this.heightField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string refresh {
- get {
- return this.refreshField;
- }
- set {
- this.refreshField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string pixclock {
- get {
- return this.pixclockField;
- }
- set {
- this.pixclockField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string htotal {
- get {
- return this.htotalField;
- }
- set {
- this.htotalField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string hbend {
- get {
- return this.hbendField;
- }
- set {
- this.hbendField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string hbstart {
- get {
- return this.hbstartField;
- }
- set {
- this.hbstartField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string vtotal {
- get {
- return this.vtotalField;
- }
- set {
- this.vtotalField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string vbend {
- get {
- return this.vbendField;
- }
- set {
- this.vbendField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string vbstart {
- get {
- return this.vbstartField;
- }
- set {
- this.vbstartField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string flipx {
- get {
- return this.flipxField;
- }
- set {
- this.flipxField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameSound {
- private string channelsField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string channels {
- get {
- return this.channelsField;
- }
- set {
- this.channelsField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameInput {
- private mameGameInputControl[] controlField;
- private string playersField;
- private string buttonsField;
- private string coinsField;
- private string serviceField;
- private string tiltField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("control", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameInputControl[] control {
- get {
- return this.controlField;
- }
- set {
- this.controlField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string players {
- get {
- return this.playersField;
- }
- set {
- this.playersField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string buttons {
- get {
- return this.buttonsField;
- }
- set {
- this.buttonsField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string coins {
- get {
- return this.coinsField;
- }
- set {
- this.coinsField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string service {
- get {
- return this.serviceField;
- }
- set {
- this.serviceField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string tilt {
- get {
- return this.tiltField;
- }
- set {
- this.tiltField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameInputControl {
- private string typeField;
- private string waysField;
- private string minimumField;
- private string maximumField;
- private string sensitivityField;
- private string keydeltaField;
- private string reverseField;
- private string ways2Field;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string type {
- get {
- return this.typeField;
- }
- set {
- this.typeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string ways {
- get {
- return this.waysField;
- }
- set {
- this.waysField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string minimum {
- get {
- return this.minimumField;
- }
- set {
- this.minimumField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string maximum {
- get {
- return this.maximumField;
- }
- set {
- this.maximumField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string sensitivity {
- get {
- return this.sensitivityField;
- }
- set {
- this.sensitivityField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string keydelta {
- get {
- return this.keydeltaField;
- }
- set {
- this.keydeltaField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string reverse {
- get {
- return this.reverseField;
- }
- set {
- this.reverseField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string ways2 {
- get {
- return this.ways2Field;
- }
- set {
- this.ways2Field = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDipswitch {
- private mameGameDipswitchDipvalue[] dipvalueField;
- private string nameField;
- private string tagField;
- private string maskField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("dipvalue", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDipswitchDipvalue[] dipvalue {
- get {
- return this.dipvalueField;
- }
- set {
- this.dipvalueField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string tag {
- get {
- return this.tagField;
- }
- set {
- this.tagField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string mask {
- get {
- return this.maskField;
- }
- set {
- this.maskField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDipswitchDipvalue {
- private string nameField;
- private string valueField;
- private string defaultField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string value {
- get {
- return this.valueField;
- }
- set {
- this.valueField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string @default {
- get {
- return this.defaultField;
- }
- set {
- this.defaultField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameConfiguration {
- private mameGameConfigurationConfsetting[] confsettingField;
- private string nameField;
- private string tagField;
- private string maskField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("confsetting", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameConfigurationConfsetting[] confsetting {
- get {
- return this.confsettingField;
- }
- set {
- this.confsettingField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string tag {
- get {
- return this.tagField;
- }
- set {
- this.tagField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string mask {
- get {
- return this.maskField;
- }
- set {
- this.maskField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameConfigurationConfsetting {
- private string nameField;
- private string valueField;
- private string defaultField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string value {
- get {
- return this.valueField;
- }
- set {
- this.valueField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string @default {
- get {
- return this.defaultField;
- }
- set {
- this.defaultField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameAdjuster {
- private string nameField;
- private string defaultField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string @default {
- get {
- return this.defaultField;
- }
- set {
- this.defaultField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDriver {
- private string statusField;
- private string emulationField;
- private string colorField;
- private string soundField;
- private string graphicField;
- private string savestateField;
- private string palettesizeField;
- private string cocktailField;
- private string protectionField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string status {
- get {
- return this.statusField;
- }
- set {
- this.statusField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string emulation {
- get {
- return this.emulationField;
- }
- set {
- this.emulationField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string color {
- get {
- return this.colorField;
- }
- set {
- this.colorField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string sound {
- get {
- return this.soundField;
- }
- set {
- this.soundField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string graphic {
- get {
- return this.graphicField;
- }
- set {
- this.graphicField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string savestate {
- get {
- return this.savestateField;
- }
- set {
- this.savestateField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string palettesize {
- get {
- return this.palettesizeField;
- }
- set {
- this.palettesizeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string cocktail {
- get {
- return this.cocktailField;
- }
- set {
- this.cocktailField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string protection {
- get {
- return this.protectionField;
- }
- set {
- this.protectionField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDevice {
- private mameGameDeviceInstance[] instanceField;
- private mameGameDeviceExtension[] extensionField;
- private string typeField;
- private string tagField;
- private string interfaceField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("instance", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDeviceInstance[] instance {
- get {
- return this.instanceField;
- }
- set {
- this.instanceField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("extension", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
- public mameGameDeviceExtension[] extension {
- get {
- return this.extensionField;
- }
- set {
- this.extensionField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string type {
- get {
- return this.typeField;
- }
- set {
- this.typeField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string tag {
- get {
- return this.tagField;
- }
- set {
- this.tagField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string @interface {
- get {
- return this.interfaceField;
- }
- set {
- this.interfaceField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDeviceInstance {
- private string nameField;
- private string briefnameField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string briefname {
- get {
- return this.briefnameField;
- }
- set {
- this.briefnameField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameDeviceExtension {
- private string nameField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- public partial class mameGameSoftwarelist {
- private string nameField;
- private string statusField;
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string name {
- get {
- return this.nameField;
- }
- set {
- this.nameField = value;
- }
- }
- /// <remarks/>
- [System.Xml.Serialization.XmlAttributeAttribute()]
- public string status {
- get {
- return this.statusField;
- }
- set {
- this.statusField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
- [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
- public partial class NewDataSet {
- private mame[] itemsField;
- /// <remarks/>
- [System.Xml.Serialization.XmlElementAttribute("mame")]
- public mame[] Items {
- get {
- return this.itemsField;
- }
- set {
- this.itemsField = value;
- }
- }
- }
- # endregion MameDefinition
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment