< Dice‎ | BuiltinFunctions
Revision as of 22:08, 27 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|BuiltinFunctions.ReservedNames Field}} Function names which are reserved and cannot be registered. {{ns}} == Syntax == <syntaxhighlight lang="C#"> internal static r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

BuiltinFunctions.ReservedNames Field

From DiceRoller Documentation

Function names which are reserved and cannot be registered.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

internal static readonly Dictionary<string, string> ReservedNames

Field Value

Type: System.Collections.Generic.Dictionary<System.String, System.String>

Function names which are reserved and cannot be registered.

Remarks

This field is initialized to the following value:

internal static readonly Dictionary<string, string> ReservedNames = new Dictionary<string, string>
{
    // key = lowercased name, value = properly-cased name
    { "reroll", "reroll" },
    { "rerolln", "rerollN" },
    { "rerollonce", "rerollOnce" },
    { "explode", "explode" },
    { "compound", "compound" },
    { "penetrate", "penetrate" },
    { "compoundpenetrate", "compoundPenetrate" },
    { "keephighest", "keepHighest" },
    { "keeplowest", "keepLowest" },
    { "drophighest", "dropHighest" },
    { "droplowest", "dropLowest" },
    { "advantage", "advantage" },
    { "disadvantage", "disadvantage" },
    { "success", "success" },
    { "failure", "failure" },
    { "critical", "critical" },
    { "fumble", "fumble" },
    { "sortasc", "sortAsc" },
    { "sortdesc", "sortDesc" }
};