Achievable, java.lang.Cloneable, CMCommon, CMObject, java.lang.Comparable<CMObject>PlayerAccount, PlayerStatsDefaultPlayerAccount, DefaultPlayerStatspublic interface AccountStats extends CMCommon, Achievable
| Modifier and Type | Interface | Description | 
|---|---|---|
static class  | 
AccountStats.Agent | 
 A simple enum for picking between a player and an account 
 | 
static class  | 
AccountStats.PrideStat | 
 The recorded player and account statistics. 
 | 
idConverter| Modifier and Type | Method | Description | 
|---|---|---|
void | 
bumpPrideStat(AccountStats.PrideStat stat,
             int amt) | 
 Add to one of the pride stats for this player or 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) 
 | 
int | 
getBonusCharStatPoints() | 
 Returns the number of bonus char stat points to assign to stats
 during character creation. 
 | 
int | 
getBonusCommonSkillLimits() | 
 Returns the number of bonus common skills available to
 this character. 
 | 
int | 
getBonusCraftingSkillLimits() | 
 Returns the number of bonus Crafting skills available to
 this character. 
 | 
int | 
getBonusLanguageLimits() | 
 Returns the number of bonus Language skills available to
 this character. 
 | 
int | 
getBonusNonCraftingSkillLimits() | 
 Returns the number of bonus Gathering skills available to
 this character. 
 | 
java.lang.String | 
getEmail() | 
 Returns the players email address, if available. 
 | 
java.util.Set<java.lang.String> | 
getFriends() | 
 Returns a modifiable Set that contains the set of player
 Names that constitutes this players friends. 
 | 
java.util.Set<java.lang.String> | 
getIgnored() | 
 Returns a modifiable Set that contains the set of player
 Names that constitutes this players ignored player list. 
 | 
long | 
getLastDateTime() | 
 The time, in milis since 1970, that the player last logged off. 
 | 
java.lang.String | 
getLastIP() | 
 The last IP address this player logged in from. 
 | 
long | 
getLastUpdated() | 
 The time, in milis since 1970, that the player was last saved. 
 | 
java.lang.String | 
getNotes() | 
 Returns the administrative notes entered about this player. 
 | 
java.lang.String | 
getPasswordStr() | 
 Returns the players password, perhaps encoded, perhaps plain text. 
 | 
int | 
getPrideStat(TimeClock.TimePeriod period,
            AccountStats.PrideStat stat) | 
 Get one of the pride stats for this player or account 
 | 
java.util.Set<java.lang.String> | 
getSubscriptions() | 
 Returns a modifiable Set that contains the set of journal
 subscriptions, normalized to uppercase, that the player
 has subscribed to and wishes to get notifications about. 
 | 
java.lang.String | 
getXML() | 
 Returns an XML representation of all the data in this object, for
 persistent storage. 
 | 
boolean | 
isIgnored(MOB mob) | 
 Returns whether the given player is being ignored. 
 | 
boolean | 
isIgnored(java.lang.String name) | 
 Returns whether the given player name is being ignored. 
 | 
boolean | 
matchesPassword(java.lang.String str) | 
 Returns the players password, perhaps encoded, perhaps plain text. 
 | 
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 | 
setBonusCharStatPoints(int bonus) | 
 Sets the number of bonus char stat points to assign to stats
 during character creation. 
 | 
void | 
setBonusCommonSkillLimits(int bonus) | 
 Sets the number of bonus common skills available to
 this character. 
 | 
void | 
setBonusCraftingSkillLimits(int bonus) | 
 Sets the number of bonus Crafting skills available to
 this character. 
 | 
void | 
setBonusLanguageLimits(int bonus) | 
 Sets the number of bonus Language skills available to
 this character. 
 | 
void | 
setBonusNonCraftingSkillLimits(int bonus) | 
 Sets the number of bonus Gathering skills available to
 this character. 
 | 
void | 
setEmail(java.lang.String newAdd) | 
 Sets the players email address, if available. 
 | 
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 | 
setNotes(java.lang.String newnotes) | 
 Sets the administrative notes entered about this player. 
 | 
void | 
setPassword(java.lang.String newPassword) | 
 Sets the players password. 
 | 
void | 
setXML(java.lang.String str) | 
 Restores the data in this object from an XML document. 
 | 
getAchievementTracker, killAchievementTracker, rebuildAchievementTrackercopyOf, ID, initializeClass, name, newInstancejava.lang.String getEmail()
setEmail(String)void setEmail(java.lang.String newAdd)
newAdd - the players email address, if available.getEmail()long getLastDateTime()
setLastDateTime(long)void setLastDateTime(long C)
C - the time, in milis since 1970, that the player last logged off.getLastDateTime()long getLastUpdated()
setLastUpdated(long)void setLastUpdated(long time)
time - the time, in milis since 1970, that the player was last saved.getLastUpdated()java.lang.String getPasswordStr()
setPassword(String), 
matchesPassword(String)boolean matchesPassword(java.lang.String str)
str - the password to compare reality tosetPassword(String), 
getPasswordStr()void setPassword(java.lang.String newPassword)
newPassword - the players password.getPasswordStr(), 
matchesPassword(String)java.lang.String getLastIP()
setLastIP(String)void setLastIP(java.lang.String ip)
ip - the last IP address this player logged in from.getLastIP()long getAccountExpiration()
setAccountExpiration(long)void setAccountExpiration(long newVal)
newVal - the time, in milis, that this player expires.getAccountExpiration()java.lang.String getNotes()
setNotes(String)void setNotes(java.lang.String newnotes)
newnotes - the administrative notes entered about this player.getNotes()int getBonusCharStatPoints()
setBonusCharStatPoints(int)void setBonusCharStatPoints(int bonus)
bonus - the number of bonus charstat pointsgetBonusCharStatPoints()int getBonusCommonSkillLimits()
setBonusCommonSkillLimits(int)void setBonusCommonSkillLimits(int bonus)
bonus - the number of bonus Common pointsgetBonusCommonSkillLimits()int getBonusCraftingSkillLimits()
setBonusCraftingSkillLimits(int)void setBonusCraftingSkillLimits(int bonus)
bonus - the number of bonus Crafting pointsgetBonusCraftingSkillLimits()int getBonusNonCraftingSkillLimits()
setBonusNonCraftingSkillLimits(int)void setBonusNonCraftingSkillLimits(int bonus)
bonus - the number of bonus Gathering pointsgetBonusNonCraftingSkillLimits()int getBonusLanguageLimits()
setBonusLanguageLimits(int)void setBonusLanguageLimits(int bonus)
bonus - the number of bonus Language pointsgetBonusLanguageLimits()java.util.Set<java.lang.String> getSubscriptions()
java.util.Set<java.lang.String> getFriends()
java.util.Set<java.lang.String> getIgnored()
isIgnored(String), 
isIgnored(MOB)boolean isIgnored(MOB mob)
mob - the mob to checkgetIgnored(), 
isIgnored(String)boolean isIgnored(java.lang.String name)
name - the name to checkgetIgnored(), 
isIgnored(MOB)void bumpPrideStat(AccountStats.PrideStat stat, int amt)
stat - which pride stat to add toamt - the amount to addAccountStats.PrideStatint getPrideStat(TimeClock.TimePeriod period, AccountStats.PrideStat stat)
period - the time period to get the number forstat - which pride stat to getAccountStats.PrideStatjava.lang.String getXML()
setXML(String)void setXML(java.lang.String str)
str - an XML representation of all the data in this objectgetXML()