<?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%2FFunctionScope</id>
	<title>Dice/FunctionScope - 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%2FFunctionScope"/>
	<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/FunctionScope&amp;action=history"/>
	<updated>2026-06-17T18:16:47Z</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/FunctionScope&amp;diff=235&amp;oldid=prev</id>
		<title>Skizzerz: Created page with &quot;{{APIdoc|FunctionScope Enumeration}} When registering a function, this indicates what scopes the function should be registered to. When a Dice/FunctionCallback|FunctionCallb...&quot;</title>
		<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/FunctionScope&amp;diff=235&amp;oldid=prev"/>
		<updated>2017-04-11T23:36:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{APIdoc|FunctionScope Enumeration}} When registering a function, this indicates what scopes the function should be registered to. When a Dice/FunctionCallback|FunctionCallb...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{APIdoc|FunctionScope Enumeration}}&lt;br /&gt;
When registering a function, this indicates what scopes the function should be registered to. When a [[Dice/FunctionCallback|FunctionCallback]] is called, this will indicate the scope from which the function was called from.&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 enum FunctionScope&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Member name !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Global || The function is a global function (not attached to a die roll).&lt;br /&gt;
|-&lt;br /&gt;
| Roll || The function is attached to normal, fudge, or grouped rolls, useful when registering functions that work on multiple roll types.&lt;br /&gt;
|-&lt;br /&gt;
| Basic || The function is attached to a normal or fudge die roll.&lt;br /&gt;
|-&lt;br /&gt;
| Group || The function is attached to a grouped roll.&lt;br /&gt;
|-&lt;br /&gt;
| All || The function can be executed globally as well as attached to any sort of roll. Useful when registering functions that work everywhere.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
When registering a function into the [[Dice/FunctionRegistry|FunctionRegistry]], any of the enum values may be used. When a scope is passed as part of a [[Dice/FunctionContext|FunctionContext]], it will be one of Global, Basic, or Group (Roll and All are not used in FunctionContexts).&lt;/div&gt;</summary>
		<author><name>Skizzerz</name></author>
		
	</entry>
</feed>