java.lang.Cloneable, CMCommon, CMObject, java.lang.Comparable<CMObject>, ModifiableDefaultClanGovernmentpublic interface ClanGovernment extends Modifiable, CMCommon
idConverter| Modifier and Type | Method | Description | 
|---|---|---|
| ClanPosition | addPosition() | Adds the position. | 
| void | delPosition(ClanPosition pos) | Del position. | 
| ClanPosition | findPositionRole(java.lang.Integer roleID) | returns clan position by the given role id | 
| ClanPosition | findPositionRole(java.lang.String pos) | returns clan position based on role id, or some part
 of its id or name. | 
| int | getAcceptPos() | Gets the accept pos. | 
| Clan.AutoPromoteFlag | getAutoPromoteBy() | Gets the auto promote by. | 
| int | getAutoRole() | Gets the auto role. | 
| java.lang.String | getCategory() | Gets the category. | 
| SearchIDList<Ability> | getClanLevelAbilities(MOB mob,
                     Clan clan,
                     java.lang.Integer level) | Return the list of abilities owned by someone
 who is part of a clan of the given level. | 
| ChameleonList<Ability> | getClanLevelEffects(MOB mob,
                   Clan clan,
                   java.lang.Integer level) | Return the list of effects owned by someone
 who is part of a clan of the given level. | 
| java.lang.String | getEntryScript() | Gets the Scriptable parm when joining/creating a clan. | 
| java.lang.String | getExitScript() | Gets the Scriptable parm when resigning/exiling a clan. | 
| java.lang.String | getHelpStr() | Gets the help str. | 
| int | getID() | Gets the iD. | 
| int[] | getLevelProgression() | Gets the level progression. | 
| java.lang.String | getLongDesc() | Gets the long desc. | 
| int | getMaxVoteDays() | Gets the max vote days. | 
| java.lang.String | getMiscVariableSettings() | Returns a miscellaneous variable setting configuration string
 to be applied to new clans created with this government. | 
| java.lang.String | getName() | Gets the name. | 
| java.lang.Integer | getOverrideMinMembers() | Gets the override min members. | 
| ClanPosition | getPosition(java.lang.String pos) | Gets the position. | 
| ClanPosition[] | getPositions() | Gets the positions. | 
| java.lang.String | getRequiredMaskStr() | Gets the required mask str. | 
| java.lang.String | getShortDesc() | Gets the short desc. | 
| java.util.List<java.lang.String> | getTitleAwards() | Returns a list of titles granted to players of clans
 in this government. | 
| int | getVoteQuorumPct() | Gets the vote quorum pct. | 
| CMath.CompiledFormula | getXPCalculationFormula() | Returns the compiled xp calculation formula | 
| java.lang.String | getXpCalculationFormulaStr() | Gets the xp calculation formula. | 
| boolean | isConquestByWorship() | Checks if is conquest by worship. | 
| boolean | isConquestEnabled() | Checks if is conquest enabled. | 
| boolean | isConquestItemLoyalty() | Checks if is conquest item loyalty. | 
| boolean | isDefault() | Checks if is default. | 
| boolean | isFamilyOnly() | Checks if is family only. | 
| boolean | isPublic() | Checks if is public. | 
| 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. | 
| void | setAcceptPos(int acceptPos) | Sets the accept pos. | 
| void | setAutoPromoteBy(Clan.AutoPromoteFlag autoPromoteBy) | Sets the auto promote by. | 
| void | setAutoRole(int autoRole) | Sets the auto role. | 
| void | setCategory(java.lang.String category) | Sets the category. | 
| void | setConquestByWorship(boolean conquestByWorship) | Sets the conquest by worship. | 
| void | setConquestEnabled(boolean conquestEnabled) | Sets the conquest enabled. | 
| void | setConquestItemLoyalty(boolean conquestItemLoyalty) | Sets the conquest item loyalty. | 
| void | setDefault(boolean isDefault) | Sets the default. | 
| void | setEntryScript(java.lang.String scriptParm) | Sets the Scriptable parm when joining/creating a clan. | 
| void | setExitScript(java.lang.String scriptParm) | Sets the Scriptable parm when resigning/exiling a clan. | 
| void | setFamilyOnly(boolean isFamilyOnly) | Sets the family only. | 
| void | setID(int iD) | Sets the iD. | 
| void | setLevelProgression(int[] levelProgression) | Sets the level progression. | 
| void | setLongDesc(java.lang.String longDesc) | Sets the long desc. | 
| void | setMaxVoteDays(int maxVoteDays) | Sets the max vote days. | 
| void | setMiscVariableSettings(java.lang.String vars) | Sets a miscellaneous variable setting configuration string
 to be applied to new clans created with this government. | 
