<?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=GetFamily</id>
	<title>GetFamily - 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=GetFamily"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=GetFamily&amp;action=history"/>
	<updated>2026-04-18T04:43:15Z</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=GetFamily&amp;diff=1007&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;=== IM Class - &lt;code&gt;GetFamily&lt;/code&gt; Method ===  ==== Overview ==== The &lt;code&gt;GetFamily&lt;/code&gt; method in the IM class is designed to retrieve a specific family within the game's context by its name or ID.  ==== Syntax ==== &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public static Family GetFamily(string familyNameOrId) &lt;/syntaxhighlight&gt;  ==== Description ==== This method locates a family within the game's active list of families using either its name or ID. If a matching family is fou...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=GetFamily&amp;diff=1007&amp;oldid=prev"/>
		<updated>2024-01-05T16:23:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== IM Class - &amp;lt;code&amp;gt;GetFamily&amp;lt;/code&amp;gt; Method ===  ==== Overview ==== The &amp;lt;code&amp;gt;GetFamily&amp;lt;/code&amp;gt; method in the IM class is designed to retrieve a specific family within the game&amp;#039;s context by its name or ID.  ==== Syntax ==== &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public static Family GetFamily(string familyNameOrId) &amp;lt;/syntaxhighlight&amp;gt;  ==== Description ==== This method locates a family within the game&amp;#039;s active list of families using either its name or ID. If a matching family is fou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== IM Class - &amp;lt;code&amp;gt;GetFamily&amp;lt;/code&amp;gt; Method ===&lt;br /&gt;
&lt;br /&gt;
==== Overview ====&lt;br /&gt;
The &amp;lt;code&amp;gt;GetFamily&amp;lt;/code&amp;gt; method in the IM class is designed to retrieve a specific family within the game's context by its name or ID.&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 static Family GetFamily(string familyNameOrId)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
This method locates a family within the game's active list of families using either its name or ID. If a matching family is found, it returns the corresponding &amp;lt;code&amp;gt;Family&amp;lt;/code&amp;gt; object.&lt;br /&gt;
&lt;br /&gt;
==== Example of Usage ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public class FamilyManager : MonoBehaviour {&lt;br /&gt;
    void DisplayFamilyInfo() {&lt;br /&gt;
        // Retrieve a family by name or ID&lt;br /&gt;
        var family = IM.GetFamily(&amp;quot;House Stark&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        // Check if the family exists and display its details&lt;br /&gt;
        if (family != null) {&lt;br /&gt;
            Debug.Log($&amp;quot;Family Name: {family.FamilyName}&amp;quot;);&lt;br /&gt;
            Debug.Log($&amp;quot;Family Description: {family.Description}&amp;quot;);&lt;br /&gt;
            // Additional display logic can be added here&lt;br /&gt;
        } else {&lt;br /&gt;
            Debug.Log(&amp;quot;Family not found.&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remarks ====&lt;br /&gt;
&lt;br /&gt;
* This method is vital for accessing and managing family-related dynamics in the game, such as displaying family histories, alliances, or rivalries.&lt;br /&gt;
* The accuracy of family retrieval depends on the exact match of the provided name or ID with those in the game's family database.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>