<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.stne.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.stne.net/index.php?action=history&amp;feed=atom&amp;title=API%3ACMyColony</id>
		<title>API:CMyColony - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.stne.net/index.php?action=history&amp;feed=atom&amp;title=API%3ACMyColony"/>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=API:CMyColony&amp;action=history"/>
		<updated>2026-04-07T17:00:27Z</updated>
		<subtitle>Versionsgeschichte für diese Seite in STNE-Wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16640&amp;oldid=prev</id>
		<title>Phips: /* Methoden (Auszug) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16640&amp;oldid=prev"/>
				<updated>2011-02-18T13:35:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Methoden (Auszug)&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;? Nächstältere Version&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 18. Februar 2011, 13:35 Uhr&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| UserID ||&amp;nbsp; [[API:Integer|Integer]] || (Deine) BenutzerID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| UserID ||&amp;nbsp; [[API:Integer|Integer]] || (Deine) BenutzerID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Eine vollständige Liste findest du direkt im Objektexplorer unter (http://game.stne.net/ObjectExplorer.aspx?p=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CMyShip&lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Eine vollständige Liste findest du direkt im Objektexplorer unter (http://game.stne.net/ObjectExplorer.aspx?p=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CMyColony&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Beispiel == &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Beispiel == &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Phips</name></author>	</entry>

	<entry>
		<id>https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16639&amp;oldid=prev</id>
		<title>Phips: /* Beispiel */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16639&amp;oldid=prev"/>
				<updated>2011-02-18T13:35:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Beispiel&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;? Nächstältere Version&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 18. Februar 2011, 13:35 Uhr&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 79:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Merke: Du kannst nur Instanzen von [[API:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CMyColonie&lt;/del&gt;|CMyColony]] mit deinen eigenen Kolonien erstellen, andere Kolonien kannst du nur via [[API:CColony|CColony]] handhaben aber nicht direkt mit fremden Kolonien erstellen.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Merke: Du kannst nur Instanzen von [[API:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CMyColony&lt;/ins&gt;|CMyColony]] mit deinen eigenen Kolonien erstellen, andere Kolonien kannst du nur via [[API:CColony|CColony]] handhaben aber nicht direkt mit fremden Kolonien erstellen.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Phips</name></author>	</entry>

	<entry>
		<id>https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16638&amp;oldid=prev</id>
		<title>Phips: /* Beispiel */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16638&amp;oldid=prev"/>
				<updated>2011-02-18T13:34:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Beispiel&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;? Nächstältere Version&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 18. Februar 2011, 13:34 Uhr&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 79:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Merke: Du kannst nur Instanzen von [[API:CMyColonie|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CMyColonie&lt;/del&gt;]] mit deinen eigenen Kolonien erstellen, andere Kolonien kannst du nur via [[API:CColony|CColony]] handhaben aber nicht direkt mit fremden Kolonien erstellen.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Merke: Du kannst nur Instanzen von [[API:CMyColonie|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CMyColony&lt;/ins&gt;]] mit deinen eigenen Kolonien erstellen, andere Kolonien kannst du nur via [[API:CColony|CColony]] handhaben aber nicht direkt mit fremden Kolonien erstellen.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Phips</name></author>	</entry>

	<entry>
		<id>https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16637&amp;oldid=prev</id>
		<title>Phips: Die Seite wurde neu angelegt: „{{Vorlage:ApiMenu}} == Allgemein ==  {{Code|CMyColony}} ist die wichtigste Klasse, wenn es darum geht Aktionen auf Planeten durchzuführen. Auch sie erbt die komp…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=API:CMyColony&amp;diff=16637&amp;oldid=prev"/>
				<updated>2011-02-18T13:34:08Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „{{Vorlage:ApiMenu}} == Allgemein ==  {{Code|CMyColony}} ist die wichtigste Klasse, wenn es darum geht Aktionen auf Planeten durchzuführen. Auch sie erbt die komp…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Vorlage:ApiMenu}}&lt;br /&gt;
