<?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_Buildable</id>
	<title>Class Buildable - 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_Buildable"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Buildable&amp;action=history"/>
	<updated>2026-11-05T06:56:43Z</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_Buildable&amp;diff=26558&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_Buildable&amp;diff=26558&amp;oldid=prev"/>
		<updated>2020-12-28T13:44:20Z</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:44, 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;***[[Class GameObject|GameObject]]&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 GameObject|GameObject]]&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_Buildable&amp;diff=1096&amp;oldid=prev</id>
		<title>Windwalkr at 16:19, 9 February 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Buildable&amp;diff=1096&amp;oldid=prev"/>
		<updated>2010-02-09T16:19:57Z</updated>

		<summary type="html">&lt;p&gt;&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 16:19, 9 February 2010&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;Langage &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;Language &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;***[[Class GameObject|GameObject]]&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 GameObject|GameObject]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Windwalkr</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Buildable&amp;diff=226&amp;oldid=prev</id>
		<title>Windwalkr: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Buildable&amp;diff=226&amp;oldid=prev"/>
		<updated>2010-02-03T13:58:33Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:58, 3 February 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Windwalkr</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Buildable&amp;diff=225&amp;oldid=prev</id>
		<title>Andi06 at 21:41, 31 July 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Buildable&amp;diff=225&amp;oldid=prev"/>
		<updated>2008-07-31T21:41:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;*[[TrainzScript Langage Reference|API Hierarchy]]&lt;br /&gt;
**[[Class GSObject|GSObject]] *&lt;br /&gt;
***[[Class GameObject|GameObject]]&lt;br /&gt;
****[[Class TrainzGameObject|TrainzGameObject]]&lt;br /&gt;
****[[Class PropertyObject|PropertyObject]] *&lt;br /&gt;
*****[[Class MeshObject|MeshObject]]&lt;br /&gt;
******[[Class MapObject|MapObject]]&lt;br /&gt;
*******[[Class SceneryWithTrack|SceneryWithTrack]]&lt;br /&gt;
********Buildable&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Parent class for industry objects.&lt;br /&gt;
*In older versions Buildable contained attached track and trigger methods now located in [[Class SceneryWithTrack|SceneryWithTrack]] &lt;br /&gt;
*Methods currently included were intended for RTS-style gameplay where individual industries start in an unbuilt state and can be built at some resource cost during gameplay.&lt;br /&gt;
*These have not been widely used.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Constants &amp;amp; Messages==&lt;br /&gt;
&lt;br /&gt;
===Buildable Object States===&lt;br /&gt;
*These values define the current state of the Buildable object.&lt;br /&gt;
{{TableHeader|width=95%|margin=15px}}&lt;br /&gt;
|width=375|public define int  STATE_POTENTIAL = 0 ||Object has potential to build.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  STATE_BUILDING = 1 ||Construction is in progress.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  STATE_COMPLETE = 2 ||Construction is complete.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Related Messages===&lt;br /&gt;
*Messages sent to and from Buildable objects are listed below:&lt;br /&gt;
{{TableHeader|width=50%|margin=15px}}&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=&amp;quot;#EEEEEE&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Major&amp;#039;&amp;#039;&amp;#039;||bgcolor=&amp;quot;#EEEEEE&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Minor&amp;#039;&amp;#039;&amp;#039;||bgcolor=&amp;quot;#EEEEEE&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;||bgcolor=&amp;quot;#EEEEEE&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Destination&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|Build||Started||--||Buildable&lt;br /&gt;
|-&lt;br /&gt;
|Build||Cancelled||--||Buildable&lt;br /&gt;
|-&lt;br /&gt;
|Build||Completed||--||Buildable&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
===CancelBuild===&lt;br /&gt;
{{MethodHeader|public native bool CancelBuild(void)}}&lt;br /&gt;
*Cancel construction.&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True to indicate success.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EnableUserCancelBuild===&lt;br /&gt;
{{MethodHeader|public native void EnableUserCancelBuild(bool enable)}}&lt;br /&gt;
*Allow the user to cancel construction.&lt;br /&gt;
;Parameters: &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;enable&amp;#039;&amp;#039;&amp;#039; = If true, the user will be able to cancel the build.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EnableUserStartBuild===&lt;br /&gt;
{{MethodHeader|public native void EnableUserStartBuild(bool enable)}}&lt;br /&gt;
*Allow the user to commence construction.&lt;br /&gt;
;Parameters: &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;enable&amp;#039;&amp;#039;&amp;#039; = If true, the user will be able to commence the build.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetBuildingProgress===&lt;br /&gt;
{{MethodHeader|public native float GetBuildingProgress(void)}} &lt;br /&gt;
*Gets the current progress of this buildable object. &lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*Current progress of the building.  &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetBuildingState===&lt;br /&gt;
{{MethodHeader|public native int GetBuildingState(void)}}&lt;br /&gt;
*Gets the current state of this buildable object. &lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*The current state of this object, one of the [[#Buildable Object States|Buildable Object States]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetBuildingPaused===&lt;br /&gt;
{{MethodHeader|public native void SetBuildingPaused(bool paused)}} &lt;br /&gt;
*Pauses or restarts construction.&lt;br /&gt;
;Parameters:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;paused&amp;#039;&amp;#039;&amp;#039; = if true, construction will be paused.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetBuildingProgress===&lt;br /&gt;
{{MethodHeader|public native void SetBuildingProgress(float progress)}}&lt;br /&gt;
*Sets the progress rate of this building&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;progress&amp;#039;&amp;#039;&amp;#039; = Rate of progress of the building.  &lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===SetBuildingState===&lt;br /&gt;
{{MethodHeader|public native void SetBuildingState(int state)}}&lt;br /&gt;
*Sets the state of this buildable object.&lt;br /&gt;
;Parameters:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;state&amp;#039;&amp;#039;&amp;#039; = The state of this object, one of the [[#Buildable Object States|Buildable Object States]].&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===StartBuild===&lt;br /&gt;
{{MethodHeader|public native bool StartBuild(void)}}&lt;br /&gt;
*Starts building. &lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if construction started, false otherwise.  &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Categories==&lt;br /&gt;
[[Category:Script Class]]&lt;/div&gt;</summary>
		<author><name>Andi06</name></author>
	</entry>
</feed>