Difference between revisions of "PlugIn Development:GameEx Event App Exit Function"

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
==<span style="font-size:125%; color:darkblue;">Event App Exit Function [GameEx]</span>==
This substructure is called when GameEx shuts down.
This function is called when GameEx exits. Using this function call, you can run code to do various things, such as save configuration files or launch external programs.
<br />
If you don't have code to run, you can simply leave this section blank.
== <span class="plugin_headline_text">Parameters</span> ==
 
This substructre has no available parameters.
==Code Examples==
<br />
 
== <span class="plugin_headline_text">Code Examples</span> ==
<span style="font-size:125%; color:#003300;"><b>VB.NET syntax:</b></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:solid;">
<pre class="code_vb">
Public Sub Event_App_Exit()
Public Sub Event_App_Exit()
     'Run some code here!
     'Run some code here!
End Sub</pre>
End Sub</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:solid;">
<pre class="code_cs">
public void Event_App_Exit()
public void Event_App_Exit()
{
{
     //Run some code here!
     //Run some code here!
}</pre>
}</pre>
 
<br />
[[Category:PlugIn Development]]
[[Category:PlugIn Development]]

Latest revision as of 07:46, 28 April 2014

This substructure is called when GameEx shuts down.

Parameters

This substructre has no available parameters.

Code Examples

VB.NET

Public Sub Event_App_Exit()
     'Run some code here!
End Sub

C#

public void Event_App_Exit()
{
     //Run some code here!		
}