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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(20 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 />
<span 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.''</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 /><br />
<br />
== <span class="plugin_headline_text">Variables</span> ==
== <span class="plugin_headline_text">Variables</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>
<p>Below is a reference of the variables set in this enumeration:</p>
<div class="code_variables"><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>
<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 />
<br />
==<span class="plugin_headline_text">Code Examples</span>==
 
==<span class="plugin_headline_text">Enumerations</span>==


=== <span class="plugin_text_fx">VB.NET</span> ===
=== <span class="plugin_text_fx">VB.NET</span> ===
----
<pre class="code_es_vb">
<pre class="code_block_enum">
Public Enum MAME_Update
Public Enum MAME_Update
     Update_Start = 0
     Update_Start = 0
Line 18: Line 24:


=== <span class="plugin_text_fx">C#</span> ===
=== <span class="plugin_text_fx">C#</span> ===
----
<pre class="code_es_cs">
<pre class="code_block_enum">
public enum MAME_Update
public enum MAME_Update
{
{  
     Update_Start = 0,
     Update_Start = 0,
     Update_End = 1,
     Update_End = 1,  
}</pre>
}</pre>
<br />
<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, 
}