public class CalendarCmd extends StdCommand
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
CalendarCmd.CalCmd |
| Modifier and Type | Field | Description |
|---|---|---|
protected static java.util.Comparator<JournalEntry> |
calendarSort |
|
protected static java.lang.String[] |
rlPrefixes |
idConverterID, noCoinFilter| Constructor | Description |
|---|---|
CalendarCmd() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canBeOrdered() |
Whether a group leader or charmer can order their followers
to do this command.
|
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.
|
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.
|
protected java.util.List<JournalEntry> |
getCalendarByExpirationRange(MOB whoM,
long fromTm,
long toTm) |
|
protected java.util.List<JournalEntry> |
getCalendarByStartRange(MOB whoM,
long fromTm,
long toTm) |
|
protected java.util.List<JournalEntry> |
getCalendarByTimeStamps(MOB whoM,
long fromTm,
long toTm) |
|
java.lang.String |
getEvents(MOB M,
java.util.List<JournalEntry> entries) |
|
protected java.util.List<JournalEntry> |
getGlobalCalendarByExpirationRange(long fromTm,
long toTm) |
|
protected java.util.List<JournalEntry> |
getGlobalCalendarByStartRange(long fromTm,
long toTm) |
|
protected java.util.List<JournalEntry> |
getGlobalCalendarByTimeStamps(long fromTm,
long toTm) |
|
long |
getMillis(MOB mob,
TimeClock.TimePeriod P,
boolean rl) |
|
protected TimeClock.TimePeriod |
getTimePeriod(java.lang.String period,
boolean[] rl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionsCost, canBeCancelled, checkArguments, checkedActionsCost, combatActionsCost, compareTo, copyOf, executeInternal, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlist, securityCheckprotected static final java.lang.String[] rlPrefixes
protected static final java.util.Comparator<JournalEntry> calendarSort
public java.lang.String[] getAccessWords()
CommandgetAccessWords in interface CommandgetAccessWords in class StdCommandprotected java.util.List<JournalEntry> getGlobalCalendarByStartRange(long fromTm, long toTm)
protected java.util.List<JournalEntry> getGlobalCalendarByExpirationRange(long fromTm, long toTm)
protected java.util.List<JournalEntry> getGlobalCalendarByTimeStamps(long fromTm, long toTm)
protected java.util.List<JournalEntry> getCalendarByStartRange(MOB whoM, long fromTm, long toTm)
protected java.util.List<JournalEntry> getCalendarByExpirationRange(MOB whoM, long fromTm, long toTm)
protected java.util.List<JournalEntry> getCalendarByTimeStamps(MOB whoM, long fromTm, long toTm)
protected TimeClock.TimePeriod getTimePeriod(java.lang.String period, boolean[] rl)
public long getMillis(MOB mob, TimeClock.TimePeriod P, boolean rl)
public java.lang.String getEvents(MOB M, java.util.List<JournalEntry> entries)
public boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Commandexecute in interface Commandexecute in class StdCommandmob - 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 boolean canBeOrdered()
CommandcanBeOrdered in interface CommandcanBeOrdered in class StdCommand