Difference between revisions of "PlugIn Development:GameEx Version Info"

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
Line 1: Line 1:
When this structure is populated, the variable returns the current running version of GameEx.
When this structure is populated, the variable returns the current running version of GameEx.
 
<br />
== <span style="font-size:125%; color:darkblue;">Variable Details</span> ==
== <span style="font-size:125%; 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>[Data Type]</b></span> available in this structure:</p>
<p>Below is a reference of the <span style="color:darkred"><b>Variable Name</b></span> and <span style="color:blue"><b>[Data Type]</b></span> available in this structure:</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>GameExVersion</b></span> <span style="color:blue"><b>[string]</b></span> : The current running version of GameEx.</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>GameExVersion</b></span> <span style="color:blue"><b>[string]</b></span> : The current running version of GameEx.</div>
 
<br />
== <span style="font-size:125%; color:darkblue;">Code Examples</span> ==
== <span style="font-size:125%; color:darkblue;">Code Examples</span> ==
 
<br />
=== <span style="color:#003300;">VB.NET syntax:</span> ===
=== <span style="color:#003300;">VB.NET</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;">
<StructLayout(LayoutKind.Sequential)> _
<StructLayout(LayoutKind.Sequential)> _
Line 13: Line 13:
     Public GameExVersion As String
     Public GameExVersion As String
End Structure</pre>
End Structure</pre>
 
<br />
=== <span style="color:#003300;">C# syntax</span> ===
=== <span style="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;">
[ StructLayout( LayoutKind.Sequential )]
[ StructLayout( LayoutKind.Sequential )]

Revision as of 05:53, 27 April 2014

When this structure is populated, the variable returns the current running version of GameEx.

Variable Details

Below is a reference of the Variable Name and [Data Type] available in this structure:

GameExVersion [string] : The current running version of GameEx.


Code Examples


VB.NET

<StructLayout(LayoutKind.Sequential)> _
Public Structure GameExInfo
    Public GameExVersion As String
End Structure


C#

[ StructLayout( LayoutKind.Sequential )]
public struct GameExInfo
{
     public string GameExVersion;
}