Difference between revisions of "PlugIn Development:GameEx Version Info"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== <span style="font-size:125%; color:darkblue;">Code Examples</span> == | == <span style="font-size:125%; color:darkblue;">Code Examples</span> == | ||
=== <span style=" | === <span style="color:#003300;">VB.NET syntax:</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 14: | Line 14: | ||
End Structure</pre> | End Structure</pre> | ||
=== <span style=" | === <span style="color:#003300;">C# syntax</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:49, 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 syntax:
<StructLayout(LayoutKind.Sequential)> _ Public Structure GameExInfo Public GameExVersion As String End Structure
C# syntax
[ StructLayout( LayoutKind.Sequential )] public struct GameExInfo { public string GameExVersion; }