<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Children</id>
	<title>Children - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Children"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Children&amp;action=history"/>
	<updated>2026-05-12T23:27:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=Children&amp;diff=657&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;Children&lt;/code&gt; Method in Actor Class ==  === Overview === The &lt;code&gt;Children&lt;/code&gt; method in the &lt;code&gt;Actor&lt;/code&gt; class is designed to retrieve the children of an actor. It offers the flexibility to include or exclude deceased children based on a specified parameter.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public IEnumerable&lt;Actor&gt; Children(bool inclusivePassive = true) &lt;/syntaxhighlight&gt;  === Parameters ===  * &lt;code&gt;inclusivePassive&lt;/code&gt; (bool): A boo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Children&amp;diff=657&amp;oldid=prev"/>
		<updated>2023-12-21T16:52:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;Children&amp;lt;/code&amp;gt; Method in Actor Class ==  === Overview === The &amp;lt;code&amp;gt;Children&amp;lt;/code&amp;gt; method in the &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; class is designed to retrieve the children of an actor. It offers the flexibility to include or exclude deceased children based on a specified parameter.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public IEnumerable&amp;lt;Actor&amp;gt; Children(bool inclusivePassive = true) &amp;lt;/syntaxhighlight&amp;gt;  === Parameters ===  * &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; (bool): A boo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== &amp;lt;code&amp;gt;Children&amp;lt;/code&amp;gt; Method in Actor Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Children&amp;lt;/code&amp;gt; method in the &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; class is designed to retrieve the children of an actor. It offers the flexibility to include or exclude deceased children based on a specified parameter.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public IEnumerable&amp;lt;Actor&amp;gt; Children(bool inclusivePassive = true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; (bool): A boolean flag that determines whether deceased (passive state) children should be included in the returned collection. It defaults to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
&lt;br /&gt;
* Return Type: &amp;lt;code&amp;gt;IEnumerable&amp;lt;Actor&amp;gt;&amp;lt;/code&amp;gt;. This method returns a collection of &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; objects representing the children of the actor.&lt;br /&gt;
* If &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;, both living and deceased children are included.&lt;br /&gt;
* If &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;, only living (active state) children are included.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Children&amp;lt;/code&amp;gt; method is essential for accessing the children of an actor, with an option to consider the state (alive or dead) of these children. The inclusion of deceased children is controlled by the &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This method is useful in game mechanics or narratives where an actor's relationship with their children, including those who may have passed away, is important.&lt;br /&gt;
&lt;br /&gt;
==== Example: ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
var allChildren = someActor.Children();&lt;br /&gt;
var livingChildren = someActor.Children(false);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;In the first example, &amp;lt;code&amp;gt;allChildren&amp;lt;/code&amp;gt; will contain all the children of the actor, regardless of their state. In the second example, &amp;lt;code&amp;gt;livingChildren&amp;lt;/code&amp;gt; will only include the living children of the actor.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* This flexibility in handling children based on their state allows for nuanced storytelling and gameplay, especially in scenarios involving family dynamics and inheritance.&lt;br /&gt;
* The &amp;lt;code&amp;gt;Children&amp;lt;/code&amp;gt; method plays a vital role in managing familial relationships and lineage within the game.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>