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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
Line 13: Line 13:


=== <span class="plugin_text_fx">VB.NET</span> ===
=== <span class="plugin_text_fx">VB.NET</span> ===
----
<pre class="code_block_struct">
<pre class="code_block_struct">
<StructLayout(LayoutKind.Sequential)> _
<StructLayout(LayoutKind.Sequential)> _
Line 21: Line 20:


=== <span class="plugin_text_fx">C#</span> ===
=== <span class="plugin_text_fx">C#</span> ===
----
<pre class="code_block_struct">
<pre class="code_block_struct">
[ StructLayout( LayoutKind.Sequential )]
[ StructLayout( LayoutKind.Sequential )]

Revision as of 00:34, 28 April 2014

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

Variables

Below is a reference of the variables available in this structure:

Variable[Value]Description
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;
}