|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AccountStats
An interface for a base player account. Shared by PlayerAccount and PlayerStats (since the account system is optional)
| Method Summary | |
|---|---|
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 |
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.Set<java.lang.String> |
getIgnored()
Returns a modifiable HashSet that contains the set of player Names that constitutes this players ignored player list. |
java.lang.String |
getXML()
Returns an XML representation of all the data in this object, for persistant storage. |
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. |
java.lang.String |
notes()
Returns the administrative notes entered about this player. |
java.lang.String |
password()
Returns the players password. |
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 |
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. |
| 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.lang.String getEmail()
setEmail(String)void setEmail(java.lang.String newAdd)
newAdd - the players email address, if available.getEmail()long lastDateTime()
setLastDateTime(long)void setLastDateTime(long C)
C - the time, in milis since 1970, that the player last logged off.lastDateTime()long lastUpdated()
setLastUpdated(long)void setLastUpdated(long time)
time - the time, in milis since 1970, that the player was last saved.lastUpdated()java.lang.String password()
setPassword(String)void setPassword(java.lang.String newPassword)
newPassword - the players password.password()java.lang.String lastIP()
setLastIP(String)void setLastIP(java.lang.String ip)
ip - the last IP address this player logged in from.lastIP()long getAccountExpiration()
setAccountExpiration(long)void setAccountExpiration(long newVal)
newVal - the time, in milis, that this player expires.getAccountExpiration()java.lang.String notes()
setNotes(String)void setNotes(java.lang.String newnotes)
newnotes - the administrative notes entered about this player.notes()java.util.Set<java.lang.String> getFriends()
java.util.Set<java.lang.String> getIgnored()
java.lang.String getXML()
setXML(String)void setXML(java.lang.String str)
str - an XML representation of all the data in this objectgetXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||