AccountStats
, Achievable
, java.lang.Cloneable
, CMCommon
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Modifiable
DefaultPlayerStats
public interface PlayerStats extends CMCommon, Modifiable, AccountStats, Contingent
MOB.playerStats()
Modifier and Type | Interface | Description |
---|---|---|
static class |
PlayerStats.PlayerCombatStat |
Various combat stats
|
static class |
PlayerStats.PlayerFlag |
Various player-level flags
|
static interface |
PlayerStats.TellMsg |
Interface for an archived Tell message to or from
this player.
|
AccountStats.Agent, AccountStats.PrideStat
Modifier and Type | Field | Description |
---|---|---|
static int |
BIRTHDEX_COUNT |
Constant for number of birday indexes, as from
getBirthday() |
static int |
BIRTHDEX_DAY |
Constant for day of birthday, as from
getBirthday() |
static int |
BIRTHDEX_LASTYEARCELEBRATED |
Constant for year of last known birthday, as from
getBirthday() |
static int |
BIRTHDEX_MONTH |
Constant for month of birthday, as from
getBirthday() |
static int |
BIRTHDEX_YEAR |
Constant for year of birthday, as from
getBirthday() |
static long |
HYGIENE_COMMONDIRTY |
Constant for hygiene system, denotes amount of dirtiness from using common skills
|
static long |
HYGIENE_DELIMIT |
Constant for hygiene system, denotes ceiling of stinkiness before emoting
|
static long |
HYGIENE_FIGHTDIRTY |
Constant for hygiene system, denotes amount of dirtiness from fighting
|
static long |
HYGIENE_RAINCLEAN |
Constant for hygiene system, denotes amount of cleaning water does per tick
|
static long |
HYGIENE_WATERCLEAN |
Constant for hygiene system, denotes amount of cleaning water does per tick
|
static int |
REPLY_SAY |
Constant for private messenging, means the last private msg was a SAYTO
|
static int |
REPLY_TELL |
Constant for private messenging, means the last private msg was a TELL
|
static int |
REPLY_YELL |
Constant for private messenging, means the last private msg was a YELL
|
idConverter
Modifier and Type | Method | Description |
---|---|---|
void |
addAliasName(java.lang.String named) |
Adds a new alias command for this player, undefined at first.
|
void |
addAutoInvokeList(java.lang.String abilityID) |
Adds the given ability ID is on the list of those skills
whose autoInvocation should be suppressed.
|
void |
addGTellStack(java.lang.String from,
java.lang.String to,
java.lang.String msg) |
Adds a new string message to the gtell stack.
|
void |
addLegacyLevel(java.lang.String category) |
Adds a new legacy level in the given category.
|
boolean |
addRoomVisit(Room R) |
Records the fact that this player has been to the given room.
|
void |
addTellStack(java.lang.String from,
java.lang.String to,
java.lang.String msg) |
Adds a new string message to the tell stack.
|
void |
addTitle(java.lang.String title) |
Adds a new title definition.
|
boolean |
adjHygiene(long byThisMuch) |
Modifies, up or down, how stinky this player is.
|
long |
bumpLevelCombatStat(PlayerStats.PlayerCombatStat stat,
int level,
int amt) |
Alter and return a player combat stat.
|
int |
deathCounter(int bump) |
Reads from and/or alters the internal deaths
counter for the number of character deaths.
|
void |
delAliasName(java.lang.String named) |
Removes an old alias command for this player.
|
boolean |
delTitle(java.lang.String s) |
Removes new title definition.
|
PlayerAccount |
getAccount() |
If the ACCOUNTSYSTEM is used, this will access the account object
that is shared by all players of this account.
|
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 |
getAnnounceMessage() |
For players with the ANNOUNCE command, this is the message used to
prefix the announcements proclaimed.
|
int[] |
getBirthday() |
Returns a 2-dimensional integer array with the players birth
day and month and year and last year celebrated (in mud calendar)
|
TimeClock |
getBirthdayClock(TimeClock clock) |
Returns the derived TimeClock of this players birthday.
|
int |
getChannelMask() |
Returns a bitmask of channels turned on/off.
|
java.util.Map<java.lang.String,java.lang.Object> |
getClassVariableMap(CharClass charClass) |
Returns a personal miscellaneous object map, to be used
for non-core-system attributes, such as transient
class variables.
|
java.lang.String |
getColorStr() |
Returns a custom coded string detailing the changes to the official
color code that apply to this player only.
|
java.util.Map<java.lang.String,int[]> |
getCombatSpams() |
If the player has NoCombatSpam turned on, then these player
settings are used to hold accumulated information about
combat results for summarizing later.
|
java.lang.String |
getDeathPoof() |
This is the message seen by all when the player dies.
|
int |
getDeferredXP() |
Returns the current amount of deferred xp that this player
has been awarded, typically over a given level.
|
ItemCollection |
getExtItems() |
Gets external items belonging to this player, which should be destroyed with the
player, but can still be transient.
|
java.util.Map<java.lang.String,ExpertiseLibrary.ExpertiseDefinition> |
getExtraQualifiedExpertises() |
Returns a mapping definition between awarded expertise and
their requirements.
|
java.util.Map<java.lang.String,AbilityMapper.AbilityMapping> |
getExtraQualifiedSkills() |
Returns a mapping definition between awarded abilities and
their requirements.
|
java.util.List<PlayerStats.TellMsg> |
getGTellStack() |
Returns a List of the last few string messages sent and received to and
from this players group.
|
long |
getHygiene() |
Returns a long value of how stinky this player is.
|
long |
getLastRolePlayXPTime() |
Returns the last time roleplay xp was earned in a way
that could be spammed.
|
long |
getLastUpdated() |
The time, in milis since 1970, that the player was last saved.
|
long |
getLastXPAwardMillis() |
Returns the last time this player has been awarded
XP.
|
int |
getLegacyLevel(java.lang.String category) |
Returns the legacy levels for this player, in the given categories
|
int |
getMaxDeferredXP() |
Returns the maximum amount of deferred xp that this player
can be awarded, typically over a given level.
|
int |
getMaxRolePlayXP() |
Returns the maximum amount of role playing xp that this player
can be awarded, typically over a given level.
|
int |
getPageBreak() |
Returns the page break row for this player, or 0.
|
java.lang.String |
getPoofIn() |
For player with the GOTO command, this is the message seen by all when
the player arrives from using GOTO.
|
java.lang.String |
getPoofOut() |
For player with the GOTO command, this is the message seen by all when
the player leaves using GOTO.
|
java.lang.String |
getPrompt() |
Returns the custom prompt, an encoded string, for this player.
|
MOB |
getReplyToMOB() |
Returns the last MOB player who sent this player a private instant message.
|
long |
getReplyToTime() |
Returns the last time, in millis since 1970, that a player last
sent this playe a private message.
|
int |
getReplyType() |
Returns the type of private message last sent to this player, an
encoded constant.
|
int |
getRolePlayXP() |
Returns the current amount of role playing xp that this player
has been awarded, typically over a given level.
|
java.lang.String |
getSavedPose() |
Gets the saved pose string for players.
|
CMSecurity.SecGroup |
getSecurityFlags() |
Returns a read-only Set of security flags that apply to this
player.
|
java.lang.String |
getSetSecurityFlags(java.lang.String newFlags) |
Returns and/or sets the security flags and groups
strings to which this player is privileged.
|
java.util.List<PlayerStats.TellMsg> |
getTellStack() |
Returns a List of the last few string messages sent and received to and
from this player.
|
int |
getTheme() |
Returns the theme used to create this player.
|
boolean |
getTitleRandom(java.lang.String title,
java.lang.Boolean changeTF) |
Gets or changes whether the given title is part
of the 'random' list.
|
java.util.List<java.lang.String> |
getTitles() |
Returns a read-only list of title definitions.
|
int |
getTotalLegacyLevels() |
Returns the total legacy levels for this player, all categories
|
java.lang.String |
getTranPoofIn() |
For player with the TRANSFER command, this is the message seen by all when
the player arrives from using TRANSFER.
|
java.lang.String |
getTranPoofOut() |
For player with the TRANSFER command, this is the message seen by all when
the player leaves using TRANSFER.
|
int |
getWrap() |
Returns the word wrap column number for this player, or 0.
|
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.
|
int |
initializeBirthday(TimeClock clock,
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 |
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 |
isOnAutoInvokeList(java.lang.String abilityID) |
Checks whether the given ability ID is on the list of those skills
whose autoInvocation should be suppressed.
|
boolean |
isSet(PlayerStats.PlayerFlag flag) |
Checks whether the given string flag is set for this player.
|
int[] |
leveledCostGains(int level) |
The number of pracs gained when the player gained the given level
|
long |
leveledDateTime(int level) |
The time, in milis since 1970, that the player gained the given level
|
long |
leveledMinutesPlayed(int level) |
The number of minutes played when the player gained the given level
|
java.lang.String |
leveledRoomID(int level) |
The roomID that the player gained the given level
|
int |
percentVisited(MOB mob,
Area A) |
Returns the percentage (0-100) of the given area that the
given player has explored.
|
java.util.List<PlayerStats.TellMsg> |
queryGTellStack(java.lang.String fromName,
java.lang.String toName,
java.lang.Long sinceTime) |
Queries the GTell stack for messages matching given criteria.
|
java.util.List<PlayerStats.TellMsg> |
queryTellStack(java.lang.String fromName,
java.lang.String toName,
java.lang.Long sinceTime) |
Queries the Tell stack for messages matching given criteria.
|
void |
recordLevelData(int level,
long ageHours,
Room R,
int[] costGains) |
Notifies the player records that, at the moment this method was called,
the player gained the given level.
|
void |
removeAutoInvokeList(java.lang.String abilityID) |
Removes the given ability ID is on the list of those skills
whose autoInvocation should be suppressed.
|
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 |
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 color) |
Sets a custom coded string detailing the changes to the official
color code that apply to this player only.
|
void |
setDeathPoof(java.lang.String poof) |
This is the message seen by all when the player dies.
|
void |
setDeferredXP(int amt) |
Sets the amount of deferred xp that this player
has been awarded, typically over a given level.
|
void |
setFlag(PlayerStats.PlayerFlag flag,
boolean setOrUnset) |
Sets or unsets a player flag.
|
void |
setHygiene(long newVal) |
Sets the number meaning how stinky this player is.
|
void |
setLastRolePlayXPTime(long tm) |
Sets the last time roleplay xp was earned in a way
that could be spammed.
|
void |
setLastUpdated(long time) |
Sets the time, in milis since 1970, that the player was last saved.
|
void |
setLastXPAwardMillis(long time) |
Sets the last time this player has been awarded
XP.
|
void |
setMaxDeferredXP(int amt) |
Sets the maximum amount of deferred xp that this player
can be awarded, typically over a given level.
|
void |
setMaxRolePlayXP(int amt) |
Sets the maximum amount of role playing xp that this player
can be awarded, typically over a given level.
|
void |
setPageBreak(int newBreak) |
Sets the page break row for this player, or 0.
|
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 prompt) |
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 |
setRolePlayXP(int amt) |
Sets the amount of role playing xp that this player
has been awarded, typically over a given level.
|
void |
setSavedPose(java.lang.String msg) |
Sets the saved pose string for players.
|
void |
setTheme(int theme) |
Sets the theme used to create this player.
|
void |
setWrap(int newWrap) |
Sets the word wrap column number for this player, or 0.
|
int |
totalVisitedRooms(MOB mob,
Area A) |
Returns the number of rooms in the given area that the
given player has explored.
|
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
|
bumpPrideStat, getAccountExpiration, getBonusCharStatPoints, getBonusCommonSkillLimits, getBonusCraftingSkillLimits, getBonusLanguageLimits, getBonusNonCraftingSkillLimits, getEmail, getFriends, getIgnored, getLastDateTime, getLastIP, getNotes, getPasswordStr, getPrideStat, getSubscriptions, getXML, isIgnored, isIgnored, matchesPassword, setAccountExpiration, setBonusCharStatPoints, setBonusCommonSkillLimits, setBonusCraftingSkillLimits, setBonusLanguageLimits, setBonusNonCraftingSkillLimits, setEmail, setLastDateTime, setLastIP, setNotes, setPassword, setXML
getAchievementTracker, killAchievementTracker, rebuildAchievementTracker
copyOf, ID, initializeClass, name, newInstance
amDestroyed, destroy, isSavable, setSavable
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
static final int BIRTHDEX_DAY
getBirthday()
static final int BIRTHDEX_MONTH
getBirthday()
static final int BIRTHDEX_YEAR
getBirthday()
static final int BIRTHDEX_LASTYEARCELEBRATED
getBirthday()
static final int BIRTHDEX_COUNT
getBirthday()
static final int REPLY_SAY
static final int REPLY_YELL
static final int REPLY_TELL
static final long HYGIENE_DELIMIT
static final long HYGIENE_WATERCLEAN
static final long HYGIENE_COMMONDIRTY
static final long HYGIENE_FIGHTDIRTY
static final long HYGIENE_RAINCLEAN
long getLastUpdated()
getLastUpdated
in interface AccountStats
setLastUpdated(long)
void setLastUpdated(long time)
setLastUpdated
in interface AccountStats
time
- the time, in milis since 1970, that the player was last saved.getLastUpdated()
long leveledDateTime(int level)
level
- the level to check forrecordLevelData(int, long, Room, int[])
java.lang.String leveledRoomID(int level)
level
- the level to check forrecordLevelData(int, long, Room, int[])
long leveledMinutesPlayed(int level)
level
- the level to check forrecordLevelData(int, long, Room, int[])
int[] leveledCostGains(int level)
level
- the level to check forrecordLevelData(int, long, Room, int[])
void recordLevelData(int level, long ageHours, Room R, int[] costGains)
level
- the level to set upageHours
- the hours played at this pointR
- the room in which the level was gainedcostGains
- the number of CostType[] gains at the levelleveledDateTime(int)
int getChannelMask()
setChannelMask(int)
void setChannelMask(int newMask)
newMask
- the bitmask of channels turned on/off. (1=off)setChannelMask(int)
java.lang.String getColorStr()
setColorStr(String)
void setColorStr(java.lang.String color)
color
- a custom coded color stringgetColorStr()
java.lang.String getSavedPose()
setSavedPose(String)
void setSavedPose(java.lang.String msg)
msg
- a saved pose stringgetSavedPose()
int getWrap()
setWrap(int)
void setWrap(int newWrap)
newWrap
- the word wrap column number for this player, or 0.getWrap()
int getPageBreak()
setPageBreak(int)
void setPageBreak(int newBreak)
newBreak
- the page break row for this player, or 0.getPageBreak()
java.lang.String getPrompt()
setPrompt(String)
void setPrompt(java.lang.String prompt)
prompt
- the custom prompt, an encoded string, or ""getPrompt()
java.util.List<java.lang.String> getTitles()
getActiveTitle()
,
delTitle(String)
,
addTitle(String)
void addTitle(java.lang.String title)
title
- the new titlegetActiveTitle()
,
getTitles()
,
delTitle(String)
boolean getTitleRandom(java.lang.String title, java.lang.Boolean changeTF)
title
- the title to read or changechangeTF
- null to read, or a value to changeboolean delTitle(java.lang.String s)
s
- the old titlegetActiveTitle()
,
getTitles()
,
addTitle(String)
java.lang.String getActiveTitle()
getTitles()
,
addTitle(String)
,
delTitle(String)
java.util.List<PlayerStats.TellMsg> getTellStack()
addTellStack(String, String, String)
java.util.List<PlayerStats.TellMsg> queryTellStack(java.lang.String fromName, java.lang.String toName, java.lang.Long sinceTime)
fromName
- null, or a from-name to matchtoName
- null, or a to name to matchsinceTime
- null, or a time, in ms, since epocgetTellStack()
void addTellStack(java.lang.String from, java.lang.String to, java.lang.String msg)
from
- who the message is fromto
- who the message is tomsg
- the new message for the tell stack.getTellStack()
java.util.List<PlayerStats.TellMsg> getGTellStack()
addGTellStack(String, String, String)
,
queryGTellStack(String, String, Long)
void addGTellStack(java.lang.String from, java.lang.String to, java.lang.String msg)
from
- who the message is fromto
- who the message is tomsg
- the new message for the gtell stack.getGTellStack()
java.util.List<PlayerStats.TellMsg> queryGTellStack(java.lang.String fromName, java.lang.String toName, java.lang.Long sinceTime)
fromName
- null, or a from-name to matchtoName
- null, or a to name to matchsinceTime
- null, or a time, in ms, since epocgetGTellStack()
java.lang.String getPoofIn()
getPoofOut()
,
setPoofs(String, String, String, String)
java.lang.String getPoofOut()
getPoofIn()
,
setPoofs(String, String, String, String)
java.lang.String getTranPoofIn()
getTranPoofOut()
,
setPoofs(String, String, String, String)
java.lang.String getTranPoofOut()
getTranPoofIn()
,
setPoofs(String, String, String, String)
void setPoofs(java.lang.String poofIn, java.lang.String poofOut, java.lang.String tranPoofIn, java.lang.String tranPoofOut)
poofIn
- 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 TRANSFERgetTranPoofIn()
,
getTranPoofOut()
,
getPoofIn()
,
getPoofOut()
java.lang.String getDeathPoof()
setDeathPoof(String)
void setDeathPoof(java.lang.String poof)
poof
- the death poof-messagegetDeathPoof()
java.lang.String getAnnounceMessage()
setAnnounceMessage(String)
void setAnnounceMessage(java.lang.String msg)
msg
- prefix to announcementsgetAnnounceMessage()
MOB getReplyToMOB()
setReplyTo(MOB, int)
,
getReplyType()
,
getReplyToTime()
void setReplyTo(MOB mob, int replyType)
mob
- the last MOB player who sent this player a private instant message.replyType
- the type ofgetReplyToMOB()
,
getReplyType()
,
getReplyToTime()
,
REPLY_SAY
,
REPLY_TELL
,
REPLY_YELL
int getReplyType()
setReplyTo(MOB, int)
,
getReplyToMOB()
,
getReplyToTime()
,
REPLY_SAY
,
REPLY_TELL
,
REPLY_YELL
long getReplyToTime()
setReplyTo(MOB, int)
,
getReplyToMOB()
,
getReplyType()
CMSecurity.SecGroup getSecurityFlags()
java.lang.String getSetSecurityFlags(java.lang.String newFlags)
newFlags
- null, or a semicolon list of flags and groupsint initializeBirthday(TimeClock clock, int ageHours, Race R)
clock
- the local clock to use for month/day calculationsageHours
- the number of hours the player playedR
- the players RacegetBirthday()
,
getBirthdayClock(TimeClock)
,
MOB.getAgeMinutes()
,
Race
TimeClock getBirthdayClock(TimeClock clock)
clock
- the players start area clockgetBirthday()
,
MOB.getAgeMinutes()
int[] getBirthday()
initializeBirthday(TimeClock, int, Race)
long getHygiene()
adjHygiene(long)
,
setHygiene(long)
,
HYGIENE_DELIMIT
boolean adjHygiene(long byThisMuch)
byThisMuch
- an amount to adjust the stinkiness by.getHygiene()
,
setHygiene(long)
,
HYGIENE_COMMONDIRTY
,
HYGIENE_FIGHTDIRTY
,
HYGIENE_WATERCLEAN
,
HYGIENE_DELIMIT
void setHygiene(long newVal)
newVal
- how stinky this player is.getHygiene()
,
adjHygiene(long)
,
HYGIENE_DELIMIT
boolean hasVisited(Room R)
R
- the room to check and see whether the player has been there.hasVisited(Area)
,
percentVisited(MOB, Area)
,
totalVisitedRooms(MOB, Area)
,
addRoomVisit(Room)
,
unVisit(Room)
,
unVisit(Area)
boolean hasVisited(Area A)
A
- the area to checkhasVisited(Room)
,
totalVisitedRooms(MOB, Area)
,
percentVisited(MOB, Area)
,
addRoomVisit(Room)
,
unVisit(Room)
,
unVisit(Area)
int percentVisited(MOB mob, Area A)
mob
- the player of these statsA
- the Area to checktotalVisitedRooms(MOB, Area)
,
hasVisited(Room)
,
hasVisited(Area)
,
addRoomVisit(Room)
,
unVisit(Room)
,
unVisit(Area)
int totalVisitedRooms(MOB mob, Area A)
mob
- the player of these statsA
- the Area to checkpercentVisited(MOB, Area)
,
totalVisitedRooms(MOB, Area)
,
hasVisited(Room)
,
hasVisited(Area)
,
addRoomVisit(Room)
,
unVisit(Room)
,
unVisit(Area)
boolean addRoomVisit(Room R)
R
- the room to credit the player withhasVisited(Room)
,
hasVisited(Area)
,
totalVisitedRooms(MOB, Area)
,
percentVisited(MOB, Area)
,
unVisit(Room)
,
unVisit(Area)
void unVisit(Area A)
A
- area of rooms to removehasVisited(Room)
,
hasVisited(Area)
,
percentVisited(MOB, Area)
,
unVisit(Room)
void unVisit(Room R)
R
- the room to removehasVisited(Room)
,
hasVisited(Area)
,
percentVisited(MOB, Area)
,
unVisit(Area)
java.util.Map<java.lang.String,java.lang.Object> getClassVariableMap(CharClass charClass)
charClass
- the Character Class for the variablesjava.lang.String[] getAliasNames()
getAlias(String)
,
addAliasName(String)
,
delAliasName(String)
,
setAlias(String, String)
java.lang.String getAlias(java.lang.String named)
named
- the alias command to get the definition ofgetAliasNames()
,
addAliasName(String)
,
delAliasName(String)
,
setAlias(String, String)
void addAliasName(java.lang.String named)
named
- the name of the alias command to addgetAliasNames()
,
getAlias(String)
,
delAliasName(String)
,
setAlias(String, String)
void delAliasName(java.lang.String named)
named
- the name of the alias command to deletegetAliasNames()
,
getAlias(String)
,
addAliasName(String)
,
setAlias(String, String)
void setAlias(java.lang.String named, java.lang.String value)
named
- the alias command to modifyvalue
- the new command(s) to executegetAliasNames()
,
getAlias(String)
,
addAliasName(String)
,
delAliasName(String)
boolean isIntroducedTo(java.lang.String name)
name
- the name of the other playerintroduceTo(String)
void introduceTo(java.lang.String name)
name
- the player whom this player just met.isIntroducedTo(String)
PlayerAccount getAccount()
void setAccount(PlayerAccount account)
account
- the account objectItemCollection getExtItems()
ItemCollection
,
Item
boolean sameAs(PlayerStats E)
E
- the object to compare this one toModifiable.getStatCodes()
,
Modifiable.getStat(String)
int getTheme()
Area.THEME_BIT_NAMES
,
setTheme(int)
void setTheme(int theme)
theme
- the theme used to create this player.Area.THEME_BIT_NAMES
,
getTheme()
int getTotalLegacyLevels()
addLegacyLevel(String)
,
getLegacyLevel(String)
void addLegacyLevel(java.lang.String category)
category
- the category to add a legacy level forgetTotalLegacyLevels()
,
getLegacyLevel(String)
boolean isOnAutoInvokeList(java.lang.String abilityID)
abilityID
- the ability ID() to suppressvoid addAutoInvokeList(java.lang.String abilityID)
abilityID
- the ability ID() to addvoid removeAutoInvokeList(java.lang.String abilityID)
abilityID
- the ability ID() to removeint getLegacyLevel(java.lang.String category)
category
- the category to add a legacy level foraddLegacyLevel(String)
,
getTotalLegacyLevels()
java.util.Map<java.lang.String,AbilityMapper.AbilityMapping> getExtraQualifiedSkills()
java.util.Map<java.lang.String,ExpertiseLibrary.ExpertiseDefinition> getExtraQualifiedExpertises()
java.util.Map<java.lang.String,int[]> getCombatSpams()
int getMaxRolePlayXP()
setMaxRolePlayXP(int)
,
getRolePlayXP()
,
setRolePlayXP(int)
,
AccountStats.setLastDateTime(long)
,
getLastRolePlayXPTime()
void setMaxRolePlayXP(int amt)
amt
- the maximum amount of role playing xpgetMaxRolePlayXP()
,
getRolePlayXP()
,
setRolePlayXP(int)
,
AccountStats.setLastDateTime(long)
,
getLastRolePlayXPTime()
int getRolePlayXP()
setMaxRolePlayXP(int)
,
getMaxRolePlayXP()
,
setRolePlayXP(int)
,
AccountStats.setLastDateTime(long)
,
getLastRolePlayXPTime()
void setRolePlayXP(int amt)
amt
- the maximum amount of role playing xpgetMaxRolePlayXP()
,
getRolePlayXP()
,
setMaxRolePlayXP(int)
,
AccountStats.setLastDateTime(long)
,
getLastRolePlayXPTime()
long getLastRolePlayXPTime()
setMaxRolePlayXP(int)
,
getMaxRolePlayXP()
,
setRolePlayXP(int)
,
getRolePlayXP()
,
AccountStats.setLastDateTime(long)
void setLastRolePlayXPTime(long tm)
tm
- the last time roleplay xpgetMaxRolePlayXP()
,
getRolePlayXP()
,
setRolePlayXP(int)
,
setMaxRolePlayXP(int)
,
getLastRolePlayXPTime()
int getMaxDeferredXP()
setMaxDeferredXP(int)
,
getDeferredXP()
,
setDeferredXP(int)
void setMaxDeferredXP(int amt)
amt
- the maximum amount of deferred xpgetMaxDeferredXP()
,
getDeferredXP()
,
setDeferredXP(int)
int getDeferredXP()
setMaxDeferredXP(int)
,
getMaxDeferredXP()
,
setDeferredXP(int)
void setDeferredXP(int amt)
amt
- the maximum amount of deferred xpgetMaxDeferredXP()
,
getDeferredXP()
,
setMaxDeferredXP(int)
long getLastXPAwardMillis()
int deathCounter(int bump)
bump
- 0, or the number to change deaths byvoid setLastXPAwardMillis(long time)
time
- the time xp was awarded in millisboolean isSet(PlayerStats.PlayerFlag flag)
flag
- the flag namesetFlag(PlayerFlag, boolean)
void setFlag(PlayerStats.PlayerFlag flag, boolean setOrUnset)
flag
- the flag namesetOrUnset
- true to set it, false to unsetisSet(PlayerFlag)
long bumpLevelCombatStat(PlayerStats.PlayerCombatStat stat, int level, int amt)
stat
- the stat to read and/or alterlevel
- the level of the player to read/alteramt
- the amount to change, or 0 to read only