<?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.ID</id>
	<title>Role.ID - 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.ID"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Role.ID&amp;action=history"/>
	<updated>2026-05-13T01:31:42Z</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.ID&amp;diff=983&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;=== Role Class - &lt;code&gt;ID&lt;/code&gt; Property ===  ==== Overview ==== The &lt;code&gt;ID&lt;/code&gt; property in the Role class uniquely identifies each role within the game.  ==== Syntax ==== &lt;syntaxhighlight lang=&quot;c#&quot;&gt; [field: SerializeField] public string ID { get; private set; } &lt;/syntaxhighlight&gt;  ==== Description ==== This property holds a unique identifier for a role, ensuring that each role can be distinctly recognized and referred to within the game's systems. It's crucial for...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Role.ID&amp;diff=983&amp;oldid=prev"/>
		<updated>2024-01-05T15:11:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Role Class - &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; Property ===  ==== Overview ==== The &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; property in the Role class uniquely identifies each role within the game.  ==== Syntax ==== &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; [field: SerializeField] public string ID { get; private set; } &amp;lt;/syntaxhighlight&amp;gt;  ==== Description ==== This property holds a unique identifier for a role, ensuring that each role can be distinctly recognized and referred to within the game&amp;#039;s systems. It&amp;#039;s crucial for...&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;ID&amp;lt;/code&amp;gt; Property ===&lt;br /&gt;
&lt;br /&gt;
==== Overview ====&lt;br /&gt;
The &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; property in the Role class uniquely identifies each role within the game.&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 string ID { get; private set; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
This property holds a unique identifier for a role, ensuring that each role can be distinctly recognized and referred to within the game's systems. It's crucial for managing roles in gameplay, scripting, and data storage.&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
Use &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; to reference or manipulate specific roles in game logic, such as assigning roles to actors or triggering role-specific events.&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 RoleManager : MonoBehaviour {&lt;br /&gt;
    private Role leaderRole;&lt;br /&gt;
&lt;br /&gt;
    void Start() {&lt;br /&gt;
        // Fetching the 'Leader' role&lt;br /&gt;
        leaderRole = IM.GetRole(&amp;quot;Leader&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        if (leaderRole != null) {&lt;br /&gt;
            Debug.Log($&amp;quot;Leader Role ID: {leaderRole.ID}&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;
* The &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; is typically used in scenarios where roles need to be identified or processed programmatically.&lt;br /&gt;
* It is crucial for maintaining consistency and accuracy in role management, especially in complex systems involving multiple roles.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>