<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gameex.info/wiki/index.php?action=history&amp;feed=atom&amp;title=PlugIn_Development%3AGameEx_Event_Favorites_Function</id>
	<title>PlugIn Development:GameEx Event Favorites Function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gameex.info/wiki/index.php?action=history&amp;feed=atom&amp;title=PlugIn_Development%3AGameEx_Event_Favorites_Function"/>
	<link rel="alternate" type="text/html" href="https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;action=history"/>
	<updated>2026-06-08T16:15:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;diff=2043&amp;oldid=prev</id>
		<title>Adultery: /* C# */</title>
		<link rel="alternate" type="text/html" href="https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;diff=2043&amp;oldid=prev"/>
		<updated>2014-04-30T22:45:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;C#&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:45, 30 April 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l151&quot;&gt;Line 151:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 151:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;public bool Event_Favourites(Favourites_Type Type, Game_Info Info)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;public bool Event_Favourites(Favourites_Type Type, Game_Info Info)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     Game_Info Info = (Game_Info)Marshal.PtrToStructure(InfoPtr, typeof(Game_Info));&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     //Access the Game_Info Structure:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     string CmdLine = Info.CMDLine;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     //Access the Mame_Info Structure:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     string CloneOf = Info.MameInfo.CloneOf;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     //Access the Database Structure:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     string Dev = Info.GameData.Developer;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      switch(Type)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      switch(Type)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adultery</name></author>
	</entry>
	<entry>
		<id>https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;diff=2042&amp;oldid=prev</id>
		<title>Adultery: /* VB.NET */</title>
		<link rel="alternate" type="text/html" href="https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;diff=2042&amp;oldid=prev"/>
		<updated>2014-04-30T22:44:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;VB.NET&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 30 April 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l130&quot;&gt;Line 130:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 130:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre class=&amp;quot;code_vb&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre class=&amp;quot;code_vb&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Public Function Event_Favourites(ByVal Type As Integer, ByVal InfoPtr As IntPtr) As Boolean&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Public Function Event_Favourites(ByVal Type As Integer, ByVal InfoPtr As IntPtr) As Boolean&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     Dim Info As Game_Info = CType(Marshal.PtrToStructure(InfoPtr, GetType(Game_Info)), Game_Info)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &#039;Access the Game_Info Structure:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     Dim CmdLine As String = Info.CmdLine&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &#039;Access the Mame_Info Structure:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     Dim CloneOf As String = Info.MameInfo.CloneOf&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &#039;Access the Database Structure:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     Dim Dev As String = Info.GameData.Developer&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      Select Case Type&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      Select Case Type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         Case Favourites_Type.Add&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         Case Favourites_Type.Add&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l138&quot;&gt;Line 138:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      Return True&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      Return True&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;End Function&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;End Function&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;C#&amp;lt;/span&amp;gt; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;C#&amp;lt;/span&amp;gt; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre class=&amp;quot;code_cs&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre class=&amp;quot;code_cs&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adultery</name></author>
	</entry>
	<entry>
		<id>https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;diff=2041&amp;oldid=prev</id>
		<title>Adultery: Created page with &quot;This function is called when a game is added to or removed from the user&#039;s favorites list.&lt;br /&gt;&lt;br /&gt; &lt;div class=&quot;note_block_red&quot;&gt;&lt;b&gt;PLEASE NOTE:&lt;/b&gt; &#039;&#039;As of Version 1.41, th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gameex.info/wiki/index.php?title=PlugIn_Development:GameEx_Event_Favorites_Function&amp;diff=2041&amp;oldid=prev"/>
		<updated>2014-04-30T22:39:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This function is called when a game is added to or removed from the user&amp;#039;s favorites list.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;div class=&amp;quot;note_block_red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PLEASE NOTE:&amp;lt;/b&amp;gt; &amp;#039;&amp;#039;As of Version 1.41, th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function is called when a game is added to or removed from the user&amp;#039;s favorites list.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;note_block_red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PLEASE NOTE:&amp;lt;/b&amp;gt; &amp;#039;&amp;#039;As of Version 1.41, this feature is listed in the internal plugin documentation as &amp;quot;Not Yet Implemented&amp;quot;.&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span class=&amp;quot;plugin_headline_text&amp;quot;&amp;gt;Parameters&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;Type [Integer]&amp;lt;/span&amp;gt;: An integer specifying the Favorites type.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;InfoPtr [IntPtr]&amp;lt;/span&amp;gt;: A sequential array of game data.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;Parameter Values&amp;lt;/span&amp;gt; ===&lt;br /&gt;
