|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.player.Aliases
Tracks the standard mappings for keys that come in from the client.
Constructor Summary | |
Aliases()
|
Method Summary | |
static java.lang.String |
getDefaultAlias(java.lang.String key)
Returns the default alias for the passed key-string. |
static java.util.Map |
parseAliases(PropertyList plist)
Returns a map of aliases to commands, parsed from a PropertyList containing zero or more properties named "alias-whatever", where the value is the command to substitute when the player types "whatever". |
static java.util.List |
parseMacro(java.lang.String command)
Supports multi-command macros. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Aliases()
Method Detail |
public static java.lang.String getDefaultAlias(java.lang.String key)
public static java.util.List parseMacro(java.lang.String command)
command
- the command the user typed
public static java.util.Map parseAliases(PropertyList plist)
plist
- the player, or any PropertyList implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |