<?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=EndScheme</id>
	<title>EndScheme - 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=EndScheme"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=EndScheme&amp;action=history"/>
	<updated>2026-05-12T22:58:12Z</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=EndScheme&amp;diff=1160&amp;oldid=prev</id>
		<title>Tayfunwiki at 23:00, 9 February 2024</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=EndScheme&amp;diff=1160&amp;oldid=prev"/>
		<updated>2024-02-09T23:00:15Z</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 19:00, 9 February 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-l28&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&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;         Scheme schemeToEnd = IM.Player.GetScheme(schemeName);&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;         Scheme schemeToEnd = IM.Player.GetScheme(schemeName);&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;         if (schemeToEnd != null) {&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;         if (schemeToEnd != null) {&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;             schemeToEnd.EndScheme(result);&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;             schemeToEnd&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.Schemer&lt;/ins&gt;.EndScheme(result);&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;             Debug.Log($&amp;quot;Ended scheme '{schemeName}' with result: {result}&amp;quot;);&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;             Debug.Log($&amp;quot;Ended scheme '{schemeName}' with result: {result}&amp;quot;);&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;         } else {&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;         } else {&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=EndScheme&amp;diff=908&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;EndScheme&lt;/code&gt; Method in Scheme Class ==  === Overview === The &lt;code&gt;EndScheme&lt;/code&gt; method in the Scheme class is used to conclude a scheme with a specific result. This method is essential for finalizing the outcome of a scheme, marking its completion in the context of the game's narrative or mechanics.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public void EndScheme(SchemeResult result) &lt;/syntaxhighlight&gt;  === Parameters ===  * &lt;code&gt;result&lt;/code&gt;: A &lt;code...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=EndScheme&amp;diff=908&amp;oldid=prev"/>
		<updated>2024-01-04T23:52:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;EndScheme&amp;lt;/code&amp;gt; Method in Scheme Class ==  === Overview === The &amp;lt;code&amp;gt;EndScheme&amp;lt;/code&amp;gt; method in the Scheme class is used to conclude a scheme with a specific result. This method is essential for finalizing the outcome of a scheme, marking its completion in the context of the game&amp;#039;s narrative or mechanics.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public void EndScheme(SchemeResult result) &amp;lt;/syntaxhighlight&amp;gt;  === Parameters ===  * &amp;lt;code&amp;gt;result&amp;lt;/code&amp;gt;: A &amp;lt;code...&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;EndScheme&amp;lt;/code&amp;gt; Method in Scheme Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;EndScheme&amp;lt;/code&amp;gt; method in the Scheme class is used to conclude a scheme with a specific result. This method is essential for finalizing the outcome of a scheme, marking its completion in the context of the game's narrative or mechanics.&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 void EndScheme(SchemeResult result)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;result&amp;lt;/code&amp;gt;: A &amp;lt;code&amp;gt;SchemeResult&amp;lt;/code&amp;gt; enum value representing the outcome of the scheme. The enum may include values like &amp;lt;code&amp;gt;None&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Success&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Failed&amp;lt;/code&amp;gt;, etc.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;EndScheme&amp;lt;/code&amp;gt; method takes a &amp;lt;code&amp;gt;SchemeResult&amp;lt;/code&amp;gt; value to determine how the scheme concludes. This result influences the game's narrative, player decisions, or subsequent events related to the scheme.&lt;br /&gt;
* The method typically contains logic to handle different outcomes, such as updating game state, triggering events, or changing character relationships based on the scheme's result.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This method is used in game scenarios where a scheme reaches a conclusion, and a specific outcome needs to be recorded or acted upon. It's critical in games where the consequences of schemes significantly impact gameplay or the story.&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 SchemeOutcomeManager : MonoBehaviour {&lt;br /&gt;
    // Example method to end a scheme with a specific result&lt;br /&gt;
    void ConcludeScheme(string schemeName, SchemeResult result) {&lt;br /&gt;
        Scheme schemeToEnd = IM.Player.GetScheme(schemeName);&lt;br /&gt;
        if (schemeToEnd != null) {&lt;br /&gt;
            schemeToEnd.EndScheme(result);&lt;br /&gt;
            Debug.Log($&amp;quot;Ended scheme '{schemeName}' with result: {result}&amp;quot;);&lt;br /&gt;
        } else {&lt;br /&gt;
            Debug.Log($&amp;quot;Scheme not found: {schemeName}&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;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
* In this example, the &amp;lt;code&amp;gt;ConcludeScheme&amp;lt;/code&amp;gt; method ends a specified scheme with a given result. It retrieves the scheme using &amp;lt;code&amp;gt;IM.Player.GetScheme&amp;lt;/code&amp;gt; and calls &amp;lt;code&amp;gt;EndScheme&amp;lt;/code&amp;gt; with the desired &amp;lt;code&amp;gt;SchemeResult&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The method logs a message indicating the scheme's conclusion and its outcome.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* Handling the end of schemes with specific results is crucial for games where schemes drive the narrative or are integral to gameplay mechanics.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>