Clan, CMCommon, Achievable, CMObject, Modifiable, Tattooable, Tickable, java.lang.Cloneable, java.lang.Comparable<CMObject>public class DefaultClan extends java.lang.Object implements Clan
Clan.Authority, Clan.AutoPromoteFlag, Clan.ClanFlag, Clan.ClanVote, Clan.FullMemberRecord, Clan.Function, Clan.MemberRecord, Clan.Trophy| Modifier and Type | Field | Description | 
|---|---|---|
| protected java.lang.String | acceptanceSettings | |
| protected java.util.Map<java.lang.String,AchievementLibrary.Tracker> | achievementers | |
| protected int | autoPosition | |
| protected Pair<java.lang.Long,Pair<java.lang.String,java.lang.String>> | bankingInfo | |
| protected java.util.List<Pair<Clan,java.lang.Integer>> | channelSet | |
| protected java.lang.String | clanCategory | |
| protected java.lang.String | clanClass | |
| protected java.lang.String | clanDonationRoom | |
| protected java.util.Set<Clan.ClanFlag> | clanFlags | |
| protected java.util.List<java.lang.Long> | clanKills | |
| protected int | clanLevel | |
| protected java.lang.String | clanMorgue | |
| protected java.lang.String | clanName | |
| protected java.lang.String | clanPremise | |
| protected java.lang.String | clanRecall | |
| protected int | clanStatus | |
| protected int | clanTrophies | |
| protected double | dues | |
| protected static java.util.List<Ability> | empty | |
| protected long | exp | |
| protected java.lang.Object | expSync | |
| protected ItemCollection | extItems | |
| protected MOB | factoryMob | |
| protected int | government | |
| protected ClanGovernment | govt | |
| protected java.lang.Boolean | isRivalrous | |
| protected java.lang.String | lastClanKillLog | |
| protected long | lastClanTickMs | |
| protected long | lastGovernmentLoadTime | |
| protected long | lastPropsReload | |
| protected long | lastStatusChange | |
| protected int | monthClanLevels | |
| protected int | monthClanXP | |
| protected int | monthConquered | |
| protected int | monthControlPoints | |
| protected int | monthNewMembers | |
| protected int | monthOnlineMins | |
| protected int | monthPlayerXP | |
| protected java.lang.Integer | overrideMinClanMembers | |
| protected java.util.Map<java.lang.String,long[]> | relations | |
| protected CMUniqNameSortSVec<Tattoo> | tattoos | |
| protected double | taxRate | |
| protected int | tickUp | |
| protected long | totalLevelsGained | |
| protected long | totalOnlineMins | |
| protected int | transientSize | |
| protected java.util.List<Clan.ClanVote> | voteList | 
CLANSTATUS_ACTIVE, CLANSTATUS_DESC, CLANSTATUS_FADING, CLANSTATUS_PENDING, CLANSTATUS_STAGNANT, compareByRole, REL_ALLY, REL_COLORS, REL_DESCS, REL_FRIENDLY, REL_HOSTILE, REL_NEUTRAL, REL_NEUTRALITYGAUGE, REL_STATES, REL_WAR, RELATIONSHIP_VECTOR, VSTAT_DESCS, VSTAT_FAILED, VSTAT_PASSED, VSTAT_STARTEDidConverterSTATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET| Constructor | Description | 
|---|---|
| DefaultClan() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addMember(MOB M,
         int role) | Adds a new member to this clan | 
| void | addTattoo(Tattoo of) | Add a new tattoo to this object | 
| void | addTattoo(java.lang.String of) | Manipulation of the tatoo list | 
| void | addTattoo(java.lang.String of,
         int tickDown) | Add a new tattoo to this object | 
| void | addVote(Clan.ClanVote CV) | Adds a new ClanVote object to the list of ongoing
 votes for this | 
| void | adjDeposit(MOB memberM,
          double howMuch) | Adjusts the amount of base gold value deposited by this
 member. | 
| void | adjDuesDeposit(MOB memberM,
              double howMuch) | Adjusts the amount of base gold value deposited by this
 member from an auto-dues payment. | 
| void | adjExp(MOB memberM,
      int howMuch) | Adjusts the amount of experience earned by this | 
| int | applyExpMods(MOB memberM,
            int exp) | Adjusts the amount of experience earned by a player based
 on the tax rate. | 
| void | bumpTrophyData(Clan.Trophy trophy,
              int amt) | Bumps the given trophy counter the given amount. | 
| long | calculateMapPoints() | Returns the total control points earned by this clan | 
| long | calculateMapPoints(java.util.List<Area> controlledAreas) | Returns the total control points represented by the list of
 controlled areas given. | 
| boolean | canBeAssigned(MOB mob,
             int role) | Returns whether the given user can be assigned the given role | 
