<?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=Role.Capacity</id>
	<title>Role.Capacity - 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=Role.Capacity"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Role.Capacity&amp;action=history"/>
	<updated>2026-05-06T00:50:41Z</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=Role.Capacity&amp;diff=988&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;=== Role Class - &lt;code&gt;Capacity&lt;/code&gt; Property ===  ==== Overview ==== The &lt;code&gt;Capacity&lt;/code&gt; property in the Role class specifies the maximum number of individuals who can hold a particular role within a clan or similar group.  ==== Syntax ==== &lt;syntaxhighlight lang=&quot;c#&quot;&gt; [field: SerializeField] public int Capacity { get; private set; } &lt;/syntaxhighlight&gt;  ==== Description ==== This property defines the limit on how many actors can simultaneously hold a given role....&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Role.Capacity&amp;diff=988&amp;oldid=prev"/>
		<updated>2024-01-05T15:28:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Role Class - &amp;lt;code&amp;gt;Capacity&amp;lt;/code&amp;gt; Property ===  ==== Overview ==== The &amp;lt;code&amp;gt;Capacity&amp;lt;/code&amp;gt; property in the Role class specifies the maximum number of individuals who can hold a particular role within a clan or similar group.  ==== Syntax ==== &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; [field: SerializeField] public int Capacity { get; private set; } &amp;lt;/syntaxhighlight&amp;gt;  ==== Description ==== This property defines the limit on how many actors can simultaneously hold a given role....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Role Class - &amp;lt;code&amp;gt;Capacity&amp;lt;/code&amp;gt; Property ===&lt;br /&gt;
&lt;br /&gt;
==== Overview ====&lt;br /&gt;
The &amp;lt;code&amp;gt;Capacity&amp;lt;/code&amp;gt; property in the Role class specifies the maximum number of individuals who can hold a particular role within a clan or similar group.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
[field: SerializeField] public int Capacity { get; private set; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
This property defines the limit on how many actors can simultaneously hold a given role. For example, there might only be one &amp;quot;Leader&amp;quot; role available in a clan.&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;code&amp;gt;Capacity&amp;lt;/code&amp;gt; is essential in scenarios where roles need to be restricted to a certain number of actors, thereby ensuring proper role management within clans or organizations.&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 RoleCapacityCheck : MonoBehaviour {&lt;br /&gt;
    void Start() {&lt;br /&gt;
        // Retrieve a specific role, such as &amp;quot;Guard&amp;quot;&lt;br /&gt;
        var guardRole = IM.GetRole(&amp;quot;Guard&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        if (guardRole != null) {&lt;br /&gt;
            // Display the capacity of the &amp;quot;Guard&amp;quot; role&lt;br /&gt;
            Debug.Log($&amp;quot;Capacity for Guard Role: {guardRole.Capacity}&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 property is crucial for managing roles within clans, ensuring that the number of individuals in specific roles doesn't exceed logical or narrative bounds.&lt;br /&gt;
* It is particularly relevant in strategic or role-based simulations where the number of roles like guards, advisors, or specialists is a critical aspect of gameplay and clan dynamics.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>