Difference between revisions of "PlugIn Development:GameEx PlugIn Type"

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
Line 1: Line 1:
==<span style="font-size:125%; color:darkblue;">GameEx: PlugIn Type Overview</span>==
This enumeration sets the type of plugin that you are developing for the [[PlugIn_Development:GameEx_PlugIn Info|PlugIn Info]] structure.<br /><br /><span style="color:red;"><b>PLEASE NOTE:</b> ''Only <u>PlugIn_Type.Emulator</u> is supported at this time.''</span>
This enumeration sets the type of plugin that you are developing for the [[PlugIn_Development:GameEx_PlugIn Info|PlugIn Info]] structure.<br /><br /><span style="color:red;"><b>PLEASE NOTE:</b> ''Only <u>PlugIn_Type.Emulator</u> is supported at this time.''</span>


==<span style="font-size:125%; color:darkblue;">Variable Details</span>==
== <span style="color:darkblue;">Variable Details</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 <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>Emulator</b></span> <span style="color:blue"><b>[0]</b></span> : Specifies an internal plugin type.<br /><span style="color:darkred"><b>Stand_Alone</b></span> <span style="color:blue"><b>[1]</b></span> : Specifies an external plugin type.  <span style="color:darkred"><b>&bull;NOTE&bull;</b> This type of plugin is not currently supported!</span></div><br />
<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>Emulator</b></span> <span style="color:blue"><b>[0]</b></span> : Specifies an internal plugin type.<br /><span style="color:darkred"><b>Stand_Alone</b></span> <span style="color:blue"><b>[1]</b></span> : Specifies an external plugin type.  <span style="color:darkred"><b>&bull;NOTE&bull;</b> This type of plugin is not currently supported!</span></div><br />
== <span style="color:darkblue;">Code Examples</span> ==<br />


==<span style="font-size:125%; color:darkblue;">Code Examples</span>==
=== <span style="color:#003300;">VB.NET</span> ===
 
<span style="font-size:125%; color:#003300;"><b>VB.NET syntax:</b></span>
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
Public Enum Plugin_Type
Public Enum Plugin_Type
Line 15: Line 13:
End Enum</pre>
End Enum</pre>


<span style="font-size:125%; color:#003300;"><b>C# syntax:</b></span>
=== <span style="font-size:125%; color:#003300;">C#</span> ===
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
<pre style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">
public enum Plugin_Type : int
public enum Plugin_Type : int

Revision as of 05:56, 27 April 2014

This enumeration sets the type of plugin that you are developing for the PlugIn Info structure.

PLEASE NOTE: Only PlugIn_Type.Emulator is supported at this time.

Variable Details

Below is a reference of the Variable Name and [Value] set in this enumeration:

Emulator [0] : Specifies an internal plugin type.
Stand_Alone [1] : Specifies an external plugin type. •NOTE• This type of plugin is not currently supported!


== Code Examples ==

VB.NET

Public Enum Plugin_Type
     Emulator = 0
     Stand_Alone = 1
End Enum

C#

public enum Plugin_Type : int
{
     Emulator = 0,
     Stand_Alone = 1,
}