| SearchIDList<Ability> | clanAbilities(MOB mob) | Return a vector of skills, spells, and other abilities granted to the given
 mob of the given mobs level. | 
| void | clanAnnounce(java.lang.String msg) | Sends a message to all members of all clans. | 
| ChameleonList<Ability> | clanEffects(MOB mob) | Return a vector of skills, spells, and other effects granted to the given
 mob of the given mobs level. | 
| java.lang.String | clanID() | Returns the unique identifying ID of the clan for reference
 elsewhere. | 
| 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 | create() | Orders the system to create this clan in the database. | 
| void | delMember(MOB M) | Del a member from this clan | 
| void | delTattoo(Tattoo of) | Remove a specific tattoo from this object | 
| boolean | delTattoo(java.lang.String of) | Remove a specific tattoo from this object | 
| void | delVote(Clan.ClanVote CV) | Removes a new ClanVote object from the list of ongoing
 votes for this | 
| void | destroyClan() | Orders the system to destroy this clan in the database. | 
| boolean | doesOutRank(int highRoleID,
           int lowRoleID) | Returns whether the high role id outranks the low roldid | 
| int | filterMedianLevel(java.util.List<Clan.FullMemberRecord> members) | |
| java.util.List<Clan.MemberRecord> | filterMemberList(java.util.List<? extends Clan.MemberRecord> members,
                int posFilter) | |
| MOB | findMember(java.lang.String name) | Returns the named member, if possible | 
| Clan.MemberRecord | findMemberRecord(java.lang.String name) | Returns the named member, if possible | 
| Tattoo | findTattoo(java.lang.String of) | Returns the tattoo of the given marker name | 
| Tattoo | findTattooStartsWith(java.lang.String of) | Returns the tattoo that starts with the given marker name | 
| java.lang.String | fixRequirementMask(java.lang.String oldMask) | |
| java.lang.String | getAcceptanceSettings() | Returns a mask used to identify whether a player is allowed
 to join a particular | 
| AchievementLibrary.Tracker | getAchievementTracker(AchievementLibrary.Achievement A,
                     Tattooable C,
                     MOB mob) | Returns the tracker for the given achievement, for the given mob, for the given
 tracked thing, or creates it if it does not exist. | 
| Clan.Authority | getAuthority(int roleID,
            Clan.Function function) | Returns whether the given roleID is allowed to perform the
 given function. | 
| int | getAutoPosition() | Returns whether membership is automatically approved to this
 And if so, what the default position for members are. | 
| java.lang.String | getBasicRequirementMask() | Returns the inner (government usually)
 requirements to even apply to this clan | 
| java.lang.String | getCategory() | Returns the category of the clan, which is almost always the
 same as the government category. | 
| java.lang.String | getClanClass() | Retrieves this Clan's enforced character class. | 
| protected CharClass | getClanClassC() | |
| int | getClanLevel() | Returns the current clan level | 
| int | getClanRelations(java.lang.String id) | Returns a REL_* constant denoting the relationship
 between this clan and the clan of the given name. | 
| java.util.List<Area> | getControlledAreas() | Returns all the areas on the map controlled by this | 
| double | getCurrentClanDuesOwed(MOB memberM) | Returns the amount of base gold value this clan has received. | 
| double | getCurrentClanGoldDonations(MOB memberM) | Returns the amount of base gold value this clan has received. | 
| int | getCurrentClanKills(MOB killer) | Returns the number of other-clan kills this clan has recorded. | 
| long | getCurrentClanXPDonations(MOB memberM) | Returns the amount of xp this clan has earned. | 
| java.lang.String | getDataXML() | Returns an XML string used to identify the political relations
 between this clan and others, and other misc data | 
| java.lang.String | getDetail(MOB mob) | Creates the string for the 'clandetail' command, based on the
 security of the given mob who will view the details. | 
| java.lang.String | getDonation() | Returns the roomID of this clans donation room | 
| double | getDues() | Gets the amount of money dues due from
 every member due every rl day. | 
| long | getExp() | Gets the amount of experience earned by this | 
| ItemCollection | getExtItems() | Gets external items belonging to this clan, which should be destroyed with the
 clan, but can still be transient. | 
| MOB | getFactoryMOB() | Returns a temporary use nameless mob that belongs to this clan,
 for the purposes of channelling, usually. | 
| java.util.List<Clan.FullMemberRecord> | getFullMemberList() | Returns the set of members, where
 each row represents a FullMemberRecord | 
| ClanGovernment | getGovernment() | Returns the object representing the government
 of this | 
| int | getGovernmentID() | Returns the id representing the government type
 of this | 
| java.lang.String | getGovernmentName() | Returns Clan, Republic, or another one of the
 clan government types. | 
| long | getLastRelationChange(java.lang.String id) | Returns the time/date stamp when this clan last changed
 its relations with the given | 
