<?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=IsMember</id>
	<title>IsMember - 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=IsMember"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=IsMember&amp;action=history"/>
	<updated>2026-05-06T01:01: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=IsMember&amp;diff=934&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;IsMember&lt;/code&gt; Method in Clan Class ==  === Overview === The &lt;code&gt;IsMember&lt;/code&gt; method in the Clan class is used to determine whether a specific actor is a member of the clan. This method is crucial for verifying membership status within the clan, impacting gameplay decisions, resource allocation, and narrative elements.  === Method Definition === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public bool IsMember(Actor member) &lt;/syntaxhighlight&gt;  === Description ===  * Parame...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=IsMember&amp;diff=934&amp;oldid=prev"/>
		<updated>2024-01-05T00:57:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;IsMember&amp;lt;/code&amp;gt; Method in Clan Class ==  === Overview === The &amp;lt;code&amp;gt;IsMember&amp;lt;/code&amp;gt; method in the Clan class is used to determine whether a specific actor is a member of the clan. This method is crucial for verifying membership status within the clan, impacting gameplay decisions, resource allocation, and narrative elements.  === Method Definition === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public bool IsMember(Actor member) &amp;lt;/syntaxhighlight&amp;gt;  === Description ===  * Parame...&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;IsMember&amp;lt;/code&amp;gt; Method in Clan Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;IsMember&amp;lt;/code&amp;gt; method in the Clan class is used to determine whether a specific actor is a member of the clan. This method is crucial for verifying membership status within the clan, impacting gameplay decisions, resource allocation, and narrative elements.&lt;br /&gt;
&lt;br /&gt;
=== Method Definition ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public bool IsMember(Actor member)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* Parameters:&lt;br /&gt;
** &amp;lt;code&amp;gt;member&amp;lt;/code&amp;gt;: The &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; object to check for membership in the clan.&lt;br /&gt;
* Returns: &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; if the actor is a member of the clan; otherwise, &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Functionality ===&lt;br /&gt;
&lt;br /&gt;
* This method checks the clan's member list to see if the specified actor is included as a member.&lt;br /&gt;
* It returns &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; if the actor is found in the clan's membership, indicating that they are a part of the clan.&lt;br /&gt;
* If the actor is not found within the clan, the method returns &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This method is essential for scenarios requiring confirmation of an actor's membership in a clan, such as determining eligibility for clan-specific activities, verifying access to clan resources, or shaping storylines around clan affiliation.&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 ClanMembershipChecker : MonoBehaviour {&lt;br /&gt;
    private Clan playerClan;&lt;br /&gt;
&lt;br /&gt;
    void Start() {&lt;br /&gt;
        playerClan = IM.Player.Clan;&lt;br /&gt;
        if (playerClan != null) {&lt;br /&gt;
            Actor actorToCheck = // Get the actor to check&lt;br /&gt;
            bool isMember = playerClan.IsMember(actorToCheck);&lt;br /&gt;
            Debug.Log($&amp;quot;{actorToCheck.Name} is a member of the player's clan: {isMember}&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;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
* In this example, the &amp;lt;code&amp;gt;IsMember&amp;lt;/code&amp;gt; method is used to check if a specific actor is a member of the player's clan.&lt;br /&gt;
* The membership status is logged to the console, providing information on whether the specified actor belongs to the player's clan.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;IsMember&amp;lt;/code&amp;gt; method is a key tool for managing clan dynamics and interactions in games where clan membership influences gameplay and narrative.&lt;br /&gt;
* Developers can utilize this method to create conditions and decision-making processes based on clan membership, enhancing the depth and complexity of the game.&lt;br /&gt;
* Accurate tracking of clan membership is crucial for maintaining realistic and engaging clan dynamics.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>