Difference between revisions of "PlugIn Development:GameEx MAME Update"

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
This enumeration sets the type of MAME List Update currently being processed for the [[PlugIn_Development:GameEx_MAME_List_Update_Function|MAME List Update]] function.
This enumeration sets the type of MAME List Update currently being processed for the [[PlugIn_Development:GameEx_MAME_List_Update_Function|MAME List Update]] function.
<br /><br />
<br />
<span style="color:darkred;"><b>PLEASE NOTE:</b> ''This enumeration is not part of the official GameEx plugin syntax, but can be easily added to the existing code before the MCE enumerations.''</span>
<div class="note_block_red"><b>PLEASE NOTE:</b> ''This enumeration is not part of the official GameEx plugin syntax, but can be easily added to the existing code before the MCE enumerations.''</div>
<br />
== <span class="plugin_headline_text">Variables</span> ==
<p>Below is a reference of the variables set in this enumeration:</p>
<div class="code_variables">
<table>
<th><span style="color:darkred">Variable</span></th><th style="text-align:center;"><span style="color:blue;">[Value]</span></th><th>Description</th>
<tr><td><span style="color:darkred">Update_Start</span></td><td style="text-align:center;"><span style="color:blue">[0]</span></td><td>Specifies the start of the Update MAME List process.</td></tr>
<tr><td><span style="color:darkred">Update_End</span></td><td style="text-align:center;"><span style="color:blue">[1]</span></td><td>Specifies the completeion of the Update MAME List process</td></tr>
</table>
</div>
<br />


== <span style="color:darkblue;">Variable Details</span> ==
==<span class="plugin_headline_text">Enumerations</span>==
<p>Below is a reference of the <span style="color:darkred"><b>Variable Name</b></span> and <span style="color:blue"><b>[Value]</b></span> set in this enumeration:</p>
<div style="border-style:solid; border-color:darkred; background-color:#FFCCCC; border-width:2px; padding-left:5px; padding-right:5px; padding-top:5px; padding-bottom:5px;"><span style="color:darkred"><b>Update_Start</b></span> <span style="color:blue"><b>[0]</b></span> : Specifies the start of the Update MAME List process.<br /><span style="color:darkred"><b>Update_End</b></span> <span style="color:blue"><b>[1]</b></span> : Specifies the completeion of the Update MAME List process.</div><br />


==<span style="color:darkblue;">Code Examples</span>==
=== <span class="plugin_text_fx">VB.NET</span> ===
 
<pre class="code_es_vb">
=== <span style="color:#003300;">VB.NET</span> ===
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
Public Enum MAME_Update
Public Enum MAME_Update
     Update_Start = 0
     Update_Start = 0
Line 16: Line 23:
End Enum</pre>
End Enum</pre>


=== <span style="color:#003300;">C#</span> ===
=== <span class="plugin_text_fx">C#</span> ===
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
<pre class="code_es_cs">
public enum MAME_Update
public enum MAME_Update
{
{  
     Update_Start = 0,
     Update_Start = 0,
     Update_End = 1,
     Update_End = 1,  
}</pre>
}</pre>
 
<br />
[[Category:PlugIn Development]]
[[Category:PlugIn Development]]

Latest revision as of 06:16, 28 April 2014

This enumeration sets the type of MAME List Update currently being processed for the MAME List Update function.

PLEASE NOTE: This enumeration is not part of the official GameEx plugin syntax, but can be easily added to the existing code before the MCE enumerations.


Variables

Below is a reference of the variables set in this enumeration:

Variable[Value]Description
Update_Start[0]Specifies the start of the Update MAME List process.
Update_End[1]Specifies the completeion of the Update MAME List process


Enumerations

VB.NET

Public Enum MAME_Update
     Update_Start = 0
     Update_End = 1
End Enum

C#

public enum MAME_Update
{ 
     Update_Start = 0,
     Update_End = 1, 
}