| protected MOB | getLoadResponsibleMember() | |
| Clan.MemberRecord | getMember(java.lang.String name) | Returns the names member record, if possible | 
| java.util.List<Clan.MemberRecord> | getMemberList() | Returns the set of members, where
 each row represents a MemberRecord | 
| java.util.List<Clan.MemberRecord> | getMemberList(int posFilter) | Returns the set of members, where
 each row represents a MemberRecord. | 
| int | getMinClanMembers() | Returns the minimum clan members for the clan
 to become active, or to prevent being purged. | 
| java.lang.String | getMorgue() | Returns the roomID of this clans morgue room | 
| int | getMostInRole(int roleID) | Returns the maximum number of players who can hold the given
 role in this   For assignment purposes. | 
| java.lang.String | getName() | Returns the name of the clan, which is almost always the
 same as the ID, which is why clans can't change their names. | 
| int | getNumberRoles() | Returns the number of roles (max roleid) | 
| int | getNumVoters(Clan.Function function) | Returns the number of members allowed to vote on the
 given function. | 
| Pair<java.lang.String,java.lang.String> | getPreferredBanking() | Expensively calculates the given clans preferred banking details,
 which is a pair including the bank chain, and the currency preferred. | 
| java.lang.String | getPremise() | Retrieves this Clan's basic story. | 
| protected java.util.List<Clan.MemberRecord> | getRealMemberList(int PosFilter) | |
| java.lang.String | getRecall() | Returns the roomID of this clans recall room (their clan home) | 
| java.lang.String | getResponsibleMemberName() | Returns the highest ranking member of this | 
| int | getRoleFromName(java.lang.String position) | For the clan government type, this function will return
 the clan role that most closely matches the given string "position". | 
| java.lang.String | getRoleName(int roleID,
           boolean titleCase,
           boolean plural) | Returns the friendly descriptive name of a given role in a clan, based
 on very specific criteria. | 
| java.lang.String[] | getRolesList() | Returns the list of roles for people in this clan, from
 lowest rank to the highest. | 
| int | getSaveStatIndex() | Returns the index into the stat codes array where extra savable fields begins. | 
| int | getSize() | Returns the number of members of this | 
| 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. | 
| int | getStatus() | Returns one of the CLANSTAT_* constants describing the pending
 status of this clan for acceptable, or whether its one its way out. | 
| double | getTaxes() | Gets the tax rate for this | 
| int | getTickStatus() | A coded status for this object during the period where
 its tick method is being called. | 
| int | getTopQualifiedRoleID(Clan.Function func,
                     MOB mob) | Returns the roleid constant representing the highest rank
 in this clan type that can perform the given function
 or null. | 
| java.util.List<java.lang.Integer> | getTopRankedRoles(Clan.Function func) | Returns the roleid(s) constant representing the highest rank
 roleid(s) in this clan type that can perform the given function. | 
| int | getTrophies() | Returns a bitmap representing the trophies won by this
 The bitmap is made up of TROPHY_* constants. | 
| long | getTrophyData(Clan.Trophy trophy) | Returns the trophy counter for the given Trophy constant. | 
| protected ClanGovernment | govt() | |
| java.lang.String | ID() | The CoffeeMud Java Class ID shared by all instances of
 this object. | 
| void | initializeClass() | Called ONCE after all objects are loaded, but before the map is read in
 during initialization. | 
| boolean | isLoyaltyThroughItems() | Returns whether this clan attains conquest loyalty
 through giving out clan items. | 
| boolean | isOnlyFamilyApplicants() | Returns whether this clan only accepts applicants
 from people who are family of current members/founder. | 
| boolean | isPubliclyListedFor(MOB mob) | Returns whether this clan gets listed with the clanlist command. | 
| boolean | isRivalrous() | Returns true if this clan is rivalrous with other rivalrous clans,
 meaning that pvp is enabled between them, and war can be declared
 between them. | 
| protected boolean | isSafeFromPurge() | |
| boolean | isSet(Clan.ClanFlag flag) | Checks whether the given string flag is set for this Clan. | 
| 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. | 
| boolean | isWorshipConquest() | Returns whether this clan attains conquest loyalty
 through mobs worshiping the same deity as their leader. | 
| void | killAchievementTracker(AchievementLibrary.Achievement A,
                      Tattooable C,
                      MOB mob) | Deletes the tracker for the given achievement, for the given mob, for the given
 tracked thing. | 
| java.lang.String | L(java.lang.String str,
 java.lang.String... xs) | |
| java.lang.String | name() | The nice displayable name of this instance of this object | 
| CMObject | newInstance() | return a new instance of the object | 
| int | numClanEffects(MOB mob) | Return size of a vector of skills, spells, and other effects granted to the given
 mob of the given mobs level. | 
