|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClanGovernment
A class defining the characteristics of a clan government, and its membership.
| Method Summary | |
|---|---|
ClanPosition |
addPosition()
Adds the position. |
void |
delPosition(ClanPosition pos)
Del position. |
int |
getAcceptPos()
Gets the accept pos. |
Clan.AutoPromoteFlag |
getAutoPromoteBy()
Gets the auto promote by. |
int |
getAutoRole()
Gets the auto role. |
java.util.List<Ability> |
getClanLevelAbilities(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,
java.lang.Integer level)
Return the list of effects owned by someone who is part of a clan of the given level. |
int |
getClanLevelEffectsSize(MOB mob,
java.lang.Integer level)
Return the size of the list of effects owned by someone who is a part of this clan of the given level. |
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 |
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. |
int |
getVoteQuorumPct()
Gets the vote quorum pct. |
java.util.LinkedList<CMath.CompiledOperation> |
getXPCalculationFormula()
|
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. |
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 |
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 |
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 |
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 |
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. |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| 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 |
|---|
int getID()
void setID(int iD)
iD - the new iDjava.lang.String getName()
void setName(java.lang.String name)
name - the new nameint getAutoRole()
void setAutoRole(int autoRole)
autoRole - the new auto roleint getAcceptPos()
void setAcceptPos(int acceptPos)
acceptPos - the new accept posjava.lang.String getShortDesc()
void setShortDesc(java.lang.String shortDesc)
shortDesc - the new short descjava.lang.String getLongDesc()
void setLongDesc(java.lang.String longDesc)
longDesc - the new long descjava.lang.String getRequiredMaskStr()
void setRequiredMaskStr(java.lang.String requiredMaskStr)
requiredMaskStr - the new required mask strboolean isPublic()
void setPublic(boolean isPublic)
isPublic - the new publicboolean isFamilyOnly()
void setFamilyOnly(boolean isFamilyOnly)
isFamilyOnly - the new family onlyjava.lang.Integer getOverrideMinMembers()
void setOverrideMinMembers(java.lang.Integer overrideMinMembers)
overrideMinMembers - the new override min membersboolean isConquestEnabled()
void setConquestEnabled(boolean conquestEnabled)
conquestEnabled - the new conquest enabledboolean isConquestItemLoyalty()
void setConquestItemLoyalty(boolean conquestItemLoyalty)
conquestItemLoyalty - the new conquest item loyaltyboolean isConquestByWorship()
void setConquestByWorship(boolean conquestByWorship)
conquestByWorship - the new conquest by worshipint getMaxVoteDays()
void setMaxVoteDays(int maxVoteDays)
maxVoteDays - the new max vote daysint getVoteQuorumPct()
void setVoteQuorumPct(int voteQuorumPct)
voteQuorumPct - the new vote quorum pctjava.lang.String getXpCalculationFormulaStr()
void setXpCalculationFormulaStr(java.lang.String xpCalculationFormulaStr)
xpCalculationFormula - the new xp calculation formulajava.util.LinkedList<CMath.CompiledOperation> getXPCalculationFormula()
boolean isDefault()
void setDefault(boolean isDefault)
isDefault - the new defaultClanPosition[] getPositions()
void setPositions(ClanPosition[] positions)
positions - the new positionsClan.AutoPromoteFlag getAutoPromoteBy()
void setAutoPromoteBy(Clan.AutoPromoteFlag autoPromoteBy)
autoPromoteBy - the new auto promote byint[] getLevelProgression()
void setLevelProgression(int[] levelProgression)
levelProgression - the new level progressionjava.lang.String getHelpStr()
ClanPosition addPosition()
void delPosition(ClanPosition pos)
pos - the posClanPosition getPosition(java.lang.String pos)
pos - the pos
java.util.List<Ability> getClanLevelAbilities(java.lang.Integer level)
level - clan level
ChameleonList<Ability> getClanLevelEffects(MOB mob,
java.lang.Integer level)
mob - the mob affectedlevel - clan level
int getClanLevelEffectsSize(MOB mob,
java.lang.Integer level)
mob - the mob affectedlevel - the clan level
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||