The &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;Type integer&amp;lt;/span&amp;gt; can be converted to &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;Favorites_Type&amp;lt;/span&amp;gt; via the supplied &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;enumeration&amp;lt;/span&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
The &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;InfoPtr IntPtr&amp;lt;/span&amp;gt; should be pushed to the &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;GameExInfo structure&amp;lt;/span&amp;gt; using a &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;DirectCast&amp;lt;/span&amp;gt; like so:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;VB.NET:&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text_noline&amp;quot;&amp;gt;Dim&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;Info&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text_noline&amp;quot;&amp;gt;As&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;GameExInfo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text_noline&amp;quot;&amp;gt;= DirectCast(Marshal.PtrToStructure(InfoPtr, GetType(GameExInfo)), Game_Info)&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;C#:&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;GameExInfo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;Info&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;plugin_return_text_noline&amp;quot;&amp;gt;= (GameExInfo)Marshal.PtrToStructure(InfoPtr, typeof(GameExInfo));&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span class=&amp;quot;plugin_headline_text&amp;quot;&amp;gt;Returns&amp;lt;/span&amp;gt; ==&lt;br /&gt;
This function returns a &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;boolean&amp;lt;/span&amp;gt; value.&amp;lt;br /&amp;gt;&lt;br /&gt;
=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;Return Values&amp;lt;/span&amp;gt; ===&lt;br /&gt;
Return &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;true&amp;lt;/span&amp;gt; and GameEx will process the favorites event.&amp;lt;br /&amp;gt;&lt;br /&gt;
Return &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;false&amp;lt;/span&amp;gt; and GameEx will not process the favorites event.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span class=&amp;quot;plugin_headline_text&amp;quot;&amp;gt;Structures&amp;lt;/span&amp;gt; ==&lt;br /&gt;
The structures below outline the the data passed in the &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;PlugIn.dll&amp;lt;/span&amp;gt; file.&amp;lt;br /&amp;gt;&lt;br /&gt;
=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;VB.NET&amp;lt;/span&amp;gt; ===&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;Game Info Structure&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_vb&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;StructLayout(LayoutKind.Sequential)&amp;gt; _&lt;br /&gt;
Public Structure Game_Info&lt;br /&gt;
     Public EmulatorNumber As Integer&lt;br /&gt;
     Public EmulatorName As String&lt;br /&gt;
     Public GameName As String&lt;br /&gt;
     Public ROMPath As String&lt;br /&gt;
     Public ROMName As String&lt;br /&gt;
     Public GameData As Database&lt;br /&gt;
     Public MameInfo As Mame_Info&lt;br /&gt;
     Public RomFilter As String&lt;br /&gt;
     Public SnapPath As String&lt;br /&gt;
     Public VideoPath As String&lt;br /&gt;
     Public TitlePath As String&lt;br /&gt;
     Public CmdLine As String&lt;br /&gt;
End Structure&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;Mame Info Structure&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_vb&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;StructLayout(LayoutKind.Sequential)&amp;gt; _&lt;br /&gt;
Public Structure Mame_Info&lt;br /&gt;
     Public Players As String&lt;br /&gt;
     Public Control As String&lt;br /&gt;
     Public CloneOf As String&lt;br /&gt;
     Public Orientation As String&lt;br /&gt;
     Public VideoWidth As Integer&lt;br /&gt;
     Public VideoHeight As Integer&lt;br /&gt;
     Public Cocktail As Boolean&lt;br /&gt;
End Structure&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;Database Structure&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_vb&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;StructLayout(LayoutKind.Sequential)&amp;gt; _&lt;br /&gt;
Public Structure Database&lt;br /&gt;
     Public Category As String&lt;br /&gt;
     Public Year As String&lt;br /&gt;
     Public Developer As String&lt;br /&gt;
     Public Publisher As String&lt;br /&gt;
     Public Description As String&lt;br /&gt;
     Public SystemBiography As String&lt;br /&gt;