| void | rebuildAchievementTracker(Tattooable C,
                         MOB mob,
                         java.lang.String achievementTattoo) | If an Achievement is modified or removed, this method will update the
 internal player tracker for that achievement. | 
| void | recordClanKill(MOB killer,
              MOB killed) | Called when a member of this clan kills a member of another
 Will update the clan in the database. | 
| void | resetMonthlyTrophyData() | Resets the monthly trophy counters for this clan. | 
| void | setAcceptanceSettings(java.lang.String newSettings) | Sets a mask used to identify whether a player is allowed
 to join a particular | 
| void | setAutoPosition(int pos) | Sets whether membership is automatically approved to this
 And if so, what the default position for members are. | 
| void | setCategory(java.lang.String newCategory) | Sets a new category for this, which is almost always the
 same as the government category. | 
| void | setClanClass(java.lang.String newClass) | Sets this Clan's enforced character class. | 
| void | setClanLevel(int newClanLevel) | Sets the new clan level | 
| void | setClanRelations(java.lang.String id,
                int rel,
                long time) | Sets a new relationship between this clan and the clan
 with the given id. | 
| void | setDataXML(java.lang.String politics) | Sets an XML string used to identify the political relations
 between this clan and others, as well as other misc data | 
| void | setDonation(java.lang.String newDonation) | Sets the roomID of this clans donation room | 
| void | setDues(double dues) | Sets the amount of money dues due from
 every member per rl day. | 
| void | setExp(long newexp) | Sets the amount of experience earned by this | 
| void | setFlag(Clan.ClanFlag flag,
       boolean setOrUnset) | Sets or unsets an account-wide flag. | 
| void | setGovernmentID(int type) | Returns the id constant representing the government type
 of this | 
| void | setMinClanMembers(int amt) | Sets the minimum clan members for the clan
 to become active, or to prevent being purged. | 
| void | setMorgue(java.lang.String newMorgue) | Sets the roomID of this clans morgue room | 
| void | setName(java.lang.String newName) | Sets a new name for this | 
| void | setPremise(java.lang.String newPremise) | Sets this Clan's basic story. | 
| void | setRecall(java.lang.String newRecall) | Sets the roomID of this clans recall room (their clan home) | 
| void | setRivalrous(boolean isRivalrous) | Set to true if this clan is rivalrous with other rivalrous clans,
 meaning that pvp is enabled between them, and war can be declared | 
| 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 | setStatus(int newStatus) | Sets one of the CLANSTAT_* constants describing the pending
 status of this clan for acceptable, or whether its one its way out. | 
| void | setTaxes(double rate) | Sets the tax rate for this | 
| void | setTrophies(int trophyFlag) | Sets a bitmap representing the trophies won by this
 The bitmap is made up of TROPHY_* constants. | 
| java.util.Enumeration<Tattoo> | tattoos() | Returns an enumeration of all the tattoos on this object. | 
| boolean | tick(Tickable ticking,
    int tickID) | this is the method which is called periodically by the threading engine. | 
| void | update() | Orders the system to update this clan in the database. | 
| boolean | updateClanPrivileges(MOB M) | This method is called when a given mobs clan status
 changes, for instance if they are added to the clan,
 removed from it, or change their rank. | 
| void | updateVotes() | Orders the system to save any changes to existing
 ongoing votes for this | 
| java.util.Enumeration<Clan.ClanVote> | votes() | If the clan type allows voting, this returns a
 series of ClanVote objects | 
