<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://skizzerz.net/DiceRoller/index.php?action=history&amp;feed=atom&amp;title=Dice%2FPbP%2FRollPost%2FHasDivergedFrom</id>
	<title>Dice/PbP/RollPost/HasDivergedFrom - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://skizzerz.net/DiceRoller/index.php?action=history&amp;feed=atom&amp;title=Dice%2FPbP%2FRollPost%2FHasDivergedFrom"/>
	<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/PbP/RollPost/HasDivergedFrom&amp;action=history"/>
	<updated>2026-05-03T05:29:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://skizzerz.net/DiceRoller/index.php?title=Dice/PbP/RollPost/HasDivergedFrom&amp;diff=949&amp;oldid=prev</id>
		<title>Skizzerz: Created page with &quot;{{APIdoc|RollPost.HasDivergedFrom Method (RollPost)}} Test if two RollPosts have diverged.  {{ns}}  == Syntax == &lt;syntaxhighlight lang=&quot;C#&quot;&gt; public virtual bool HasDivergedFro...&quot;</title>
		<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/PbP/RollPost/HasDivergedFrom&amp;diff=949&amp;oldid=prev"/>
		<updated>2017-10-06T00:51:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{APIdoc|RollPost.HasDivergedFrom Method (RollPost)}} Test if two RollPosts have diverged.  {{ns}}  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt; public virtual bool HasDivergedFro...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{APIdoc|RollPost.HasDivergedFrom Method (RollPost)}}&lt;br /&gt;
Test if two RollPosts have diverged.&lt;br /&gt;
&lt;br /&gt;
{{ns}}&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt;&lt;br /&gt;
public virtual bool HasDivergedFrom(&lt;br /&gt;
    RollPost other&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
; ''other''&lt;br /&gt;
: Type: {{l|Dice.PbP.RollPost}}&lt;br /&gt;
: RollPost to check against&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
Type: System.Boolean&lt;br /&gt;
&lt;br /&gt;
Returns {{cs|true}} if the two RollPosts have diverged and {{cs|false}} if they have not.&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
Much like [[../Validate|Validate]], two RollPosts are considered to be divergent if one is not a prefix of the other. The logic to check this mirrors what is used in Validate, however it does not call Validate. Therefore, classes which extend RollPost should override both Validate and HasDivergedFrom in order to ensure that the logic between the two is consistent.&lt;br /&gt;
&lt;br /&gt;
Unlike Validate, HasDivergedFrom has no side effects.&lt;/div&gt;</summary>
		<author><name>Skizzerz</name></author>
		
	</entry>
</feed>