MUDZapperpublic interface MaskingLibrary extends CMLibrary
| Modifier and Type | Interface | Description | 
|---|---|---|
| static interface  | MaskingLibrary.CompiledZMask | A Compiled ZapperMask is a set of conditions, typically
 of the form VALUE in SET, KEY=VALUE or VALUE, etc. | 
| static interface  | MaskingLibrary.CompiledZMaskEntry | A Compiled Mask Entry is a condition, typically of
 the form VALUE in SET, or KEY=VALUE, or VALUE in RANGE. | 
| static class  | MaskingLibrary.ZapperKey | The set of mask types. | 
idConverter| Modifier and Type | Method | Description | 
|---|---|---|
| MaskingLibrary.CompiledZMask | createEmptyMask() | Creates an empty always-passing compiled zappermask
 object. | 
| java.util.List<java.lang.String> | getAbilityEduReqs(java.lang.String text) | If the given zappermask contains any references to ability or
 expertise requirements, this will return the IDs of the
 required object. | 
| MaskingLibrary.CompiledZMask | getPreCompiledMask(java.lang.String str) | Given a zappermask, this will check the internal cache for an
 already compiled version of the given string, build a new one
 if necessary, and return it | 
| boolean | maskCheck(MaskingLibrary.CompiledZMask cset,
         Environmental E,
         boolean actual) | Given a compiled zappermask and a Environmental object, this will return whether the
 Environmental passes the filter, or is rejected by it. | 
| boolean | maskCheck(MaskingLibrary.CompiledZMask cset,
         PlayerLibrary.ThinPlayer E) | Given a compiled zappermask and a ThinPlayer object, this will return whether the
 ThinPlayer passes the filter, or is rejected by it. | 
| boolean | maskCheck(java.lang.String text,
         Environmental E,
         boolean actual) | Given a zappermask and a Environmental object, this will return whether the
 Environmental passes the filter, or is rejected by it. | 
| boolean | maskCheck(java.lang.String text,
         PlayerLibrary.ThinPlayer E) | Given a zappermask and a ThinPlayer object, this will return whether the
 ThinPlayer passes the filter, or is rejected by it. | 
| MaskingLibrary.CompiledZMask | maskCompile(java.lang.String text) | Given a zappermask, this will return a compiled version of the
 given string, build a new one if necessary, and return it | 
| java.lang.String | maskDesc(java.lang.String text) | Given a zappermask, this will return a brief readable english
 description of the mask. | 
| java.lang.String | maskDesc(java.lang.String text,
        boolean skipFirstWord) | Given a zappermask, this will return a brief readable english
 description of the mask. | 
| java.lang.String | maskHelp(java.lang.String CR,
        java.lang.String word) | Returns the official help file for the list of all
 zappermask codes, customized for the caller. | 
| int | minMaskLevel(java.lang.String text,
            int minMinLevel) | Given a zappermask string, this method will find any level-check
 related criteria, such as level, classlevel, or maxclasslevel,
 and returns the minimum level of the criteria. | 
| java.lang.String[] | parseMaskKeys(java.lang.String maskStr) | Parses the given string, returning all of the zappermask
 keys in the order in which they appear. | 
| java.lang.String[] | separateMaskStrs(java.lang.String newText) | Lots of property strings support including zappermasks
 by including the string MASK= followed by the remainder of
 the string being the zappermask. | 
| java.lang.String | separateZapperMask(java.lang.String newText) | Lots of props and behaviors support embedded
 zappermasks, but they aren't delineated. | 
| boolean | syntaxCheck(java.lang.String text,
           java.util.List<java.lang.String> errorSink) | Parses the given string as a zappermask and returns true
 if any parsed bit is a valid zappermask type word. | 
activate, getServiceClient, L, propertiesLoaded, shutdowncopyOf, ID, initializeClass, name, newInstancejava.lang.String maskHelp(java.lang.String CR,
                          java.lang.String word)
CR - null, or the type of EOL string to use.word - null, or a substitute for the word 'disallow'java.util.List<java.lang.String> getAbilityEduReqs(java.lang.String text)
text - the zappermaskjava.lang.String maskDesc(java.lang.String text)
text - the ZapperMask stringmaskDesc(String, boolean)java.lang.String maskDesc(java.lang.String text,
                          boolean skipFirstWord)
text - the ZapperMask stringskipFirstWord - true to skip the word 'allows'maskDesc(String)MaskingLibrary.CompiledZMask maskCompile(java.lang.String text)
text - the zappermask stringgetPreCompiledMask(String)MaskingLibrary.CompiledZMask getPreCompiledMask(java.lang.String str)
str - the zappermask stringmaskCompile(String)boolean maskCheck(MaskingLibrary.CompiledZMask cset, Environmental E, boolean actual)
cset - the compiled zappermask to apply to the playerE - the object to apply the pas toactual - true to use base stats, false for adjustedmaskCheck(CompiledZMask, com.planet_ink.coffee_mud.Libraries.interfaces.PlayerLibrary.ThinPlayer), 
maskCheck(String, com.planet_ink.coffee_mud.Libraries.interfaces.PlayerLibrary.ThinPlayer), 
maskCheck(String, Environmental, boolean)boolean maskCheck(java.lang.String text,
                  Environmental E,
                  boolean actual)
text - the zappermask to apply to the playerE - the object to apply the pas toactual - true to use base stats, false for adjustedmaskCheck(CompiledZMask, com.planet_ink.coffee_mud.Libraries.interfaces.PlayerLibrary.ThinPlayer), 
maskCheck(String, com.planet_ink.coffee_mud.Libraries.interfaces.PlayerLibrary.ThinPlayer), 
maskCheck(CompiledZMask, Environmental, boolean)boolean maskCheck(MaskingLibrary.CompiledZMask cset, PlayerLibrary.ThinPlayer E)
cset - the compiled zappermask to apply to the playerE - the thinplayer objectPlayerLibrary.ThinPlayer, 
maskCheck(String, com.planet_ink.coffee_mud.Libraries.interfaces.PlayerLibrary.ThinPlayer), 
maskCheck(CompiledZMask, Environmental, boolean), 
maskCheck(String, Environmental, boolean)boolean maskCheck(java.lang.String text,
                  PlayerLibrary.ThinPlayer E)
text - the zappermask to apply to the playerE - the thinplayer objectPlayerLibrary.ThinPlayer, 
maskCheck(CompiledZMask, com.planet_ink.coffee_mud.Libraries.interfaces.PlayerLibrary.ThinPlayer), 
maskCheck(CompiledZMask, Environmental, boolean), 
maskCheck(String, Environmental, boolean)boolean syntaxCheck(java.lang.String text,
                    java.util.List<java.lang.String> errorSink)
text - the postential zappermaskerrorSink - the list to put the error message inint minMaskLevel(java.lang.String text,
                 int minMinLevel)
text - the zappermaskminMinLevel - the default floor to returnjava.lang.String[] separateMaskStrs(java.lang.String newText)
newText - the property parametersjava.lang.String separateZapperMask(java.lang.String newText)
newText - the string to searchMaskingLibrary.CompiledZMask createEmptyMask()
java.lang.String[] parseMaskKeys(java.lang.String maskStr)
maskStr - the full zappermask string