protected java.lang.String clanName
protected java.lang.String clanCategory
protected java.lang.String clanPremise
protected java.lang.String clanRecall
protected java.lang.String clanMorgue
protected java.lang.String clanClass
protected int clanLevel
protected java.lang.String clanDonationRoom
protected int clanTrophies
protected java.lang.Boolean isRivalrous
protected int autoPosition
protected java.lang.String acceptanceSettings
protected int clanStatus
protected long lastStatusChange
protected java.lang.String lastClanKillLog
protected double taxRate
protected double dues
protected volatile long exp
protected volatile long lastClanTickMs
protected java.lang.Object expSync
protected java.util.List<Clan.ClanVote> voteList
protected java.util.List<java.lang.Long> clanKills
protected java.lang.Integer overrideMinClanMembers
protected long lastPropsReload
protected ItemCollection extItems
protected java.util.Map<java.lang.String,long[]> relations
protected int government
protected long lastGovernmentLoadTime
protected ClanGovernment govt
protected long totalOnlineMins
protected long totalLevelsGained
protected int monthOnlineMins
protected int monthPlayerXP
protected int monthClanXP
protected int monthConquered
protected int monthClanLevels
protected int monthControlPoints
protected int monthNewMembers
protected volatile int tickUp
protected volatile int transientSize
protected java.util.Set<Clan.ClanFlag> clanFlags
protected MOB factoryMob
protected static final java.util.List<Ability> empty
protected CMUniqNameSortSVec<Tattoo> tattoos
protected java.util.Map<java.lang.String,AchievementLibrary.Tracker> achievementers
public java.lang.String ID()
CMObjectpublic int getTickStatus()
TickablegetTickStatus in interface TickableTickable.tick(Tickable, int)public CMObject newInstance()
newInstance in interface CMObjectpublic void initializeClass()
CMObjectinitializeClass in interface CMObjectpublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public CMObject copyOf()
CMObjectpublic ClanGovernment getGovernment()
ClangetGovernment in interface ClanClanGovernment, 
Clan.getGovernmentID(), 
Clan.setGovernmentID(int)protected ClanGovernment govt()
public void resetMonthlyTrophyData()
ClanresetMonthlyTrophyData in interface ClanClan.getTrophies(), 
Clan.setTrophies(int), 
Clan.bumpTrophyData(Trophy, int), 
Clan.getTrophyData(Trophy)public long getTrophyData(Clan.Trophy trophy)
ClangetTrophyData in interface Clantrophy - the trophy to get counter data forClan.getTrophies(), 
Clan.setTrophies(int), 
Clan.bumpTrophyData(Trophy, int)public void bumpTrophyData(Clan.Trophy trophy, int amt)
ClanbumpTrophyData in interface Clantrophy - the trophy to bump counter data foramt - the amount, positive or negative, to bump it byClan.getTrophies(), 
Clan.setTrophies(int), 
Clan.bumpTrophyData(Trophy, int)public void updateVotes()
ClanupdateVotes in interface Clanpublic void addVote(Clan.ClanVote CV)
ClanaddVote in interface ClanCV - the clanvote object to addClan.ClanVotepublic void delVote(Clan.ClanVote CV)
ClandelVote in interface ClanCV - the clanvote object to removeClan.ClanVotepublic void recordClanKill(MOB killer, MOB killed)
ClanrecordClanKill in interface Clankiller - the member of this clan that did the killingkilled - the mob or member of other clan killedpublic int getCurrentClanKills(MOB killer)
ClangetCurrentClanKills in interface Clankiller - the member of this clan that did the killing or NULL for allpublic double getCurrentClanGoldDonations(MOB memberM)
ClangetCurrentClanGoldDonations in interface ClanmemberM - the member of this clan that did the killing or NULL for allpublic double getCurrentClanDuesOwed(MOB memberM)
ClangetCurrentClanDuesOwed in interface ClanmemberM - the member of this clan that did the killing or NULL for allpublic long getCurrentClanXPDonations(MOB memberM)
ClangetCurrentClanXPDonations in interface ClanmemberM - the member of this clan that did the killing or NULL for allpublic boolean isSet(Clan.ClanFlag flag)
ClanisSet in interface Clanflag - the flag nameClan.setFlag(ClanFlag, boolean)public void setFlag(Clan.ClanFlag flag, boolean setOrUnset)
ClansetFlag in interface Clanflag - the flag namesetOrUnset - true to set it, false to unsetClan.isSet(ClanFlag)public boolean isOnlyFamilyApplicants()
ClanisOnlyFamilyApplicants in interface Clanpublic boolean isLoyaltyThroughItems()
ClanisLoyaltyThroughItems in interface Clanpublic boolean isWorshipConquest()
ClanisWorshipConquest in interface Clanpublic long calculateMapPoints()
ClancalculateMapPoints in interface ClanClan.calculateMapPoints(List), 
Clan.getControlledAreas(), 
Conquerablepublic long calculateMapPoints(java.util.List<Area> controlledAreas)
ClancalculateMapPoints in interface ClancontrolledAreas - the areas controlledClan.calculateMapPoints(), 
Clan.getControlledAreas(), 
Conquerablepublic java.util.List<Area> getControlledAreas()
ClangetControlledAreas in interface ClanConquerable, 
Areapublic java.util.Enumeration<Clan.ClanVote> votes()
Clanvotes in interface ClanClan.ClanVotepublic int getAutoPosition()
ClangetAutoPosition in interface ClanClan.setAutoPosition(int)public void setAutoPosition(int pos)
ClansetAutoPosition in interface Clanpos - the positition to give to applicantsClan.getAutoPosition()public void setExp(long newexp)
Clanpublic void adjExp(MOB memberM, int howMuch)
Clanpublic void adjDeposit(MOB memberM, double howMuch)
ClanadjDeposit in interface ClanmemberM - member the person contributinghowMuch - the value adjustment, + or -public void adjDuesDeposit(MOB memberM, double howMuch)
ClanadjDuesDeposit in interface ClanmemberM - member the person contributinghowMuch - the value adjustment, + or -public long getExp()
Clanpublic int getTrophies()
ClangetTrophies in interface ClanClan, 
Clan.setTrophies(int), 
Clan.bumpTrophyData(Trophy, int), 
Clan.getTrophyData(Trophy)public void setTrophies(int trophyFlag)
ClansetTrophies in interface ClantrophyFlag - a bitmap of the trophiesClan, 
Clan.getTrophies(), 
Clan.bumpTrophyData(Trophy, int), 
Clan.getTrophyData(Trophy)public void setTaxes(double rate)
ClansetTaxes in interface Clanrate - the tax rate 0-100.0Clan.getTaxes()public double getTaxes()
ClangetTaxes in interface ClanClan.setTaxes(double)public void setDues(double dues)
Clanpublic double getDues()
Clanpublic int getClanRelations(java.lang.String id)
ClangetClanRelations in interface Clanid - the name of anotherClan.setClanRelations(String, int, long), 
Clan.getLastRelationChange(String)public long getLastRelationChange(java.lang.String id)
ClangetLastRelationChange in interface Clanid - the other clanClan.setClanRelations(String, int, long), 
Clan.getClanRelations(String)public void setClanRelations(java.lang.String id,
                             int rel,
                             long time)
