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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
<br />
<br />
== <span class="plugin_headline_text">Variables</span> ==
== <span class="plugin_headline_text">Variables</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 variables available in this structure:</p>
<div class="code_variables"><span style="color:darkred"><b>GameExVersion</b></span> <span style="color:blue"><b>[string]</b></span> : The current running version of GameEx.</div>
<div class="code_variables">
<table>
<th><span style="color:darkred">Variable</span></th><th style="text-align:center;"><span style="color:blue;">[Value]</span></th><th>Description</th>
<tr><td><span style="color:darkred">GameExVersion</span></td><td style="text-align:center;"><span style="color:blue">[string]</span></td><td>The current running version of GameEx.</td></tr>
</table></div>
<br />
<br />


== <span class="plugin_headline_text">Code Examples</span> ==
== <span class="plugin_headline_text">Structures</span> ==


=== <span class="plugin_text_fx">VB.NET</span> ===
=== <span class="plugin_text_fx">VB.NET</span> ===
----
<pre class="code_es_vb">
<pre class="code_block_struct">
<StructLayout(LayoutKind.Sequential)> _
<StructLayout(LayoutKind.Sequential)> _
Public Structure GameExInfo
Public Structure GameExInfo
    Public GameExVersion As String
    Public GameExVersion As String
End Structure</pre>
End Structure</pre>


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

Latest revision as of 20:18, 30 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.


Structures

VB.NET

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

C#

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