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

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
==<span style="font-size:125%; color:darkblue;">GameEx: PlugIn Info Overview</span>==
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 class="plugin_headline_text">Variables</span> ==
<p>Below is a reference of the variables available in this structure:</p>
<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 />


==<span style="font-size:125%; color:darkblue;">Variable Details</span>==
== <span class="plugin_headline_text">Structures</span> ==
<p>Below is a reference of the variable <span style="color:darkred"><b>name</b></span> and <span style="color:blue"><b>[type]</b></span> available in this structure:</p>
<div style="border-style:solid; border-color:darkred; background-color:#FFCCCC; border-width:2px; padding-left:10px; padding-right:10px;"><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 class="plugin_text_fx">VB.NET</span> ===
 
<pre class="code_es_vb">
<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;">
<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 style="font-size:125%; color:#003300;"><b>C# syntax:</b></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 class="code_es_cs">
[ StructLayout( LayoutKind.Sequential )]
[ StructLayout( LayoutKind.Sequential )]
public struct GameExInfo
public struct GameExInfo
Line 22: Line 26:
     public string GameExVersion;
     public string GameExVersion;
}</pre>
}</pre>
 
<br />
[[Category:PlugIn Development]]
[[Category:PlugIn Development]]

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;
}