ClansetClanRelations in interface Clanid - another clanrel - the REL_* constant for the new relationshiptime - a current date/time stamp for this changepublic int getGovernmentID()
ClangetGovernmentID in interface ClanClan, 
Clan.setGovernmentID(int), 
Clan.getGovernment()public void setGovernmentID(int type)
ClansetGovernmentID in interface Clantype - the type id constantClan, 
Clan.getGovernmentID(), 
Clan.getGovernment()public java.lang.String getCategory()
ClangetCategory in interface ClanClan.setCategory(String)public int getMinClanMembers()
ClangetMinClanMembers in interface Clanpublic void setMinClanMembers(int amt)
ClansetMinClanMembers in interface Clanamt - the new min clan memberspublic void setCategory(java.lang.String newCategory)
ClansetCategory in interface ClannewCategory - the new cata of this clanClan.getCategory()public boolean isRivalrous()
ClanisRivalrous in interface ClanClan, 
Clan.setRivalrous(boolean)public void setRivalrous(boolean isRivalrous)
ClansetRivalrous in interface ClanisRivalrous - true or falseClan, 
Clan.isRivalrous()public void create()
Clanpublic void update()
Clanpublic void addMember(MOB M, int role)
Clanpublic void delMember(MOB M)
Clanpublic boolean updateClanPrivileges(MOB M)
ClanupdateClanPrivileges in interface ClanM - the mob whose status needs updatingpublic void destroyClan()
ClandestroyClan in interface Clanprotected CharClass getClanClassC()
public java.lang.String getDetail(MOB mob)
Clanpublic java.lang.String L(java.lang.String str,
                          java.lang.String... xs)
