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" }
};