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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
Line 6: Line 6:
<br />
<br />


== <span style="font-size:125%;" class="headline_fx">Code Examples</span> ==
== <span class="plugin_headline_text">Code Examples</span> ==


=== <span class="text_fx">VB.NET</span> ===
=== <span class="plugin_text_fx">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;">
Line 16: Line 16:
End Structure</pre>
End Structure</pre>


=== <span class="text_fx">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 style="font-family:'Lucida Console', Monaco, monospace; border-color:#003300; background-color:#E0EEE0; border-style:dashed;">

Revision as of 10:32, 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;
}