public java.lang.String getGovernmentName()
ClangetGovernmentName in interface ClanClanpublic boolean canBeAssigned(MOB mob, int role)
ClancanBeAssigned in interface Clanmob - the mob to checkrole - the role to check forpublic Clan.Authority getAuthority(int roleID, Clan.Function function)
ClangetAuthority in interface ClanroleID - the roleID whose priviledges to check.function - the ClanFunction function constant to useClan, 
Clan.Authoritypublic java.lang.String fixRequirementMask(java.lang.String oldMask)
public java.lang.String getBasicRequirementMask()
ClangetBasicRequirementMask in interface Clanprotected java.util.List<Clan.MemberRecord> getRealMemberList(int PosFilter)
public int getSize()
Clanpublic java.lang.String name()
Tickablename in interface CMObjectname in interface TickableEnvironmental.Name()public java.lang.String getName()
ClangetName in interface ClanClan.setName(String)public java.lang.String clanID()
ClanclanID in interface ClanClan.getName()public void setName(java.lang.String newName)
ClansetName in interface ClannewName - the new name of this clanClan.getName(), 
Clan.clanID()public java.lang.String getPremise()
ClangetPremise in interface ClanClan.setPremise(String)public void setPremise(java.lang.String newPremise)
ClansetPremise in interface ClannewPremise - the new premise textClan.getPremise()public MOB getFactoryMOB()
ClangetFactoryMOB in interface Clanpublic int getClanLevel()
ClangetClanLevel in interface ClanClan.setClanLevel(int)public void setClanLevel(int newClanLevel)
ClansetClanLevel in interface ClannewClanLevel - the new clan levelClan.getClanLevel()public java.lang.String getAcceptanceSettings()
ClangetAcceptanceSettings in interface ClanMaskingLibrary, 
Clan.setAcceptanceSettings(String)public void setAcceptanceSettings(java.lang.String newSettings)
ClansetAcceptanceSettings in interface ClannewSettings - the mask used to identify prospectsMaskingLibrary, 
Clan.getAcceptanceSettings()public java.lang.String getClanClass()
ClangetClanClass in interface ClanClan.setClanClass(String)public void setClanClass(java.lang.String newClass)
ClansetClanClass in interface ClannewClass - the new enforced character classClan.getClanClass()public java.lang.String getDataXML()
ClangetDataXML in interface ClanClan.setDataXML(String)public void setDataXML(java.lang.String politics)
ClansetDataXML in interface Clanpolitics - xml document describing the politics and other data of this clanClan.getDataXML()public int getStatus()
ClangetStatus in interface ClanClan, 
Clan.setStatus(int)public void setStatus(int newStatus)
ClansetStatus in interface ClannewStatus - a CLANSTAT_* constantClan, 
Clan.getStatus()public java.lang.String getRecall()
ClangetRecall in interface ClanClan.setRecall(String)public void setRecall(java.lang.String newRecall)
ClansetRecall in interface ClannewRecall - the roomid of this clans clan homeClan.getRecall()public java.lang.String getMorgue()
ClangetMorgue in interface ClanClan.setMorgue(String)public void setMorgue(java.lang.String newMorgue)
ClansetMorgue in interface ClannewMorgue - the roomID of this clans morgue roomClan.getMorgue()public java.lang.String getDonation()
ClangetDonation in interface ClanClan.setDonation(String)public void setDonation(java.lang.String newDonation)
ClansetDonation in interface ClannewDonation - the roomID of this clans donation roomClan.getDonation()public java.util.List<Clan.MemberRecord> getMemberList()
ClangetMemberList in interface ClanClan.getMemberList(int), 
Clan.getFullMemberList(), 
Clan.MemberRecordpublic int filterMedianLevel(java.util.List<Clan.FullMemberRecord> members)
public java.util.List<Clan.MemberRecord> filterMemberList(java.util.List<? extends Clan.MemberRecord> members, int posFilter)
public java.util.List<Clan.MemberRecord> getMemberList(int posFilter)
ClangetMemberList in interface ClanposFilter - the position filterClan, 
Clan.MemberRecordpublic Clan.MemberRecord findMemberRecord(java.lang.String name)
ClanfindMemberRecord in interface Clanname - the name of the memberClan.getMemberList(int), 
Clan.getFullMemberList(), 
Clan.MemberRecordpublic MOB findMember(java.lang.String name)
ClanfindMember in interface Clanname - the name of the memberClan.getMemberList(int), 
Clan.getFullMemberList(), 
Clan.MemberRecordpublic Clan.MemberRecord getMember(java.lang.String name)
ClangetMember in interface Clanname - the name of the memberClan.getMemberList(int), 
Clan.getFullMemberList()public java.util.List<Clan.FullMemberRecord> getFullMemberList()
ClangetFullMemberList in interface ClanClan.getMemberList(), 
Clan.FullMemberRecordpublic int getNumVoters(Clan.Function function)
ClangetNumVoters in interface Clanfunction - the FUNC_* constantClanpublic java.util.List<java.lang.Integer> getTopRankedRoles(Clan.Function func)
ClangetTopRankedRoles in interface Clanfunc - the function to perform, or null just to return privileged rankClanPosition, 
Clan.Functionpublic int getNumberRoles()
ClangetNumberRoles in interface Clanpublic int getTopQualifiedRoleID(Clan.Function func, MOB mob)
ClangetTopQualifiedRoleID in interface Clanfunc - the function (or null) they must be able to domob - the mob to check for a top rankClanPosition, 
Clan.Functionpublic int getRoleFromName(java.lang.String position)
ClangetRoleFromName in interface Clanposition - the name of the position to look forpublic boolean isPubliclyListedFor(MOB mob)
ClanisPubliclyListedFor in interface Clanmob - the person viewingpublic java.lang.String[] getRolesList()
ClangetRolesList in interface Clanpublic int getMostInRole(int roleID)
ClangetMostInRole in interface ClanroleID - the role to get a max forpublic java.lang.String getRoleName(int roleID,
                                    boolean titleCase,
                                    boolean plural)
ClangetRoleName in interface ClanroleID - the role code of the role to describetitleCase - whether or not to uppercase the first wordplural - whether or not to return the word as a pluralprotected boolean isSafeFromPurge()
public boolean tick(Tickable ticking, int tickID)
Tickabletick in interface Tickableticking - a reference to this Tickable objecttickID - the TICKID_ constant describing this periodic call, as defined in TickableTickable, 
ServiceEngine, 
TickableGrouppublic boolean doesOutRank(int highRoleID,
                           int lowRoleID)
