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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 14: Line 14:
<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> ===
<div class="code_enum">
<pre class="code_es_vb">
Public Enum MAME_Update
Public Enum MAME_Update
:Update_Start = 0
    Update_Start = 0
:Update_End = 1
    Update_End = 1
End Enum</div>
End Enum</pre>


=== <span class="plugin_text_fx">C#</span> ===
=== <span class="plugin_text_fx">C#</span> ===
<pre class="code_block_enum">
<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 />
<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, 
}