public class ListCmd extends StdCommand
Modifier and Type | Class | Description |
---|---|---|
static class |
ListCmd.ListCmdEntry |
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
helpChecked |
idConverter
ID, noCoinFilter
Constructor | Description |
---|---|
ListCmd() |
Modifier and Type | Method | Description |
---|---|---|
double |
actionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this command.
|
void |
addEnumeratedStatCodes(java.util.Enumeration<? extends Modifiable> e,
java.util.Set<java.lang.String> allKnownFields,
java.lang.StringBuffer allFieldsMsg) |
|
void |
addScripts(DVector DV,
Room R,
ShopKeeper SK,
MOB M,
Item I,
PhysicalAgent E) |
|
void |
addShopScripts(DVector DV,
Room R,
MOB M,
Item I,
Environmental E) |
|
protected java.lang.StringBuilder |
appendTick(int group,
int tick,
boolean activeOnly,
java.lang.String mask,
java.lang.String finalCol,
int[] col,
int[] COL) |
|
void |
archonlist(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
areaConquests(Session viewerS,
java.util.Enumeration<Area> these) |
|
boolean |
canBeOrdered() |
Whether a group leader or charmer can order their followers
to do this command.
|
boolean |
canShowTo(MOB showTo,
MOB show) |
|
java.lang.String |
cataMark(Environmental E) |
|
double |
combatActionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this command.
|
protected void |
dumpThreadGroup(Session viewerS,
java.lang.StringBuilder lines,
java.lang.ThreadGroup tGroup,
boolean ignoreZeroTickThreads,
boolean extend) |
|
boolean |
execute(MOB mob,
java.util.List<java.lang.String> commands,
int metaFlags) |
This method actually performs the command, when the given parsed
set of command-line words.
|
protected java.lang.Thread |
findThread(java.lang.String name,
java.lang.ThreadGroup tGroup,
boolean ignoreZeroTickThreads) |
|
protected java.lang.String |
fixDisplayMask(java.lang.String mask) |
|
java.lang.String[] |
getAccessWords() |
Returns the set of command words, with the most public one first,
that are entered by the user to initiate this command.
|
ListCmd.ListCmdEntry |
getAnyCmd(MOB mob) |
|
java.lang.Comparable<?> |
getAreaStatFromSomewhere(Area A,
java.lang.String stat) |
|
java.lang.StringBuffer |
getAreaStuff(MOB mob,
java.util.List<java.lang.String> commands,
int start,
java.util.Enumeration<Room> r) |
|
java.lang.String |
getAreaStuffLine(Room R,
MOB mob,
Environmental E,
Environmental cE,
com.planet_ink.coffee_mud.Commands.ListCmd.WikiFlag wiki,
int col1,
int roomNameCol,
java.util.Set<java.lang.String> uniq,
ShopKeeper SK,
boolean shopOnly) |
|
ListCmd.ListCmdEntry |
getMyCmd(MOB mob,
java.lang.String s) |
|
java.util.List<java.lang.String> |
getMyCmdWords(MOB mob) |
|
java.lang.String |
getSpaceObjectType(SpaceObject obj) |
|
protected java.lang.String |
getSpecialItemTags(Item I) |
|
java.lang.String |
getValue(java.lang.Object o,
java.lang.String indention) |
|
java.lang.StringBuilder |
journalList(MOB mob,
Session viewerS,
java.lang.String partialjournal,
java.lang.String rest) |
|
void |
listAbilities(MOB mob,
Session s,
java.util.List<java.lang.String> commands,
java.lang.String title,
int ofType) |
|
void |
listAccounts(Session viewerS,
MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listAchievements(Session viewerS) |
|
java.lang.StringBuilder |
listAllQualifies(Session viewerS,
java.util.List<java.lang.String> cmds) |
|
void |
listAreas(MOB mob,
java.util.List<java.lang.String> commands,
Filterer<Area> filter) |
|
java.lang.String |
listAutoAwards(Session viewerS) |
|
java.lang.StringBuilder |
listBanks(MOB mob,
Session viewerS,
java.util.List<java.lang.String> commands) |
|
void |
listBehaviors(MOB mob,
Session s,
java.util.List<java.lang.String> commands,
java.lang.String title) |
|
java.lang.StringBuilder |
listCharClasses(Session viewerS,
java.util.Enumeration<CharClass> these,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listClanGovernments(Session viewerS,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listClans(Session viewerS,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
listCommandJournals(Session viewerS) |
|
void |
listCommands(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listComponents(Session viewerS) |
|
java.lang.StringBuilder |
listContent(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listCron(Session viewerS,
java.lang.String rest) |
|
void |
listCurrents(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listEnvResources(Session viewerS,
java.lang.String rest) |
|
java.lang.String |
listExpertises(Session viewerS,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listExpired(MOB mob) |
|
void |
listFileUse(MOB mob,
Session S,
java.lang.String fileName) |
|
java.lang.String |
listHelpFileRequests(MOB mob,
java.lang.String rest) |
|
java.lang.StringBuilder |
listJournals(Session viewerS) |
|
java.lang.StringBuilder |
listLibraries(MOB mob,
Session viewerS,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
listLinkages(Session viewerS,
MOB mob,
java.lang.String rest) |
|
void |
listLoadedUsers(Session viewerS,
MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
listLog(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
listManufacturers(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listMaterials() |
|
java.lang.String |
listMQL(MOB mob,
boolean areaFlag,
java.util.List<java.lang.String> commands) |
|
void |
listNews(MOB mob,
java.util.List<java.lang.String> commands) |
|
protected java.lang.String |
listOneWayDoors(Session viewerS,
java.util.List<java.lang.String> commands) |
|
protected java.lang.String |
listOrphans(Session viewerS,
java.util.List<java.lang.String> commands) |
|
void |
listPolls(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
listPostOffices(MOB mob,
Session viewerS,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
listQuestNames(Session viewerS,
java.lang.String rest) |
|
java.lang.StringBuilder |
listQuests(Session viewerS,
java.lang.String rest) |
|
java.lang.StringBuilder |
listQuestWinners(Session viewerS,
java.lang.String rest) |
|
java.lang.StringBuilder |
listRaceCats(Session viewerS,
java.util.Enumeration<Race> these,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
listRaces(Session viewerS,
java.util.Enumeration<Race> these,
java.lang.String rest) |
|
java.lang.String |
listRecipes(MOB mob,
java.lang.String rest) |
|
java.lang.StringBuilder |
listReports(Session viewerS,
MOB mob) |
|
java.lang.String |
listResources(MOB mob,
java.lang.String parm) |
|
java.lang.StringBuilder |
listScripts(Session viewerS,
MOB mob,
java.util.List<java.lang.String> cmds) |
|
void |
listSessions(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
listShips(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listSocials(Session viewerS,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
listSpace(MOB mob,
java.util.List<java.lang.String> commands) |
|
void |
listSql(MOB mob,
java.lang.String rest) |
|
void |
listStats(MOB mob,
java.util.List<java.lang.String> commands) |
|
java.lang.StringBuilder |
listSubOps(Session viewerS) |
|
java.lang.StringBuilder |
listThread(Session viewerS,
MOB mob,
java.lang.String threadname) |
|
java.lang.StringBuilder |
listThreads(Session viewerS,
MOB mob,
boolean ignoreZeroTickThreads,
boolean extend) |
|
java.lang.StringBuilder |
listTicks(Session viewerS,
java.lang.String whichGroupStr) |
|
void |
listTimeZones(MOB mob,
java.util.List<java.lang.String> commands,
Filterer<Area> filter) |
|
java.lang.String |
listTitles(Session viewerS) |
|
protected java.lang.String |
listUnlinkedExits(Session viewerS,
java.util.List<java.lang.String> commands) |
|
void |
listUsers(Session viewerS,
MOB mob,
java.util.List<java.lang.String> commands) |
|
boolean |
pause(Session sess) |
|
java.lang.StringBuilder |
roomDetails(Session viewerS,
java.util.Enumeration<Room> these,
Room likeRoom,
java.lang.String rest) |
|
java.lang.StringBuilder |
roomDetails(Session viewerS,
java.util.List<Room> these,
Room likeRoom,
java.lang.String rest) |
|
java.lang.StringBuilder |
roomExpires(Session viewerS,
java.util.Enumeration<Room> these,
Room likeRoom) |
|
java.lang.StringBuilder |
roomPropertyDetails(Session viewerS,
Area A,
java.lang.String rest) |
|
java.lang.StringBuilder |
roomPropertyDetails(Session viewerS,
java.util.Enumeration<Room> these,
java.lang.String owner,
boolean taxes) |
|
java.lang.StringBuilder |
roomResources(Session viewerS,
java.util.Enumeration<Room> these,
Room likeRoom) |
|
java.lang.StringBuilder |
roomResources(Session viewerS,
java.util.Vector<Room> these,
Room likeRoom) |
|
java.lang.StringBuilder |
roomTypes(MOB mob,
java.util.Enumeration<Room> these,
Room likeRoom,
java.util.List<java.lang.String> commands) |
|
java.lang.String |
wikiFix(java.lang.String s,
char[] newChars,
boolean noSpaces) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBeCancelled, checkArguments, checkedActionsCost, compareTo, copyOf, executeInternal, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlist, securityCheck
public java.lang.String[] getAccessWords()
Command
getAccessWords
in interface Command
getAccessWords
in class StdCommand
public java.lang.StringBuilder listAllQualifies(Session viewerS, java.util.List<java.lang.String> cmds)
public java.lang.StringBuilder roomDetails(Session viewerS, java.util.List<Room> these, Room likeRoom, java.lang.String rest)
public java.lang.StringBuilder roomDetails(Session viewerS, java.util.Enumeration<Room> these, Room likeRoom, java.lang.String rest)
public java.lang.StringBuilder roomExpires(Session viewerS, java.util.Enumeration<Room> these, Room likeRoom)
public java.lang.StringBuilder roomPropertyDetails(Session viewerS, java.util.Enumeration<Room> these, java.lang.String owner, boolean taxes)
public java.lang.StringBuilder roomPropertyDetails(Session viewerS, Area A, java.lang.String rest)
public java.lang.String cataMark(Environmental E)
protected java.lang.String getSpecialItemTags(Item I)
public java.lang.String wikiFix(java.lang.String s, char[] newChars, boolean noSpaces)
public java.lang.String getAreaStuffLine(Room R, MOB mob, Environmental E, Environmental cE, com.planet_ink.coffee_mud.Commands.ListCmd.WikiFlag wiki, int col1, int roomNameCol, java.util.Set<java.lang.String> uniq, ShopKeeper SK, boolean shopOnly)
public java.lang.StringBuffer getAreaStuff(MOB mob, java.util.List<java.lang.String> commands, int start, java.util.Enumeration<Room> r)
public java.lang.StringBuilder roomTypes(MOB mob, java.util.Enumeration<Room> these, Room likeRoom, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder roomResources(Session viewerS, java.util.Vector<Room> these, Room likeRoom)
public java.lang.StringBuilder roomResources(Session viewerS, java.util.Enumeration<Room> these, Room likeRoom)
public java.lang.StringBuilder areaConquests(Session viewerS, java.util.Enumeration<Area> these)
protected void dumpThreadGroup(Session viewerS, java.lang.StringBuilder lines, java.lang.ThreadGroup tGroup, boolean ignoreZeroTickThreads, boolean extend)
protected java.lang.Thread findThread(java.lang.String name, java.lang.ThreadGroup tGroup, boolean ignoreZeroTickThreads)
public java.lang.StringBuilder listThreads(Session viewerS, MOB mob, boolean ignoreZeroTickThreads, boolean extend)
public java.lang.StringBuilder listThread(Session viewerS, MOB mob, java.lang.String threadname)
public void addScripts(DVector DV, Room R, ShopKeeper SK, MOB M, Item I, PhysicalAgent E)
public void addShopScripts(DVector DV, Room R, MOB M, Item I, Environmental E)
public java.lang.StringBuilder listScripts(Session viewerS, MOB mob, java.util.List<java.lang.String> cmds)
public java.lang.StringBuilder listLinkages(Session viewerS, MOB mob, java.lang.String rest)
public java.lang.StringBuilder journalList(MOB mob, Session viewerS, java.lang.String partialjournal, java.lang.String rest)
public void listUsers(Session viewerS, MOB mob, java.util.List<java.lang.String> commands)
public void listLoadedUsers(Session viewerS, MOB mob, java.util.List<java.lang.String> commands)
public void listAccounts(Session viewerS, MOB mob, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listRaces(Session viewerS, java.util.Enumeration<Race> these, java.lang.String rest)
public java.lang.StringBuilder listCharClasses(Session viewerS, java.util.Enumeration<CharClass> these, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listRaceCats(Session viewerS, java.util.Enumeration<Race> these, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listPostOffices(MOB mob, Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listBanks(MOB mob, Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listLibraries(MOB mob, Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listQuests(Session viewerS, java.lang.String rest)
public java.lang.StringBuilder listQuestNames(Session viewerS, java.lang.String rest)
public java.lang.StringBuilder listQuestWinners(Session viewerS, java.lang.String rest)
public java.lang.StringBuilder listJournals(Session viewerS)
public java.lang.StringBuilder listCommandJournals(Session viewerS)
protected java.lang.StringBuilder appendTick(int group, int tick, boolean activeOnly, java.lang.String mask, java.lang.String finalCol, int[] col, int[] COL)
public java.lang.StringBuilder listTicks(Session viewerS, java.lang.String whichGroupStr)
public java.lang.StringBuilder listSubOps(Session viewerS)
protected java.lang.String listOneWayDoors(Session viewerS, java.util.List<java.lang.String> commands)
protected java.lang.String listOrphans(Session viewerS, java.util.List<java.lang.String> commands)
protected java.lang.String listUnlinkedExits(Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.String getValue(java.lang.Object o, java.lang.String indention)
public java.lang.String listResources(MOB mob, java.lang.String parm)
public java.lang.String listHelpFileRequests(MOB mob, java.lang.String rest)
public java.lang.String listRecipes(MOB mob, java.lang.String rest)
public java.lang.String listMaterials()
public java.lang.String getSpaceObjectType(SpaceObject obj)
public java.lang.String listSpace(MOB mob, java.util.List<java.lang.String> commands)
public java.lang.String listExpired(MOB mob)
public java.lang.String listEnvResources(Session viewerS, java.lang.String rest)
public java.lang.String listMQL(MOB mob, boolean areaFlag, java.util.List<java.lang.String> commands)
public java.lang.String listCron(Session viewerS, java.lang.String rest)
public java.util.List<java.lang.String> getMyCmdWords(MOB mob)
public ListCmd.ListCmdEntry getMyCmd(MOB mob, java.lang.String s)
public ListCmd.ListCmdEntry getAnyCmd(MOB mob)
public java.lang.String listComponents(Session viewerS)
protected java.lang.String fixDisplayMask(java.lang.String mask)
public java.lang.String listExpertises(Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.String listSocials(Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.String listTitles(Session viewerS)
public java.lang.String listAutoAwards(Session viewerS)
public java.lang.String listAchievements(Session viewerS)
public java.lang.String listClanGovernments(Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.String listClans(Session viewerS, java.util.List<java.lang.String> commands)
public java.lang.StringBuilder listContent(MOB mob, java.util.List<java.lang.String> commands)
public void listPolls(MOB mob, java.util.List<java.lang.String> commands)
public void listLog(MOB mob, java.util.List<java.lang.String> commands)
public boolean pause(Session sess)
public void listNews(MOB mob, java.util.List<java.lang.String> commands)
public void listSql(MOB mob, java.lang.String rest)
public java.lang.Comparable<?> getAreaStatFromSomewhere(Area A, java.lang.String stat)
public void listCommands(MOB mob, java.util.List<java.lang.String> commands)
public void listManufacturers(MOB mob, java.util.List<java.lang.String> commands)
public void addEnumeratedStatCodes(java.util.Enumeration<? extends Modifiable> e, java.util.Set<java.lang.String> allKnownFields, java.lang.StringBuffer allFieldsMsg)
public void listStats(MOB mob, java.util.List<java.lang.String> commands)
public void listCurrents(MOB mob, java.util.List<java.lang.String> commands)
public void listShips(MOB mob, java.util.List<java.lang.String> commands)
public void listAbilities(MOB mob, Session s, java.util.List<java.lang.String> commands, java.lang.String title, int ofType)
public void listBehaviors(MOB mob, Session s, java.util.List<java.lang.String> commands, java.lang.String title)
public void listTimeZones(MOB mob, java.util.List<java.lang.String> commands, Filterer<Area> filter)
public void listAreas(MOB mob, java.util.List<java.lang.String> commands, Filterer<Area> filter)
public void listSessions(MOB mob, java.util.List<java.lang.String> commands)
public void archonlist(MOB mob, java.util.List<java.lang.String> commands)
public boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Command
execute
in interface Command
execute
in class StdCommand
mob
- the mob or player issueing the commandcommands
- usually the command words and parameters; a set of stringsmetaFlags
- flags denoting how the command is being executedjava.io.IOException
- usually means the player has dropped carrierCommand.actionsCost(MOB, List)
,
Command.securityCheck(MOB)
public double combatActionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Command
combatActionsCost
in interface Command
combatActionsCost
in class StdCommand
mob
- the mob executing the command, if anycmds
- the parameters to be passed to the command, if anyCommand.actionsCost(MOB, List)
,
Command.checkedActionsCost(MOB, List)
public double actionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Command
actionsCost
in interface Command
actionsCost
in class StdCommand
mob
- the mob executing the command, if anycmds
- the parameters to be passed to the command, if anyCommand.combatActionsCost(MOB, List)
,
Command.checkedActionsCost(MOB, List)
public boolean canBeOrdered()
Command
canBeOrdered
in interface Command
canBeOrdered
in class StdCommand