AccountStats, Achievable, java.lang.Cloneable, CMCommon, CMObject, java.lang.Comparable<CMObject>, Modifiable, TattooableDefaultPlayerAccountpublic interface PlayerAccount extends CMCommon, AccountStats, Modifiable, Tattooable
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
PlayerAccount.AccountFlag |
Various account-level flags
|
AccountStats.Agent, AccountStats.PrideStatidConverter| Modifier and Type | Method | Description |
|---|---|---|
void |
addNewPlayer(MOB mob) |
Adds a new player to this account.
|
void |
copyInto(PlayerAccount otherAccount) |
Populates this account object with all the data
from the given one, replacing any existing internal
data.
|
void |
delPlayer(MOB mob) |
Removes a player from this account.
|
void |
delPlayer(java.lang.String name) |
Removes a player of this name from this account.
|
java.lang.String |
findPlayer(java.lang.String name) |
Returns the real name if the player is on this account
|
MOB |
getAccountMob() |
Retrieves a fake account mob, for forum and
other access systems not directly relayed to gameplay.
|
java.lang.String |
getAccountName() |
Returns this accounts name
|
int |
getBonusCharsLimit() |
Returns the number of bonus characters available to
this account.
|
int |
getBonusCharsOnlineLimit() |
Returns the number of bonus characters online available to
this account.
|
java.util.Enumeration<MOB> |
getLoadPlayers() |
Return an enumeration of the fully loaded players
that belong to this account.
|
java.util.Enumeration<java.lang.String> |
getPlayers() |
Return an enumeration of the players names
that belong to this account.
|
java.util.Enumeration<PlayerLibrary.ThinPlayer> |
getThinPlayers() |
Return an enumeration of the semi-loaded players
that belong to this account.
|
boolean |
isSet(PlayerAccount.AccountFlag flag) |
Checks whether the given string flag is set for this account.
|
int |
numPlayers() |
Returns the number of players this account currently
has listed.
|
void |
setAccountName(java.lang.String name) |
Sets this accounts unique name
|
void |
setBonusCharsLimit(int bonus) |
Sets the number of bonus characters available to
this account.
|
void |
setBonusCharsOnlineLimit(int bonus) |
Sets the number of bonus characters online available to
this account.
|
void |
setFlag(PlayerAccount.AccountFlag flag,
boolean setOrUnset) |
Sets or unsets an account-wide flag.
|
void |
setPlayerNames(java.util.List<java.lang.String> names) |
Sets the names of all the players that belong to this account
|
bumpPrideStat, getAccountExpiration, getBonusCharStatPoints, getBonusCommonSkillLimits, getBonusCraftingSkillLimits, getBonusLanguageLimits, getBonusNonCraftingSkillLimits, getEmail, getFriends, getIgnored, getLastDateTime, getLastIP, getLastUpdated, getNotes, getPasswordStr, getPrideStat, getSubscriptions, getXML, isIgnored, isIgnored, matchesPassword, setAccountExpiration, setBonusCharStatPoints, setBonusCommonSkillLimits, setBonusCraftingSkillLimits, setBonusLanguageLimits, setBonusNonCraftingSkillLimits, setEmail, setLastDateTime, setLastIP, setLastUpdated, setNotes, setPassword, setXMLgetAchievementTracker, killAchievementTracker, rebuildAchievementTrackercopyOf, ID, initializeClass, name, newInstancegetSaveStatIndex, getStat, getStatCodes, isStat, setStataddTattoo, addTattoo, addTattoo, delTattoo, delTattoo, findTattoo, findTattooStartsWith, tattoosjava.util.Enumeration<MOB> getLoadPlayers()
java.util.Enumeration<PlayerLibrary.ThinPlayer> getThinPlayers()
int numPlayers()
java.util.Enumeration<java.lang.String> getPlayers()
void addNewPlayer(MOB mob)
mob - the new player to add.void delPlayer(MOB mob)
mob - the player to delete.void delPlayer(java.lang.String name)
name - the name of the player to remove.MOB getAccountMob()
java.lang.String findPlayer(java.lang.String name)
name - the name look for checkjava.lang.String getAccountName()
void setAccountName(java.lang.String name)
name - the accounts namevoid setPlayerNames(java.util.List<java.lang.String> names)
names - the names of the playersboolean isSet(PlayerAccount.AccountFlag flag)
flag - the flag namesetFlag(AccountFlag, boolean)void setFlag(PlayerAccount.AccountFlag flag, boolean setOrUnset)
flag - the flag namesetOrUnset - true to set it, false to unsetisSet(AccountFlag)int getBonusCharsOnlineLimit()
setBonusCharsOnlineLimit(int)void setBonusCharsOnlineLimit(int bonus)
bonus - the number of bonus chars onlinegetBonusCharsOnlineLimit()int getBonusCharsLimit()
setBonusCharsLimit(int)void setBonusCharsLimit(int bonus)
bonus - the number of bonus charsgetBonusCharsLimit()void copyInto(PlayerAccount otherAccount)
otherAccount - the data to copy from.