ClandoesOutRank in interface ClanhighRoleID - firstlowRoleID - secondpublic void clanAnnounce(java.lang.String msg)
ClanclanAnnounce in interface Clanmsg - the message to sendpublic SearchIDList<Ability> clanAbilities(MOB mob)
ClanclanAbilities in interface Clanmob - the mob to grant the abilities toAbilitypublic int numClanEffects(MOB mob)
ClannumClanEffects in interface Clanmob - the mob to grant the abilities toAbilitypublic ChameleonList<Ability> clanEffects(MOB mob)
ClanclanEffects in interface Clanmob - the mob to grant the abilities toAbilitypublic int applyExpMods(MOB memberM, int exp)
ClanapplyExpMods in interface ClanmemberM - member the person contributing the xpexp - the old experienceprotected MOB getLoadResponsibleMember()
public java.lang.String getResponsibleMemberName()
ClangetResponsibleMemberName in interface Clanpublic ItemCollection getExtItems()
ClangetExtItems in interface ClanItemCollection, 
Itempublic void addTattoo(java.lang.String of)
addTattoo in interface Tattooableof - the permanent tattoo name to addTattooable, 
Tattooable.addTattoo(String, int), 
Tattooable.addTattoo(Tattoo)public void addTattoo(java.lang.String of,
                      int tickDown)
TattooableaddTattoo in interface Tattooableof - the permanent tattoo name to addtickDown - the ticks of life for this tattooTattooable, 
Tattooable.addTattoo(String), 
Tattooable.addTattoo(Tattoo)public boolean delTattoo(java.lang.String of)
TattooabledelTattoo in interface Tattooableof - the tattoo name of the tattoo to removeTattooable, 
Tattooable.delTattoo(Tattoo)public void addTattoo(Tattoo of)
TattooableaddTattoo in interface Tattooableof - the tattoo object to addTattooable, 
Tattooable.addTattoo(String, int), 
Tattooable.addTattoo(String)public void delTattoo(Tattoo of)
TattooabledelTattoo in interface Tattooableof - the tattoo object to removeTattooable, 
Tattooable.delTattoo(String)public java.util.Enumeration<Tattoo> tattoos()
Tattooabletattoos in interface TattooableTattooablepublic Tattoo findTattoo(java.lang.String of)
TattooablefindTattoo in interface Tattooableof - the marker name to return a tattoo forTattooable, 
Tattooable.findTattooStartsWith(String)public Tattoo findTattooStartsWith(java.lang.String of)
TattooablefindTattooStartsWith in interface Tattooableof - the marker name to return a tattoo starter forTattooable, 
Tattooable.findTattoo(String)public void killAchievementTracker(AchievementLibrary.Achievement A, Tattooable C, MOB mob)
AchievablekillAchievementTracker in interface AchievableA - the achievement to kill the tracker forC - the mob or clan being trackedmob - the mob to delete a tracker forAchievable.rebuildAchievementTracker(Tattooable, MOB, String), 
AchievementLibrary.Tracker, 
AchievementLibrary.Achievementpublic AchievementLibrary.Tracker getAchievementTracker(AchievementLibrary.Achievement A, Tattooable C, MOB mob)
AchievablegetAchievementTracker in interface AchievableA - the achievement to get the tracker forC - the mob or clan being trackedmob - the mob to create a tracker for#see Achievable#killAchievementTracker(Achievement, MOB), 
AchievementLibrary.Tracker, 
AchievementLibrary.Achievementpublic void rebuildAchievementTracker(Tattooable C, MOB mob, java.lang.String achievementTattoo)
AchievablerebuildAchievementTracker in interface AchievableC - the mob or clan being trackedmob - the mob to modify the tracker for.achievementTattoo - the tattoo/id of the achievementAchievable.getAchievementTracker(com.planet_ink.coffee_mud.Libraries.interfaces.AchievementLibrary.Achievement, Tattooable, MOB)public Pair<java.lang.String,java.lang.String> getPreferredBanking()
getPreferredBanking in interface Clanpublic java.lang.String[] getStatCodes()
ModifiablegetStatCodes in interface ModifiableModifiable.getStat(String), 
Modifiable.setStat(String, String)public int getSaveStatIndex()
ModifiablegetSaveStatIndex in interface ModifiableModifiable.getStatCodes(), 
Modifiable.getStat(String), 
Modifiable.setStat(String, String)public boolean isStat(java.lang.String code)
ModifiableisStat in interface Modifiablecode - the name of the field to read.Modifiable.getStatCodes()public java.lang.String getStat(java.lang.String code)
ModifiablegetStat in interface Modifiablecode - the name of the field to read.Modifiable.getStatCodes()public void setStat(java.lang.String code,
                    java.lang.String val)
ModifiablesetStat in interface Modifiablecode - the name of the field to setval - the value to set the field toModifiable.getStatCodes()