<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Class_GameObjectID</id>
	<title>Class GameObjectID - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Class_GameObjectID"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_GameObjectID&amp;action=history"/>
	<updated>2026-11-05T07:49:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_GameObjectID&amp;diff=26548&amp;oldid=prev</id>
		<title>Danny252: Change link to library reference, not language reference</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_GameObjectID&amp;diff=26548&amp;oldid=prev"/>
		<updated>2020-12-28T13:38:04Z</updated>

		<summary type="html">&lt;p&gt;Change link to library reference, not language reference&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 13:38, 28 December 2020&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[TrainzScript &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Language &lt;/del&gt;Reference|API Hierarchy]]&lt;/div&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;*[[TrainzScript &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Library &lt;/ins&gt;Reference|API Hierarchy]]&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;**[[Class GSObject|GSObject]]&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;**[[Class GSObject|GSObject]]&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;***GameObjectID&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;***GameObjectID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Danny252</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_GameObjectID&amp;diff=11625&amp;oldid=prev</id>
		<title>Pguy: Created page with &quot;*API Hierarchy **GSObject ***GameObjectID &lt;br&gt;  *GameObjectID is a class to implement a unique identifier for a specific...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_GameObjectID&amp;diff=11625&amp;oldid=prev"/>
		<updated>2018-02-05T00:54:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;*&lt;a href=&quot;/wiki/TrainzScript_Language_Reference&quot; title=&quot;TrainzScript Language Reference&quot;&gt;API Hierarchy&lt;/a&gt; **&lt;a href=&quot;/wiki/Class_GSObject&quot; title=&quot;Class GSObject&quot;&gt;GSObject&lt;/a&gt; ***GameObjectID &amp;lt;br&amp;gt;  *GameObjectID is a class to implement a unique identifier for a specific...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;*[[TrainzScript Language Reference|API Hierarchy]]&lt;br /&gt;
**[[Class GSObject|GSObject]]&lt;br /&gt;
***GameObjectID&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*GameObjectID is a class to implement a unique identifier for a specific game script object.&lt;br /&gt;
*This unique identifier is persistant across game instances and suitable to be saved/loaded within GetProperties/SetProperties.&lt;br /&gt;
*GameObjectID is intended to replace the unique legacy ID of GameObjects, obsolete since Tane SP2, which was not persistant across successive game session instances.&lt;br /&gt;
&lt;br /&gt;
*This class is available since Tane SP2 (4.5)&lt;br /&gt;
&lt;br /&gt;
*final game class GameObjectID isclass GSObject&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DoesMatch==&lt;br /&gt;
{{MethodHeader|public native bool DoesMatch(GameObjectID otherID);}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;otherID&amp;#039;&amp;#039;&amp;#039; = other GameObjectID instance passed to be checked if it matches initial GameObjectID instance.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*bool&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool isSameObject = gameObjectID1.DoesMatch(gameObjectID2);&lt;br /&gt;
;Notes&lt;br /&gt;
*Returns whether this GameObjectID matches the ID passed. GameObjectIDs MUST be equality tested using this function. Testing using standard operators (&amp;#039;==&amp;#039; and &amp;#039;!=&amp;#039;) will not work.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DoesMatch==&lt;br /&gt;
{{MethodHeader|public native bool DoesMatch(GSObject otherObject);}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;otherObject&amp;#039;&amp;#039;&amp;#039; = the object to test. This must be a GameObject.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*bool&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool isSameObject = gameObjectID1.DoesMatch(otherObject);&lt;br /&gt;
;Notes&lt;br /&gt;
*Returns whether this GameObjectID matches the object passed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GetDebugString==&lt;br /&gt;
{{MethodHeader|public native string GetDebugString(void);}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;none&amp;#039;&amp;#039;&amp;#039; - method has no parameters&lt;br /&gt;
;Returned Value&lt;br /&gt;
*string&lt;br /&gt;
;Syntax&lt;br /&gt;
 string debugString = gameObjectID.GetDebugString();&lt;br /&gt;
;Notes&lt;br /&gt;
*Returns a string describing the contents of this ID, for use in debug logs. The format of this string is not guaranteed, do not attempt to machine parse it.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SerialiseToString==&lt;br /&gt;
{{MethodHeader|public native string SerialiseToString(void);}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;none&amp;#039;&amp;#039;&amp;#039; - method has no parameters&lt;br /&gt;
;Returned Value&lt;br /&gt;
*string&lt;br /&gt;
;Syntax&lt;br /&gt;
 string serialString = gameObjectID.SerialiseToString();&lt;br /&gt;
;Notes&lt;br /&gt;
*Returns a machine-readable string representing this GameObjectID, and parseable by Router.SerialiseGameObjectIDFromString(). This allows a GameObjectID to be temporarily stored in a html link or similar.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pguy</name></author>
	</entry>
</feed>