Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Xml.Serialization;
- using System.IO;
- namespace MameList {
- public class MameListFilterer {
- private IEnumerable<mameGame> games;
- /// <summary>
- /// Retreive the list of games, as they are after filtering.
- /// </summary>
- /// <returns></returns>
- public IEnumerable<mameGame> GetGames() {
- return games;
- }
- /// <summary>
- /// Loads the XML into RAM on instantiation.
- /// </summary>
- /// <param name="listXml">MAME game definitions in MAME XML format.</param>
- public MameListFilterer(string listXml) {
- games = ReadXmlGameDefinitions(listXml);
- }
- /// <summary>
- /// Loads the master list (which you should generate via `mame -listxml > list.xml`) of MAME games.
- /// </summary>
- /// <param name="listXml">Filename of the .xml file as generated by MAME.</param>
- /// <returns>List of the games described within the file.</returns>
- private IEnumerable<mameGame> ReadXmlGameDefinitions(string listXml) {
- XmlSerializer deserializer = new XmlSerializer(typeof(mame));
- mame GameList = (mame)deserializer.Deserialize(new StringReader(File.ReadAllText(listXml)));
- IEnumerable<mameGame> fullGameList = GameList.game.ToList(); // no lazy loading for us!
- return fullGameList;
- }
- /// <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>
- public void FilterCompatibleGamesByCabinet(CabinetDefinition cab) {
- FilterGamesByMonitorConfiguration(cab);
- FilterGamesByButtonCount(cab);
- FilterGamesByControlMethod(cab);
- }
- /// <summary>
- /// Filters games by information contained in the FilterPreferences object.
- /// </summary>
- /// <param name="prefs"></param>
- public void FilterGamesByPreferences(FilterPreferences prefs) {
- if (prefs.Manufacturer != null) {
- games = games.Where(g => g.manufacturer.Contains(prefs.Manufacturer));
- }
- if (prefs.Status != null) {
- games = games
- .Where(g => g.driver != null)
- .Where(g => g.driver.status != null)
- ;
- if (prefs.Status == "imperfect") {
- // imperfect or 'good'
- games = games.Where(g => g.driver.status == "imperfect" || g.driver.status == "good");
- } else if (prefs.Status == "good") {
- games = games.Where(g => g.driver.status == "good");
- }
- }
- if (prefs.SoldOnOrAfterYear != 0) {
- games = games.Where(g => Int32.Parse(g.year) >= prefs.SoldOnOrAfterYear);
- }
- if (prefs.SoldOnOrBeforeYear != 0) {
- games = games.Where(g => g.year != null && g.year != "");
- games = games.Where(g => Int32.Parse(g.year) <= prefs.SoldOnOrBeforeYear);
- }
- if (prefs.RomOf != null) {
- games = games.Where(g => g.romof != null);
- games = games.Where(g => g.romof == prefs.RomOf);
- }
- if (prefs.Description != null) {
- games = games.Where(g => g.description != null);
- games = games.Where(g => g.description.Contains(prefs.Description));
- }
- }
- /// <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 void FilterGamesByMonitorConfiguration(CabinetDefinition cab) {
- // 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 VerticalOnly or HorizontalOnly, assume only those orientations are desired.
- if (cab.monitor0 != null) {
- games = games.Where(x => x.display != null);
- if (cab.monitor0.orientation == Monitor.MonitorOrientation.Vertical) {
- // don't filter.
- } else if (cab.monitor0.orientation == Monitor.MonitorOrientation.Horizontal) {
- // don't filter.
- } else if (cab.monitor0.orientation == Monitor.MonitorOrientation.VerticalOnly) {
- games = games.Where(x => x.display.Count(d => d.rotate == "270" || d.rotate == "90") > 0);
- } else if (cab.monitor0.orientation == Monitor.MonitorOrientation.HorizontalOnly) {
- games = games.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) {
- games = games.Where(x => x.display.Count(d => d.type == "vector") > 0);
- }
- }
- }
- /// <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 void FilterGamesByButtonCount(CabinetDefinition cab) {
- if (cab.input.buttonsPerPlayer == -1) {
- // default value present: buttons not specified, don't filter at all.
- } else {
- games = games.Where(x => x.input.buttons != null);
- games = games.Where(x => Int32.Parse(x.input.buttons) <= cab.input.buttonsPerPlayer);
- }
- }
- /// <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 void FilterGamesByControlMethod(CabinetDefinition cab) {
- if (null == cab.input.controls || cab.input.controls.Count() == 0) {
- games = games.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) {
- FilterByJoystickConfiguration(cm);
- } else if (cm.type == ControlMethod.ControlType.dial) {
- games = games.Where(x => x.input.control.Count(c => c.type == "dial") > 0);
- } else if (cm.type == ControlMethod.ControlType.doublejoy) {
- games = games.Where(x => x.input.control.Count(c => c.type == "doublejoy") > 0);
- } else if (cm.type == ControlMethod.ControlType.lightgun) {
- games = games.Where(x => x.input.control.Count(c => c.type == "lightgun") > 0);
- } else if (cm.type == ControlMethod.ControlType.trackball) {
- games = games.Where(x => x.input.control.Count(c => c.type == "trackball") > 0);
- } else if (cm.type == ControlMethod.ControlType.stick) {
- games = games.Where(x => x.input.control.Count(c => c.type == "stick") > 0);
- } else if (cm.type == ControlMethod.ControlType.paddle) {
- games = games.Where(x => x.input.control.Count(c => c.type == "paddle") > 0);
- } else if (cm.type == ControlMethod.ControlType.pedal) {
- games = games.Where(x => x.input.control.Count(c => c.type == "pedal") > 0);
- }
- }
- }
- }
- /// <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 void FilterByJoystickConfiguration(ControlMethod cm) {
- games = games
- .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.
- games = games.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.
- games = games.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.
- games = games.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.
- games = games.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.
- games = games.Where(x => x.input.control.Count(t => t.type == "joy" && t.ways == cm.ways) > 0);
- }
- }
- }
- }
- public class FilterPreferences {
- public string Manufacturer { get; set; }
- public string Status { get; set; }
- public int SoldOnOrAfterYear { get; set; }
- public int SoldOnOrBeforeYear { get; set; }
- public string RomOf { get; set; }
- public string Description { get; set; }
- }
- # 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.
- public class CabinetDefinition {
- public Monitor monitor0 { get; set; }
- public Monitor monitor1 { get; set; }
- // VERY few MAME cabinets have multiple monitors. I've never seen one with 3 or 4.
- //public Monitor monitor2 { get; set; }
- //public Monitor monitor3 { get; set; }
- public Input input { get; set; }
- }
- public class Monitor {
- /// <summary>
- /// The two main types of monitors. If your cabinet has a Raster monitor, it can display vector graphics, as well.
- /// </summary>
- public enum MonitorType { Raster, Vector };
- /// <summary>
- /// Monitor orientation. Horizontal and Vertical will play all orientations, and will allow MAME to adapt the display to fit in whatever orientation is listed.
- /// HorizontalOnly and VertialOnly are for stricter matching, so that no vertical games will play on a horizontal monitor.
- /// </summary>
- public enum MonitorOrientation { Horizontal, HorizontalOnly, Vertical, VerticalOnly };
- public MonitorType type { get; set; }
- public MonitorOrientation orientation { get; set; }
- }
- public class Input {
- public Input() {
- buttonsPerPlayer = -1; // have to set a default value that is not 0 for logic in the filterer.
- }
- /// <summary>
- /// Number of pushbuttons available per player. Do not include buttons common to both players, such as player start buttons.
- /// </summary>
- public int buttonsPerPlayer { get; set; }
- // omitted because these don't really affect what games a cabinet can actually play.
- //public int players { get; set; }
- //public int coins { get; set; }
- /// <summary>
- /// This is a list of the control methods available to any given player on the cabinet. A sit-down
- /// driving cabinet would have a dial or paddle (depending on whether or not the steering wheel is
- /// free-spinning or limited), one or more pedals, and zero or more shifters. I don't know why the
- /// MAME XML doesn't list per-player buttons in here, but it doesn't. Therefore, I don't either.
- /// </summary>
- public List<ControlMethod> controls { get; set; }
- }
- public class ControlMethod {
- /// <summary>
- /// The different types of controls, according to MAME.
- /// </summary>
- 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