<?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=OnClanNameChanged</id>
	<title>OnClanNameChanged - 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=OnClanNameChanged"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=OnClanNameChanged&amp;action=history"/>
	<updated>2026-05-12T23:27:49Z</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=OnClanNameChanged&amp;diff=924&amp;oldid=prev</id>
		<title>Tayfunwiki at 00:27, 5 January 2024</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=OnClanNameChanged&amp;diff=924&amp;oldid=prev"/>
		<updated>2024-01-05T00:27:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:27, 4 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Purpose: Notifies when the clan's name has been changed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Purpose: Notifies when the clan's name has been changed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Parameters:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Parameters:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;: The &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;new &lt;/del&gt;name of the clan.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;: The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;old &lt;/ins&gt;name of the clan.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Functionality ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Functionality ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=OnClanNameChanged&amp;diff=923&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;onClanNameChanged&lt;/code&gt; Event in Clan Class ==  === Overview === The &lt;code&gt;onClanNameChanged&lt;/code&gt; event in the Clan class is triggered when the name of the clan is altered. This event is crucial for monitoring and responding to changes in the identity and representation of the clan within the game.  === Event Definition === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public event Action&lt;string&gt; onClanNameChanged; &lt;/syntaxhighlight&gt;  === Description ===  * Delegate Type: &lt;cod...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=OnClanNameChanged&amp;diff=923&amp;oldid=prev"/>
		<updated>2024-01-05T00:27:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;onClanNameChanged&amp;lt;/code&amp;gt; Event in Clan Class ==  === Overview === The &amp;lt;code&amp;gt;onClanNameChanged&amp;lt;/code&amp;gt; event in the Clan class is triggered when the name of the clan is altered. This event is crucial for monitoring and responding to changes in the identity and representation of the clan within the game.  === Event Definition === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public event Action&amp;lt;string&amp;gt; onClanNameChanged; &amp;lt;/syntaxhighlight&amp;gt;  === Description ===  * Delegate Type: &amp;lt;cod...&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;onClanNameChanged&amp;lt;/code&amp;gt; Event in Clan Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;onClanNameChanged&amp;lt;/code&amp;gt; event in the Clan class is triggered when the name of the clan is altered. This event is crucial for monitoring and responding to changes in the identity and representation of the clan within the game.&lt;br /&gt;
&lt;br /&gt;
=== Event Definition ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public event Action&amp;lt;string&amp;gt; onClanNameChanged;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* Delegate Type: &amp;lt;code&amp;gt;Action&amp;lt;string&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Purpose: Notifies when the clan's name has been changed.&lt;br /&gt;
* Parameters:&lt;br /&gt;
** &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;: The new name of the clan.&lt;br /&gt;
&lt;br /&gt;
=== Functionality ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;onClanNameChanged&amp;lt;/code&amp;gt; event is raised when there is a modification to the clan's name.&lt;br /&gt;
* It provides the updated name of the clan as a parameter.&lt;br /&gt;
* This event allows various aspects of the game, such as UI elements, narrative scripts, or clan-based mechanics, to update accordingly to reflect the change in the clan's name.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This event is generally used to implement real-time updates in the game when a clan undergoes a name change. It ensures that the game accurately reflects the current state and identity of the clan across all relevant elements.&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 ClanNameChangeHandler : MonoBehaviour {&lt;br /&gt;
    void Start() {&lt;br /&gt;
        Clan playerClan = IM.Player.Clan;&lt;br /&gt;
        if (playerClan != null) {&lt;br /&gt;
            playerClan.onClanNameChanged += HandleClanNameChange;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private void HandleClanNameChange(string oldName) {&lt;br /&gt;
        Debug.Log($&amp;quot;The player's clan name has been changed to: {IM.Player.Clan.ClanName}, Old Name: {oldName}&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    void OnDestroy() {&lt;br /&gt;
        if (IM.Player.Clan != null) {&lt;br /&gt;
            IM.Player.Clan.onClanNameChanged -= HandleClanNameChange;&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;
* This example demonstrates how to subscribe to the &amp;lt;code&amp;gt;onClanNameChanged&amp;lt;/code&amp;gt; event for the player's clan.&lt;br /&gt;
* It also ensures to unsubscribe from the event upon the destruction of the GameObject to prevent memory leaks or unintended behavior.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;onClanNameChanged&amp;lt;/code&amp;gt; event is essential for maintaining consistency and accuracy in the portrayal of the clan throughout the game.&lt;br /&gt;
* It plays a significant role in games where clan identity is pivotal to the gameplay experience or narrative.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>