| void | setName(java.lang.String name) | Sets the name. | 
| void | setOverrideMinMembers(java.lang.Integer overrideMinMembers) | Sets the override min members. | 
| void | setPositions(ClanPosition[] positions) | Sets the positions. | 
| void | setPublic(boolean isPublic) | Sets the public. | 
| void | setRequiredMaskStr(java.lang.String requiredMaskStr) | Sets the required mask str. | 
| 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 | setShortDesc(java.lang.String shortDesc) | Sets the short desc. | 
| void | setVoteQuorumPct(int voteQuorumPct) | Sets the vote quorum pct. | 
| void | setXpCalculationFormulaStr(java.lang.String xpCalculationFormulaStr) | Sets the xp calculation formula. | 
copyOf, ID, initializeClass, name, newInstancegetSaveStatIndex, getStat, getStatCodes, isStat, setStatint getID()
getID()void setID(int iD)
iD - the new iDgetID()java.lang.String getName()
setName(String)void setName(java.lang.String name)
name - the new namegetName()java.lang.String getCategory()
setCategory(String)void setCategory(java.lang.String category)
category - the new categorygetCategory()int getAutoRole()
setAutoRole(int)void setAutoRole(int autoRole)
autoRole - the new auto rolegetAutoRole()int getAcceptPos()
setAcceptPos(int)void setAcceptPos(int acceptPos)
acceptPos - the new accept posgetAcceptPos()java.lang.String getShortDesc()
setShortDesc(String)void setShortDesc(java.lang.String shortDesc)
shortDesc - the new short descgetShortDesc()java.lang.String getLongDesc()
setLongDesc(String)void setLongDesc(java.lang.String longDesc)
longDesc - the new long descgetLongDesc()java.lang.String getRequiredMaskStr()
setRequiredMaskStr(String)void setRequiredMaskStr(java.lang.String requiredMaskStr)
requiredMaskStr - the new required mask strgetRequiredMaskStr()java.lang.String getEntryScript()
setEntryScript(String)void setEntryScript(java.lang.String scriptParm)
scriptParm - the Scriptable parmgetEntryScript()java.lang.String getExitScript()
setExitScript(String)void setExitScript(java.lang.String scriptParm)
scriptParm - the Scriptable parmgetExitScript()boolean isPublic()
setPublic(boolean)void setPublic(boolean isPublic)
isPublic - the new publicisPublic()boolean isFamilyOnly()
setFamilyOnly(boolean)void setFamilyOnly(boolean isFamilyOnly)
isFamilyOnly - the new family onlyisFamilyOnly()java.util.List<java.lang.String> getTitleAwards()
boolean isRivalrous()
setRivalrous(boolean)void setRivalrous(boolean isRivalrous)
isRivalrous - true or falseisRivalrous()java.lang.Integer getOverrideMinMembers()
setOverrideMinMembers(Integer)void setOverrideMinMembers(java.lang.Integer overrideMinMembers)
overrideMinMembers - the new override min membersgetOverrideMinMembers()boolean isConquestEnabled()
setConquestEnabled(boolean)void setConquestEnabled(boolean conquestEnabled)
conquestEnabled - the new conquest enabledisConquestEnabled()boolean isConquestItemLoyalty()
setConquestItemLoyalty(boolean)void setConquestItemLoyalty(boolean conquestItemLoyalty)
conquestItemLoyalty - the new conquest item loyaltyisConquestItemLoyalty()boolean isConquestByWorship()
setConquestByWorship(boolean)void setConquestByWorship(boolean conquestByWorship)
conquestByWorship - the new conquest by worshipisConquestByWorship()int getMaxVoteDays()
setMaxVoteDays(int)void setMaxVoteDays(int maxVoteDays)
maxVoteDays - the new max vote daysgetMaxVoteDays()int getVoteQuorumPct()
setVoteQuorumPct(int)void setVoteQuorumPct(int voteQuorumPct)
voteQuorumPct - the new vote quorum pctgetVoteQuorumPct()java.lang.String getMiscVariableSettings()
setMiscVariableSettings(String)void setMiscVariableSettings(java.lang.String vars)
vars - the coded var stringgetMiscVariableSettings()java.lang.String getXpCalculationFormulaStr()
setXpCalculationFormulaStr(String), 
getXPCalculationFormula()void setXpCalculationFormulaStr(java.lang.String xpCalculationFormulaStr)
xpCalculationFormulaStr - the new xp calculation formulasetXpCalculationFormulaStr(String), 
getXPCalculationFormula()CMath.CompiledFormula getXPCalculationFormula()
setXpCalculationFormulaStr(String), 
getXpCalculationFormulaStr()boolean isDefault()
setDefault(boolean)void setDefault(boolean isDefault)
isDefault - the new defaultisDefault()ClanPosition[] getPositions()
setPositions(ClanPosition[])void setPositions(ClanPosition[] positions)
positions - the new positionsgetPositions()Clan.AutoPromoteFlag getAutoPromoteBy()
setAutoPromoteBy(com.planet_ink.coffee_mud.Common.interfaces.Clan.AutoPromoteFlag)void setAutoPromoteBy(Clan.AutoPromoteFlag autoPromoteBy)
autoPromoteBy - the new auto promote bygetAutoPromoteBy()int[] getLevelProgression()
setLevelProgression(int[])void setLevelProgression(int[] levelProgression)
levelProgression - the new level progressiongetLevelProgression()java.lang.String getHelpStr()
ClanPosition addPosition()
delPosition(ClanPosition), 
getPosition(String), 
findPositionRole(Integer), 
findPositionRole(String)void delPosition(ClanPosition pos)
pos - the posaddPosition(), 
getPosition(String), 
findPositionRole(Integer), 
findPositionRole(String)ClanPosition getPosition(java.lang.String pos)
pos - the posdelPosition(ClanPosition), 
addPosition(), 
findPositionRole(Integer), 
findPositionRole(String)ClanPosition findPositionRole(java.lang.Integer roleID)
roleID - the role id to look fordelPosition(ClanPosition), 
addPosition(), 
getPosition(String), 
findPositionRole(String)ClanPosition findPositionRole(java.lang.String pos)
pos - the role id, name, or iddelPosition(ClanPosition), 
addPosition(), 
getPosition(String), 
findPositionRole(Integer)SearchIDList<Ability> getClanLevelAbilities(MOB mob, Clan clan, java.lang.Integer level)
mob - the mob enabledclan - the clan the abilities come fromlevel - clan levelChameleonList<Ability> getClanLevelEffects(MOB mob, Clan clan, java.lang.Integer level)
mob - the mob affectedclan - the clan the effects come fromlevel - clan level