Extensions Members

The Extensions type exposes the following members.

Methods


  Name Description
Public method Static member ApplyGetPrefixCountMacro
Public method Static member ApplyPlurizationMacro
Public method Static member GetPrefixCount
Public method Static member GetSignedValue
Public method Static member IndexToLabel
Converts an index (0-37) to a letter (a-z) for an inventory or equipment slot
Public method Static member IndexToLetter
Converts an index (0-25) to a lower case letter (a-z)
Public method Static member IsVowel
Returns whether or not a character is a vowel
Public method Static member LetterToNumber
Converts a character from a-z into a numeric index 0-25
Public method Static member PadCenter
Pads a string in both directions to center the original
Public method Static member Pluralize
Public method Static member PluralizeMonsterName
Pluralizes a monster name, with various special cases for unusual names
Public method Static member StatToString
Converts a numeric ability score (3-118) to a string (3-40+)
Public method Static member ToIntSafely
Try to parse the string to an integer, returning 0 rather than an error if it can't be parsed
Public method Static member ToRoman
Converts an integer to a Roman numeral