|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AutoTitlesLibrary
The library for managing the various auto-titles, which are player titles that can, according to a mask, be automatically added and removed from players as they meet, and stop meeting, various criterium.
reloadAutoTitles()| Method Summary | |
|---|---|
java.util.Enumeration<java.lang.String> |
autoTitles()
Returns an enumerator of the auto-title strings themselves. |
void |
dispossesTitle(java.lang.String title)
Scans all users in the database to ensure that the given title still belongs with them. |
java.lang.String |
evaluateAutoTitle(java.lang.String row,
boolean addIfPossible)
Scans an admin-given auto-title definition string to see if it is properly formatted for adding to the list of auto-titles. |
boolean |
evaluateAutoTitles(MOB mob)
Scans all existing titles to see if any should be added to the given mob. |
java.lang.String |
getAutoTitleMask(java.lang.String title)
Returns the string mask attributed to a particular title string. |
boolean |
isExistingAutoTitle(java.lang.String title)
Returns whether the given string matches one of the defined player titles. |
void |
reloadAutoTitles()
Forces this library to re-load its list of titles from the resource file titles.txt. |
| Methods inherited from interface com.planet_ink.coffee_mud.Libraries.interfaces.CMLibrary |
|---|
activate, getSupportThread, propertiesLoaded, shutdown |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, ID, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.util.Enumeration<java.lang.String> autoTitles()
java.lang.String getAutoTitleMask(java.lang.String title)
title - the title itself
MaskingLibraryboolean isExistingAutoTitle(java.lang.String title)
title - the strong to match
java.lang.String evaluateAutoTitle(java.lang.String row,
boolean addIfPossible)
row - the admin-entered command stringaddIfPossible - true to add it to the list, false to scan-only
boolean evaluateAutoTitles(MOB mob)
mob - the mob to check for new titles for
void reloadAutoTitles()
void dispossesTitle(java.lang.String title)
title - the title to scan users qualifications for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||