<?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=Spouses</id>
	<title>Spouses - 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=Spouses"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Spouses&amp;action=history"/>
	<updated>2026-05-12T23:27:13Z</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=Spouses&amp;diff=659&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot; == &lt;code&gt;Spouses&lt;/code&gt; Method in Actor Class ==  === Overview === The &lt;code&gt;Spouses&lt;/code&gt; method in the &lt;code&gt;Actor&lt;/code&gt; class is used to retrieve the spouses of an actor. This method provides the option to include or exclude deceased spouses based on the specified parameter.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public IEnumerable&lt;Actor&gt; Spouses(bool inclusivePassive = true)  &lt;/syntaxhighlight&gt;  === Parameters ===  * &lt;code&gt;inclusivePassive&lt;/code&gt; (bool): A fl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Spouses&amp;diff=659&amp;oldid=prev"/>
		<updated>2023-12-21T18:34:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == &amp;lt;code&amp;gt;Spouses&amp;lt;/code&amp;gt; Method in Actor Class ==  === Overview === The &amp;lt;code&amp;gt;Spouses&amp;lt;/code&amp;gt; method in the &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; class is used to retrieve the spouses of an actor. This method provides the option to include or exclude deceased spouses based on the specified parameter.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public IEnumerable&amp;lt;Actor&amp;gt; Spouses(bool inclusivePassive = true)  &amp;lt;/syntaxhighlight&amp;gt;  === Parameters ===  * &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; (bool): A fl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== &amp;lt;code&amp;gt;Spouses&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;Spouses&amp;lt;/code&amp;gt; method in the &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; class is used to retrieve the spouses of an actor. This method provides the option to include or exclude deceased spouses based on the 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; Spouses(bool inclusivePassive = true)&lt;br /&gt;
&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 flag that indicates whether to include deceased (passive state) spouses in the returned collection. The default value is &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;. The method returns a collection of &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; objects, each representing a spouse of the actor.&lt;br /&gt;
* When &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;, the collection includes all spouses, regardless of their state (alive or dead).&lt;br /&gt;
* When &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;, only living (active state) spouses are included.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Spouses&amp;lt;/code&amp;gt; method provides access to the marital partners of an actor, allowing for inclusion of those who have passed away depending on the &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; parameter. This is particularly useful in narratives and game mechanics involving family and marital relationships.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This method is valuable in scenarios where an actor's current and former marital relationships impact the gameplay or story, such as in inheritance, alliance formation, or narrative development.&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 allSpouses = someActor.Spouses();&lt;br /&gt;
var livingSpouses = someActor.Spouses(false);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;In the first example, &amp;lt;code&amp;gt;allSpouses&amp;lt;/code&amp;gt; includes both living and deceased spouses of the actor. In the second example, &amp;lt;code&amp;gt;livingSpouses&amp;lt;/code&amp;gt; includes only the living spouses.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The ability to include or exclude deceased spouses provides depth to the handling of familial and relational dynamics within the game.&lt;br /&gt;
* The &amp;lt;code&amp;gt;Spouses&amp;lt;/code&amp;gt; method is crucial for managing complex relationships and can significantly impact the storylines and character interactions in the game.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>