== Allgemein ==&lt;br /&gt;
&lt;br /&gt;
{{Code|CMyColony}} ist die wichtigste Klasse, wenn es darum geht Aktionen auf Planeten durchzuführen. Auch sie erbt die kompletten Eigenschaften von [[API:CColony|CColony]].&lt;br /&gt;
Eine Instanz von {{Code|CMyColony}} könnt ihr nur mit euren eigenen Planeten erstellen!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Da man mit Beispielen am besten lernt:&lt;br /&gt;
&lt;br /&gt;
{{Code|Var Kolonie As New CMyColony(250, 300);}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nun ist in der Variable Kolonie eine Instanz des Objektes [[API:CMyColony|CMyColony]] von deiner eigenen Kolonie bei (250|300) gespeichert.&lt;br /&gt;
Ein Blick auf den Objektexplorer (http://game.stne.net/ObjectExplorer.aspx?p=CMyColony) verrät dir, was du damit anstellen kannst, z.B.:&lt;br /&gt;
&lt;br /&gt;
{{Code|WriteLine(Kolonie.Name &amp;amp; &amp;quot; hat momentan &amp;quot; &amp;amp; Kolonie.Population &amp;amp; &amp;quot; Einwohner&amp;quot;);}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wenn du irgendwelche Aktionen mit dem Planeten durchführen willst, brauchst du das Objekt [[API:CBaseColonyManager|CBaseColonyManager]]. Mit Hilfe von Kolonie.Action kannst du Aktionen durchführen:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beispiel:&lt;br /&gt;
&lt;br /&gt;
{{Code|Kolonie.Action.Shipyard_Repair(12345, 100);}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Die Kolonie versucht das Schiff 12345 nun mit 100 Hüllenpunkten zu reparieren, mehr dazu unter [[API:CBaseColonyManager|CBaseColonyManager]])&lt;br /&gt;
&lt;br /&gt;
== Methoden (Auszug) ==&lt;br /&gt;
&lt;br /&gt;
Die am häufigsten benutzten Eigenschaften oder Methoden sind die folgenden:&lt;br /&gt;
(Auszug, vollständige Liste unter (http://game.stne.net/ObjectExplorer.aspx?p=CMyColony))&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
! Methode !! Typ !! Erklärung&lt;br /&gt;
|-&lt;br /&gt;
| Action || [[API:CBaseColonyManager|CBaseColonyManager]] || -&lt;br /&gt;
|-&lt;br /&gt;
| BuildingByPosition|| [[API:CBuilding|CBuilding]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Buildings|| [[API:CBuildingList|CBuildingList]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Coordinates || [[API:SPoint|SPoint]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Energy|| [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| EnergyBalance || [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| EnergyCapacity||  [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| EnergyCapacityFree ||  [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| EnergyConsumption ||  [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| EnergyProduction ||  [[API:Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| FieldByPosition || [[API:CColonyField|CColonyField]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Fields || [[API:CColonyFieldList|CColonyFieldList]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Larne ||  [[API:Double|Double]] || -&lt;br /&gt;
|-&lt;br /&gt;
| LivingSpace ||  [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Name || [[API:String|String]] || -&lt;br /&gt;
|-&lt;br /&gt;
| Population ||  [[API:Integer|Integer]] || -&lt;br /&gt;
|-&lt;br /&gt;
| SRS || [[API:CShipList|CShipList]] || -&lt;br /&gt;
|-&lt;br /&gt;
| StockRoom || [[API:CStockRoom|CStockRoom]] || Gibt dir eine Instanz der Klasse [[API:CStockRoom|CStockRoom]] zurück, mit denen du die aktueleln Waren im Lager etc. auslesen kannst&lt;br /&gt;
|-&lt;br /&gt;
| UserID ||  [[API:Integer|Integer]] || (Deine) BenutzerID&lt;br /&gt;
|}&lt;br /&gt;
Eine vollständige Liste findest du direkt im Objektexplorer unter (http://game.stne.net/ObjectExplorer.aspx?p=CMyShip)&lt;br /&gt;
&lt;br /&gt;
== Beispiel == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Merke: Du kannst nur Instanzen von [[API:CMyColonie|CMyColonie]] mit deinen eigenen Kolonien erstellen, andere Kolonien kannst du nur via [[API:CColony|CColony]] handhaben aber nicht direkt mit fremden Kolonien erstellen.''&lt;/div&gt;</summary>
		<author><name>Phips</name></author>	</entry>

	</feed>