|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Common.DefaultPlayerStats
public class DefaultPlayerStats
| Field Summary | |
|---|---|
protected PlayerAccount |
account
|
protected long |
accountExpiration
|
protected STreeMap<java.lang.String,java.lang.String> |
alias
|
protected java.lang.String |
announceMsg
|
protected int[] |
birthday
|
protected int |
channelMask
|
protected static java.lang.String[] |
CODES
|
protected java.lang.String |
colorStr
|
protected java.lang.String |
email
|
protected SHashSet<java.lang.String> |
friends
|
protected static int |
GTELL_STACK_MAX_SIZE
|
protected SVector<java.lang.String> |
gtellStack
|
protected long |
hygiene
|
protected SHashSet<java.lang.String> |
ignored
|
protected SHashSet<java.lang.String> |
introductions
|
protected java.lang.String |
lastIP
|
protected long |
lastUpdated
|
protected DVector |
levelInfo
|
protected long |
lLastDateTime
|
protected java.lang.String |
notes
|
protected int |
pageBreak
|
protected java.lang.String |
password
|
protected java.lang.String |
poofin
|
protected java.lang.String |
poofout
|
protected java.lang.String |
prompt
|
protected long |
replyTime
|
protected MOB |
replyTo
|
protected int |
replyType
|
protected java.lang.String |
savedPose
|
protected SVector<java.lang.String> |
securityGroups
|
protected static int |
TELL_STACK_MAX_SIZE
|
protected SVector<java.lang.String> |
tellStack
|
protected SVector<java.lang.String> |
titles
|
protected java.lang.String |
tranpoofin
|
protected java.lang.String |
tranpoofout
|
protected RoomnumberSet |
visitedRoomSet
|
protected int |
wrap
|
protected java.lang.String[] |
xtraValues
|
| Fields inherited from interface com.planet_ink.coffee_mud.Common.interfaces.PlayerStats |
|---|
HYGIENE_COMMONDIRTY, HYGIENE_DELIMIT, HYGIENE_FIGHTDIRTY, HYGIENE_WATERCLEAN, REPLY_SAY, REPLY_TELL, REPLY_YELL |
| Constructor Summary | |
|---|---|
DefaultPlayerStats()
|
|
| Method Summary | |
|---|---|
void |
addAliasName(java.lang.String named)
Adds a new alias command for this player, undefined at first. |
void |
addGTellStack(java.lang.String msg)
Adds a new string message to the gtell stack. |
void |
addRoomVisit(Room R)
Records the fact that this player has been to the given room. |
void |
addTellStack(java.lang.String msg)
Adds a new string message to the tell stack. |
boolean |
adjHygiene(long byThisMuch)
Modifies, up or down, how stinky this player is. |
java.lang.String |
announceMessage()
For players with the ANNOUNCE command, this is the message used to prefix the announcements proclaimed. |
int |
compareTo(CMObject o)
|
CMObject |
copyOf()
Similar to Cloneable.clone(), but does its best to make sure that any internal objects to this class are also copyOfed. |
void |
delAliasName(java.lang.String named)
Removes an old alias command for this player. |
PlayerAccount |
getAccount()
If the ACCOUNTSYSTEM is used, this will access the account object that is shared by all players of this account. |
long |
getAccountExpiration()
If the ACCOUNT system is used, this returns the time, in milis since 1970, that this account will expire (meaning the player will no longer be able to log in) |
java.lang.String |
getActiveTitle()
Returns which of the player available titles is currently being used by this player. |
java.lang.String |
getAlias(java.lang.String named)
Returns the definition of the given alias command for this player. |
java.lang.String[] |
getAliasNames()
Returns the string array set of defined alias commands for this player. |
java.lang.String |
getAliasXML()
|
int[] |
getBirthday()
Returns a 2-dimensional integer array with the players birth day and month (in mud calendar) |
int |
getChannelMask()
Returns a bitmask of channels turned on/off. |
protected int |
getCodeNum(java.lang.String code)
|
java.lang.String |
getColorStr()
Returns a custom coded string detailing the changes to the official color code that apply to this player only. |
java.lang.String |
getEmail()
Returns the players email address, if available. |
java.util.Set<java.lang.String> |
getFriends()
Returns a modifiable HashSet that contains the set of player Names that constitutes this players friends. |
java.util.List<java.lang.String> |
getGTellStack()
Returns a List of the last few string messages sent and received to and from this players group. |
SHashSet<java.lang.String> |
getHashFrom(java.lang.String str)
|
long |
getHygiene()
Returns a long value of how stinky this player is. |
java.util.Set<java.lang.String> |
getIgnored()
Returns a modifiable HashSet that contains the set of player Names that constitutes this players ignored player list. |
int |
getPageBreak()
Returns the page break row for this player, or 0. |
protected java.lang.String |
getPrivateList(java.util.Set<java.lang.String> h)
|
java.lang.String |
getPrompt()
Returns the custom prompt, an encoded string, for this player. |
java.lang.String |
getSavedPose()
Gets the saved pose string for players. |
int |
getSaveStatIndex()
Returns the index into the stat codes array where extra savable fields begins. |
java.util.List<java.lang.String> |
getSecurityGroups()
Returns a modifiable Vector of security flags and groups strings to which this player is privileged. |
protected java.lang.String |
getSecurityGroupStr()
|
java.lang.String |
getStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String[] |
getStatCodes()
Returns an array of the string names of those fields which are modifiable on this object at run-time by builders. |
java.util.List<java.lang.String> |
getTellStack()
Returns a List of the last few string messages sent and received to and from this player. |
java.util.List<java.lang.String> |
getTitles()
Returns a Vector of modifiable title definitions. |
java.lang.String |
getTitleXML()
|
int |
getWrap()
Returns the word wrap column number for this player, or 0. |
java.lang.String |
getXML()
Returns an XML representation of all the data in this object, for persistant storage. |
boolean |
hasVisited(Area A)
Returns whether this player has visited the given area. |
boolean |
hasVisited(Room R)
Returns whether this player has visited the given room. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
int |
initializeBirthday(int ageHours,
Race R)
When a player is first created, this method is used to either initialize their birthday, or derive their birthday based on the number of hours they've played. |
void |
initializeClass()
Called ONCE after all objects are loaded, but before the map is read in during initialization. |
void |
introduceTo(java.lang.String name)
If the INTRODUCTIONSYSTEM is used, this notifys the system that this player has met the player of the given name. |
boolean |
isIntroducedTo(java.lang.String name)
If the INTRODUCTIONSYSTEM is used, this returns true if the player has been introduced to the other player of the given name. |
boolean |
isStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
long |
lastDateTime()
The time, in milis since 1970, that the player last logged off. |
java.lang.String |
lastIP()
The last IP address this player logged in from. |
long |
lastUpdated()
The time, in milis since 1970, that the player was last saved. |
long |
leveledDateTime(int level)
The time, in milis since 1970, that the player gained the given level |
CMObject |
newInstance()
Returns a new instance of this class. |
java.lang.String |
notes()
Returns the administrative notes entered about this player. |
java.lang.String |
password()
Returns the players password. |
int |
percentVisited(MOB mob,
Area A)
Returns the percentage (0-100) of the given area that the given player has explored. |
java.lang.String |
poofIn()
For player with the GOTO command, this is the message seen by all when the player arrives from using GOTO. |
java.lang.String |
poofOut()
For player with the GOTO command, this is the message seen by all when the player leaves using GOTO. |
long |
replyTime()
Returns the last time, in millis since 1970, that a player last sent this playe a private message. |
MOB |
replyTo()
Returns the last MOB player who sent this player a private instant message. |
int |
replyType()
Returns the type of private message last sent to this player, an encoded constant. |
boolean |
sameAs(PlayerStats E)
Whether this object instance is functionally identical to the object passed in. |
void |
setAccount(PlayerAccount account)
If the ACCOUNTSYSTEM is used, this will allow you to set the account object that is shared by all players of this account. |
void |
setAccountExpiration(long newVal)
If the ACCOUNT system is used, this sets the time, in milis since 1970, that this account will expire (meaning the player will no longer be able to log in) |
void |
setAlias(java.lang.String named,
java.lang.String value)
Modifies the commands executed by an existing alias command. |
void |
setAnnounceMessage(java.lang.String msg)
For players with the ANNOUNCE command, this sets the message used to prefix the announcements proclaimed. |
void |
setChannelMask(int newMask)
Sets the bitmask of channels turned on/off. |
void |
setColorStr(java.lang.String newColors)
Sets a custom coded string detailing the changes to the official color code that apply to this player only. |
void |
setEmail(java.lang.String newAdd)
Sets the players email address, if available. |
void |
setHygiene(long newVal)
Sets the number meaning how stinky this player is. |
void |
setLastDateTime(long C)
Sets the time, in milis since 1970, that the player last logged off. |
void |
setLastIP(java.lang.String ip)
Sets the last IP address this player logged in from. |
void |
setLastUpdated(long time)
Sets the time, in milis since 1970, that the player was last saved. |
void |
setLeveledDateTime(int level,
Room R)
Notifies the player records that, at the moment this method was called, the player gained the given level. |
void |
setNotes(java.lang.String newnotes)
Sets the administrative notes entered about this player. |
void |
setPageBreak(int newBreak)
Sets the page break row for this player, or 0. |
void |
setPassword(java.lang.String newPassword)
Sets the players password. |
void |
setPoofs(java.lang.String poofIn,
java.lang.String poofOut,
java.lang.String tranPoofIn,
java.lang.String tranPoofOut)
For players with either the GOTO or TRANSFER command, this will set the various messages seen when coming and going using either of those commands. |
void |
setPrompt(java.lang.String newPrompt)
Sets the custom prompt, an encoded string, for this player. |
void |
setReplyTo(MOB mob,
int replyType)
Sets the last MOB player who sent this player a private instant message, and some information about that tell (a defined constant). |
void |
setSavedPose(java.lang.String msg)
Sets the saved pose string for players. |
protected void |
setSecurityGroupStr(java.lang.String grps)
|
void |
setStat(java.lang.String code,
java.lang.String val)
An alternative means of setting the values of those fields on this object which are modifiable at run-time by builders. |
void |
setWrap(int newWrap)
Sets the word wrap column number for this player, or 0. |
void |
setXML(java.lang.String str)
Restores the data in this object from an XML document. |
java.lang.String |
tranPoofIn()
For player with the TRANSFER command, this is the message seen by all when the player arrives from using TRANSFER. |
java.lang.String |
tranPoofOut()
For player with the TRANSFER command, this is the message seen by all when the player leaves using TRANSFER. |
void |
unVisit(Area A)
Deletes the visitation record for all rooms in the given area. |
void |
unVisit(Room R)
Deletes the visitation record for the given room |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int TELL_STACK_MAX_SIZE
protected static final int GTELL_STACK_MAX_SIZE
protected long hygiene
protected java.lang.String[] xtraValues
protected java.lang.String lastIP
protected long lLastDateTime
protected long lastUpdated
protected int channelMask
protected java.lang.String email
protected java.lang.String password
protected java.lang.String colorStr
protected java.lang.String prompt
protected java.lang.String poofin
protected java.lang.String poofout
protected java.lang.String tranpoofin
protected java.lang.String tranpoofout
protected java.lang.String announceMsg
protected java.lang.String savedPose
protected java.lang.String notes
protected int wrap
protected int pageBreak
protected int[] birthday
protected MOB replyTo
protected int replyType
protected long replyTime
protected PlayerAccount account
protected SHashSet<java.lang.String> friends
protected SHashSet<java.lang.String> ignored
protected SVector<java.lang.String> tellStack
protected SVector<java.lang.String> gtellStack
protected SVector<java.lang.String> titles
protected STreeMap<java.lang.String,java.lang.String> alias
protected SVector<java.lang.String> securityGroups
protected long accountExpiration
protected RoomnumberSet visitedRoomSet
protected DVector levelInfo
protected SHashSet<java.lang.String> introductions
protected static java.lang.String[] CODES
| Constructor Detail |
|---|
public DefaultPlayerStats()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectpublic java.lang.String getStat(java.lang.String code)
Modifiable
getStat in interface Modifiablecode - the name of the field to read.
Modifiable.getStatCodes()
public void setStat(java.lang.String code,
java.lang.String val)
Modifiable
setStat in interface Modifiablecode - the name of the field to setval - the value to set the field toModifiable.getStatCodes()public int getSaveStatIndex()
Modifiable
getSaveStatIndex in interface ModifiableModifiable.getStatCodes(),
Modifiable.getStat(String),
Modifiable.setStat(String, String)public java.lang.String[] getStatCodes()
Modifiable
getStatCodes in interface ModifiableModifiable.getStat(String),
Modifiable.setStat(String, String)public boolean isStat(java.lang.String code)
Modifiable
isStat in interface Modifiablecode - the name of the field to read.
Modifiable.getStatCodes()protected int getCodeNum(java.lang.String code)
public boolean sameAs(PlayerStats E)
PlayerStats
sameAs in interface PlayerStatsE - the object to compare this one to
Modifiable.getStatCodes(),
Modifiable.getStat(String)public CMObject newInstance()
CMObject
newInstance in interface CMObjectpublic void initializeClass()
CMObject
initializeClass in interface CMObjectpublic CMObject copyOf()
CMObject
copyOf in interface CMObjectpublic java.lang.String lastIP()
AccountStats
lastIP in interface AccountStatsAccountStats.setLastIP(String)public void setLastIP(java.lang.String ip)
AccountStats
setLastIP in interface AccountStatsip - the last IP address this player logged in from.AccountStats.lastIP()public java.lang.String getEmail()
AccountStats
getEmail in interface AccountStatsAccountStats.setEmail(String)public void setEmail(java.lang.String newAdd)
AccountStats
setEmail in interface AccountStatsnewAdd - the players email address, if available.AccountStats.getEmail()public long lastUpdated()
PlayerStats
lastUpdated in interface AccountStatslastUpdated in interface PlayerStatsPlayerStats.setLastUpdated(long)public void setLastUpdated(long time)
PlayerStats
setLastUpdated in interface AccountStatssetLastUpdated in interface PlayerStatstime - the time, in milis since 1970, that the player was last saved.PlayerStats.lastUpdated()public long lastDateTime()
AccountStats
lastDateTime in interface AccountStatsAccountStats.setLastDateTime(long)public void setLastDateTime(long C)
AccountStats
setLastDateTime in interface AccountStatsC - the time, in milis since 1970, that the player last logged off.AccountStats.lastDateTime()public java.lang.String password()
AccountStats
password in interface AccountStatsAccountStats.setPassword(String)public void setPassword(java.lang.String newPassword)
AccountStats
setPassword in interface AccountStatsnewPassword - the players password.AccountStats.password()public int getWrap()
PlayerStats
getWrap in interface PlayerStatsPlayerStats.setWrap(int)public void setWrap(int newWrap)
PlayerStats
setWrap in interface PlayerStatsnewWrap - the word wrap column number for this player, or 0.PlayerStats.getWrap()public int getPageBreak()
PlayerStats
getPageBreak in interface PlayerStatsPlayerStats.setPageBreak(int)public void setPageBreak(int newBreak)
PlayerStats
setPageBreak in interface PlayerStatsnewBreak - the page break row for this player, or 0.PlayerStats.getPageBreak()public java.lang.String notes()
AccountStats
notes in interface AccountStatsAccountStats.setNotes(String)public void setNotes(java.lang.String newnotes)
AccountStats
setNotes in interface AccountStatsnewnotes - the administrative notes entered about this player.AccountStats.notes()public void setChannelMask(int newMask)
PlayerStats
setChannelMask in interface PlayerStatsnewMask - the bitmask of channels turned on/off. (1=off)PlayerStats.setChannelMask(int)public int getChannelMask()
PlayerStats
getChannelMask in interface PlayerStatsPlayerStats.setChannelMask(int)public MOB replyTo()
PlayerStats
replyTo in interface PlayerStatsPlayerStats.setReplyTo(MOB, int),
PlayerStats.replyType(),
PlayerStats.replyTime()public int replyType()
PlayerStats
replyType in interface PlayerStatsPlayerStats.setReplyTo(MOB, int),
PlayerStats.replyTo(),
PlayerStats.replyTime(),
PlayerStats.REPLY_SAY,
PlayerStats.REPLY_TELL,
PlayerStats.REPLY_YELLpublic long replyTime()
PlayerStats
replyTime in interface PlayerStatsPlayerStats.setReplyTo(MOB, int),
PlayerStats.replyTo(),
PlayerStats.replyType()
public void setReplyTo(MOB mob,
int replyType)
PlayerStats
setReplyTo in interface PlayerStatsmob - the last MOB player who sent this player a private instant message.replyType - the type ofPlayerStats.replyTo(),
PlayerStats.replyType(),
PlayerStats.replyTime(),
PlayerStats.REPLY_SAY,
PlayerStats.REPLY_TELL,
PlayerStats.REPLY_YELLpublic void setPrompt(java.lang.String newPrompt)
PlayerStats
setPrompt in interface PlayerStatsnewPrompt - the custom prompt, an encoded string, or ""PlayerStats.getPrompt()public java.lang.String getColorStr()
PlayerStats
getColorStr in interface PlayerStatsPlayerStats.setColorStr(String)public void setColorStr(java.lang.String newColors)
PlayerStats
setColorStr in interface PlayerStatsnewColors - a custom coded color stringPlayerStats.getColorStr()public java.lang.String announceMessage()
PlayerStats
announceMessage in interface PlayerStatsPlayerStats.setAnnounceMessage(String)public void setAnnounceMessage(java.lang.String msg)
PlayerStats
setAnnounceMessage in interface PlayerStatsmsg - prefix to announcementsPlayerStats.announceMessage()public java.lang.String getSavedPose()
PlayerStats
getSavedPose in interface PlayerStatsPlayerStats.setSavedPose(String)public void setSavedPose(java.lang.String msg)
PlayerStats
setSavedPose in interface PlayerStatsmsg - a saved pose stringPlayerStats.getSavedPose()public java.lang.String getPrompt()
PlayerStats
getPrompt in interface PlayerStatsPlayerStats.setPrompt(String)public boolean isIntroducedTo(java.lang.String name)
PlayerStats
isIntroducedTo in interface PlayerStatsname - the name of the other player
PlayerStats.introduceTo(String)public void introduceTo(java.lang.String name)
PlayerStats
introduceTo in interface PlayerStatsname - the player whom this player just met.PlayerStats.isIntroducedTo(String)public SHashSet<java.lang.String> getHashFrom(java.lang.String str)
public void addTellStack(java.lang.String msg)
PlayerStats
addTellStack in interface PlayerStatsmsg - the new message for the tell stack.PlayerStats.getTellStack()public java.util.List<java.lang.String> getTellStack()
PlayerStats
getTellStack in interface PlayerStatsPlayerStats.addTellStack(String)public void addGTellStack(java.lang.String msg)
PlayerStats
addGTellStack in interface PlayerStatsmsg - the new message for the gtell stack.PlayerStats.getGTellStack()public java.util.List<java.lang.String> getGTellStack()
PlayerStats
getGTellStack in interface PlayerStatsPlayerStats.addGTellStack(String)public java.util.Set<java.lang.String> getFriends()
AccountStats
getFriends in interface AccountStatspublic java.util.Set<java.lang.String> getIgnored()
AccountStats
getIgnored in interface AccountStatspublic java.lang.String[] getAliasNames()
PlayerStats
getAliasNames in interface PlayerStatsPlayerStats.getAlias(String),
PlayerStats.addAliasName(String),
PlayerStats.delAliasName(String),
PlayerStats.setAlias(String, String)public java.lang.String getAlias(java.lang.String named)
PlayerStats
getAlias in interface PlayerStatsnamed - the alias command to get the definition of
PlayerStats.getAliasNames(),
PlayerStats.addAliasName(String),
PlayerStats.delAliasName(String),
PlayerStats.setAlias(String, String)public void addAliasName(java.lang.String named)
PlayerStats
addAliasName in interface PlayerStatsnamed - the name of the alias command to addPlayerStats.getAliasNames(),
PlayerStats.getAlias(String),
PlayerStats.delAliasName(String),
PlayerStats.setAlias(String, String)public void delAliasName(java.lang.String named)
PlayerStats
delAliasName in interface PlayerStatsnamed - the name of the alias command to deletePlayerStats.getAliasNames(),
PlayerStats.getAlias(String),
PlayerStats.addAliasName(String),
PlayerStats.setAlias(String, String)
public void setAlias(java.lang.String named,
java.lang.String value)
PlayerStats
setAlias in interface PlayerStatsnamed - the alias command to modifyvalue - the new command(s) to executePlayerStats.getAliasNames(),
PlayerStats.getAlias(String),
PlayerStats.addAliasName(String),
PlayerStats.delAliasName(String)public java.lang.String getAliasXML()
public java.lang.String getActiveTitle()
PlayerStats
getActiveTitle in interface PlayerStatsPlayerStats.getTitles()public java.util.List<java.lang.String> getTitles()
PlayerStats
getTitles in interface PlayerStatsPlayerStats.getActiveTitle()public java.lang.String getTitleXML()
public java.lang.String poofIn()
PlayerStats
poofIn in interface PlayerStatsPlayerStats.poofOut(),
PlayerStats.setPoofs(String, String, String, String)public java.lang.String poofOut()
PlayerStats
poofOut in interface PlayerStatsPlayerStats.poofIn(),
PlayerStats.setPoofs(String, String, String, String)public java.lang.String tranPoofIn()
PlayerStats
tranPoofIn in interface PlayerStatsPlayerStats.tranPoofOut(),
PlayerStats.setPoofs(String, String, String, String)public java.lang.String tranPoofOut()
PlayerStats
tranPoofOut in interface PlayerStatsPlayerStats.tranPoofIn(),
PlayerStats.setPoofs(String, String, String, String)public int[] getBirthday()
PlayerStats
getBirthday in interface PlayerStatsPlayerStats.initializeBirthday(int, Race)
public int initializeBirthday(int ageHours,
Race R)
PlayerStats
initializeBirthday in interface PlayerStatsageHours - the number of hours the player playedR - the players Race
PlayerStats.getBirthday(),
MOB.getAgeHours(),
Raceprotected java.lang.String getPrivateList(java.util.Set<java.lang.String> h)
public java.lang.String getXML()
AccountStats
getXML in interface AccountStatsAccountStats.setXML(String)public void setXML(java.lang.String str)
AccountStats
setXML in interface AccountStatsstr - an XML representation of all the data in this objectAccountStats.getXML()protected void setSecurityGroupStr(java.lang.String grps)
protected java.lang.String getSecurityGroupStr()
public java.util.List<java.lang.String> getSecurityGroups()
PlayerStats
getSecurityGroups in interface PlayerStats
public void setPoofs(java.lang.String poofIn,
java.lang.String poofOut,
java.lang.String tranPoofIn,
java.lang.String tranPoofOut)
PlayerStats
setPoofs in interface PlayerStatspoofIn - the msg seen when entering a room using GOTOpoofOut - the msg seen when leaving a room using TRANSFERtranPoofIn - the msg seen when entering a room using GOTOtranPoofOut - the msg seen when leaving a room using TRANSFERPlayerStats.tranPoofIn(),
PlayerStats.tranPoofOut(),
PlayerStats.poofIn(),
PlayerStats.poofOut()public long getHygiene()
PlayerStats
getHygiene in interface PlayerStatsPlayerStats.adjHygiene(long),
PlayerStats.setHygiene(long),
PlayerStats.HYGIENE_DELIMITpublic void setHygiene(long newVal)
PlayerStats
setHygiene in interface PlayerStatsnewVal - how stinky this player is.PlayerStats.getHygiene(),
PlayerStats.adjHygiene(long),
PlayerStats.HYGIENE_DELIMITpublic boolean adjHygiene(long byThisMuch)
PlayerStats
adjHygiene in interface PlayerStatsbyThisMuch - an amount to adjust the stinkiness by.
PlayerStats.getHygiene(),
PlayerStats.setHygiene(long),
PlayerStats.HYGIENE_COMMONDIRTY,
PlayerStats.HYGIENE_FIGHTDIRTY,
PlayerStats.HYGIENE_WATERCLEAN,
PlayerStats.HYGIENE_DELIMITpublic long getAccountExpiration()
AccountStats
getAccountExpiration in interface AccountStatsAccountStats.setAccountExpiration(long)public void setAccountExpiration(long newVal)
AccountStats
setAccountExpiration in interface AccountStatsnewVal - the time, in milis, that this player expires.AccountStats.getAccountExpiration()public void addRoomVisit(Room R)
PlayerStats
addRoomVisit in interface PlayerStatsR - the room to credit the player withPlayerStats.hasVisited(Room),
PlayerStats.hasVisited(Area),
PlayerStats.percentVisited(MOB, Area),
PlayerStats.unVisit(Room),
PlayerStats.unVisit(Area)public boolean hasVisited(Room R)
PlayerStats
hasVisited in interface PlayerStatsR - the room to check and see whether the player has been there.
PlayerStats.hasVisited(Area),
PlayerStats.percentVisited(MOB, Area),
PlayerStats.addRoomVisit(Room),
PlayerStats.unVisit(Room),
PlayerStats.unVisit(Area)public boolean hasVisited(Area A)
PlayerStats
hasVisited in interface PlayerStatsA - the area to check
PlayerStats.hasVisited(Room),
PlayerStats.percentVisited(MOB, Area),
PlayerStats.addRoomVisit(Room),
PlayerStats.unVisit(Room),
PlayerStats.unVisit(Area)public void unVisit(Room R)
PlayerStats
unVisit in interface PlayerStatsR - the room to removePlayerStats.hasVisited(Room),
PlayerStats.hasVisited(Area),
PlayerStats.percentVisited(MOB, Area),
PlayerStats.unVisit(Area)public void unVisit(Area A)
PlayerStats
unVisit in interface PlayerStatsA - area of rooms to removePlayerStats.hasVisited(Room),
PlayerStats.hasVisited(Area),
PlayerStats.percentVisited(MOB, Area),
PlayerStats.unVisit(Room)
public int percentVisited(MOB mob,
Area A)
PlayerStats
percentVisited in interface PlayerStatsmob - the player of these statsA - the Area to check
PlayerStats.hasVisited(Room),
PlayerStats.hasVisited(Area),
PlayerStats.addRoomVisit(Room),
PlayerStats.unVisit(Room),
PlayerStats.unVisit(Area)public long leveledDateTime(int level)
PlayerStats
leveledDateTime in interface PlayerStatslevel - the level to check for
PlayerStats.setLeveledDateTime(int, Room)
public void setLeveledDateTime(int level,
Room R)
PlayerStats
setLeveledDateTime in interface PlayerStatslevel - the level to set upR - the room in which the level was gainedPlayerStats.leveledDateTime(int)public PlayerAccount getAccount()
PlayerStats
getAccount in interface PlayerStatspublic void setAccount(PlayerAccount account)
PlayerStats
setAccount in interface PlayerStatsaccount - the account objectpublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||