End Structure&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;C#&amp;lt;/span&amp;gt; ===&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;Game Info Structure&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_cs&amp;quot;&amp;gt;&lt;br /&gt;
[ StructLayout( LayoutKind.Sequential )]&lt;br /&gt;
public struct Game_Info&lt;br /&gt;
{&lt;br /&gt;
     public int EmulatorNumber; &lt;br /&gt;
     public string EmulatorName;&lt;br /&gt;
     public string GameName;&lt;br /&gt;
     public string ROMPath;&lt;br /&gt;
     public string ROMName;&lt;br /&gt;
     public Database GameData;&lt;br /&gt;
     public Mame_Info MameInfo;&lt;br /&gt;
     public string ROMFilter;&lt;br /&gt;
     public string SnapPath;&lt;br /&gt;
     public string VideoPath;&lt;br /&gt;
     public string TitlePath;&lt;br /&gt;
     public string CMDLine;&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;Mame Info Structure&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_cs&amp;quot;&amp;gt;&lt;br /&gt;
[ StructLayout( LayoutKind.Sequential )]&lt;br /&gt;
public struct Mame_Info&lt;br /&gt;
{&lt;br /&gt;
     public string Players;&lt;br /&gt;
     public string Control;&lt;br /&gt;
     public string CloneOf;&lt;br /&gt;
     public string Orientation;&lt;br /&gt;
     public int VideoWidth;&lt;br /&gt;
     public int VideoHeight;&lt;br /&gt;
     public bool Cocktail;&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_header_mini&amp;quot;&amp;gt;Database Structure&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_cs&amp;quot;&amp;gt;&lt;br /&gt;
[ StructLayout( LayoutKind.Sequential )]&lt;br /&gt;
public struct Database&lt;br /&gt;
{&lt;br /&gt;
     public string Category;&lt;br /&gt;
     public string Year;&lt;br /&gt;
     public string Developer;&lt;br /&gt;
     public string Publisher;&lt;br /&gt;
     public string Description;&lt;br /&gt;
     public string SystemBiography;&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span class=&amp;quot;plugin_headline_text&amp;quot;&amp;gt;Enumerations&amp;lt;/span&amp;gt; ==&lt;br /&gt;
The structures below outline the the data type converted in the &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;PlugIn.dll&amp;lt;/span&amp;gt; file.&amp;lt;br /&amp;gt;&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;VB.NET&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_vb&amp;quot;&amp;gt;&lt;br /&gt;
Public Enum Favourites_Type&lt;br /&gt;
     Add = 0&lt;br /&gt;
     Remove = 1&lt;br /&gt;
End Enum&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;C#&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_es_cs&amp;quot;&amp;gt;&lt;br /&gt;
public enum Favourites_Type : uint&lt;br /&gt;
{&lt;br /&gt;
     Add = 0,&lt;br /&gt;
     Remove = 1&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span class=&amp;quot;plugin_headline_text&amp;quot;&amp;gt;Code Examples&amp;lt;/span&amp;gt; ==&lt;br /&gt;
The code samples below outline the syntax needed to process the call in the &amp;lt;span class=&amp;quot;plugin_return_text&amp;quot;&amp;gt;PlugIn.dll&amp;lt;/span&amp;gt; file within the template.&amp;lt;br /&amp;gt;&lt;br /&gt;
=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;VB.NET&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_vb&amp;quot;&amp;gt;&lt;br /&gt;
Public Function Event_Favourites(ByVal Type As Integer, ByVal InfoPtr As IntPtr) As Boolean&lt;br /&gt;
     Select Case Type&lt;br /&gt;
        Case Favourites_Type.Add&lt;br /&gt;
           Exit Select&lt;br /&gt;
        Case Favourites_Type.Remove&lt;br /&gt;
           Exit Select&lt;br /&gt;
        End Select&lt;br /&gt;
     Return True&lt;br /&gt;
End Function&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== &amp;lt;span class=&amp;quot;plugin_text_fx&amp;quot;&amp;gt;C#&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code_cs&amp;quot;&amp;gt;&lt;br /&gt;
public bool Event_Favourites(Favourites_Type Type, Game_Info Info)&lt;br /&gt;
{&lt;br /&gt;
     switch(Type)&lt;br /&gt;
     {&lt;br /&gt;
        case Favourites_Type.Add:&lt;br /&gt;
           break;&lt;br /&gt;
	case Favourites_Type.Remove:&lt;br /&gt;
	   break;&lt;br /&gt;
     }&lt;br /&gt;
     return true;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Category:PlugIn Development]]&lt;/div&gt;</summary>
		<author><name>Adultery</name></author>
	</entry>
</feed>