<?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.RoleName</id>
	<title>Role.RoleName - 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.RoleName"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Role.RoleName&amp;action=history"/>
	<updated>2026-05-12T22:57:52Z</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.RoleName&amp;diff=984&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;=== Role Class - &lt;code&gt;RoleName&lt;/code&gt; Property ===  ==== Overview ==== The &lt;code&gt;RoleName&lt;/code&gt; property in the Role class identifies the name of a role assigned to a character in the game.  ==== Syntax ==== &lt;syntaxhighlight lang=&quot;c#&quot;&gt; [field: SerializeField] public string RoleName { get; private set; } &lt;/syntaxhighlight&gt;  ==== Description ==== This property provides a human-readable name for a role, such as &quot;Doctor,&quot; &quot;Warrior,&quot; or &quot;Leader.&quot; It is used to identify the...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Role.RoleName&amp;diff=984&amp;oldid=prev"/>
		<updated>2024-01-05T15:14:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Role Class - &amp;lt;code&amp;gt;RoleName&amp;lt;/code&amp;gt; Property ===  ==== Overview ==== The &amp;lt;code&amp;gt;RoleName&amp;lt;/code&amp;gt; property in the Role class identifies the name of a role assigned to a character in the game.  ==== Syntax ==== &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; [field: SerializeField] public string RoleName { get; private set; } &amp;lt;/syntaxhighlight&amp;gt;  ==== Description ==== This property provides a human-readable name for a role, such as &amp;quot;Doctor,&amp;quot; &amp;quot;Warrior,&amp;quot; or &amp;quot;Leader.&amp;quot; It is used to identify the...&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;RoleName&amp;lt;/code&amp;gt; Property ===&lt;br /&gt;
&lt;br /&gt;
==== Overview ====&lt;br /&gt;
The &amp;lt;code&amp;gt;RoleName&amp;lt;/code&amp;gt; property in the Role class identifies the name of a role assigned to a character in 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 RoleName { get; private set; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
This property provides a human-readable name for a role, such as &amp;quot;Doctor,&amp;quot; &amp;quot;Warrior,&amp;quot; or &amp;quot;Leader.&amp;quot; It is used to identify the role's function and significance within the game's narrative and mechanics.&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
Use &amp;lt;code&amp;gt;RoleName&amp;lt;/code&amp;gt; to access the name of a role for display purposes, in-game logic, or when interfacing with other game systems.&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 RoleDisplay : MonoBehaviour {&lt;br /&gt;
    void Start() {&lt;br /&gt;
        // Access the player's role&lt;br /&gt;
        var playerRole = IM.Player.Role;&lt;br /&gt;
&lt;br /&gt;
        if (playerRole != null) {&lt;br /&gt;
            // Output the name of the player's role&lt;br /&gt;
            Debug.Log($&amp;quot;Player's Role: {playerRole.RoleName}&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 essential for any situation where the name of a role needs to be displayed or used in game logic.&lt;br /&gt;
* Understanding the role of a character is crucial for gameplay decisions, narrative development, and player interaction.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>