<?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=HasSisterInLaw</id>
	<title>HasSisterInLaw - 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=HasSisterInLaw"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=HasSisterInLaw&amp;action=history"/>
	<updated>2026-05-12T22:56:23Z</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=HasSisterInLaw&amp;diff=706&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;HasSisterInLaw&lt;/code&gt; Property in Actor Class ==  === Overview === The &lt;code&gt;HasSisterInLaw&lt;/code&gt; property in the &lt;code&gt;Actor&lt;/code&gt; class is a boolean value indicating whether the actor has any living sisters-in-law. This property is significant in games where familial relationships, including those with in-laws, play a role in the narrative, character interactions, or gameplay mechanics.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public bool HasSisterInLaw =...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=HasSisterInLaw&amp;diff=706&amp;oldid=prev"/>
		<updated>2023-12-23T10:16:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;HasSisterInLaw&amp;lt;/code&amp;gt; Property in Actor Class ==  === Overview === The &amp;lt;code&amp;gt;HasSisterInLaw&amp;lt;/code&amp;gt; property in the &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; class is a boolean value indicating whether the actor has any living sisters-in-law. This property is significant in games where familial relationships, including those with in-laws, play a role in the narrative, character interactions, or gameplay mechanics.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public bool HasSisterInLaw =...&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;HasSisterInLaw&amp;lt;/code&amp;gt; Property in Actor Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;HasSisterInLaw&amp;lt;/code&amp;gt; property in the &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; class is a boolean value indicating whether the actor has any living sisters-in-law. This property is significant in games where familial relationships, including those with in-laws, play a role in the narrative, character interactions, or gameplay mechanics.&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 bool HasSisterInLaw =&amp;gt; Siblings(false).SelectMany(s =&amp;gt; s._spouses).Any(s =&amp;gt; s.Gender == IGender.Female);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* Property Type: &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;HasSisterInLaw&amp;lt;/code&amp;gt; property determines if the actor has at least one living sister-in-law.&lt;br /&gt;
* Property Logic: This property uses the &amp;lt;code&amp;gt;Siblings&amp;lt;/code&amp;gt; method with the &amp;lt;code&amp;gt;inclusivePassive&amp;lt;/code&amp;gt; parameter set to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; to retrieve only living siblings. It then employs &amp;lt;code&amp;gt;SelectMany&amp;lt;/code&amp;gt; to collect all spouses of these siblings and uses &amp;lt;code&amp;gt;.Any()&amp;lt;/code&amp;gt; to check if there is any female spouse (indicating a sister-in-law).&lt;br /&gt;
* Purpose: The &amp;lt;code&amp;gt;HasSisterInLaw&amp;lt;/code&amp;gt; property is crucial for identifying the presence of living sisters-in-law within the actor's extended family network. It can influence various gameplay elements such as social dynamics, alliances, inheritance disputes, and plot developments.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This property is used to ascertain if an actor has living sisters-in-law, impacting story development, gameplay decisions, and character interactions, particularly in contexts where extended family ties are integral.&lt;br /&gt;
&lt;br /&gt;
==== Example: ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
if (someActor.HasSisterInLaw) {&lt;br /&gt;
    // Execute logic specific to actors with living sisters-in-law&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;In this example, specific game logic or narrative elements are conditioned based on the actor having living sisters-in-law.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The use of &amp;lt;code&amp;gt;Siblings(false).SelectMany(s =&amp;gt; s._spouses).Any(s =&amp;gt; s.Gender == IGender.Female)&amp;lt;/code&amp;gt; provides an efficient method to determine the presence of living sisters-in-law.&lt;br /&gt;
* The &amp;lt;code&amp;gt;HasSisterInLaw&amp;lt;/code&amp;gt; property is important in games where relationships with extended family members, such as sisters-in-law, impact the storyline, character motivations, or gameplay choices.&lt;br /&gt;
* This property enhances the depth of character development and adds complexity to the social and familial dynamics within the game world.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>