Class BonesDiceServer
java.lang.Object
VASSAL.build.module.dice.DieServer
VASSAL.build.module.dice.BonesDiceServer
- All Implemented Interfaces:
Auditable
-
Field Summary
Fields inherited from class DieServer
canDoSeparateDice, description, emailOnly, maxEmails, maxRolls, name, passwdRequired, password, primaryEmail, ran, secondaryEmail, serverURL, useEmail -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]voidvoidparseInternetRollString(RollSet rollSet, Vector<String> results) voidroll(RollSet mr, FormattedString format) Methods inherited from class DieServer
doInternetRoll, extractEmail, formatResult, getDescription, getMaxEmails, getName, getnDiceList, getnSideList, getPasswd, getPrimaryEmail, getReportPrefix, getSecondaryEmail, getUseEmail, isPasswdRequired, reportResult, setPasswd, setPrimaryEmail, setSecondaryEmail, setUseEmailModifier and TypeMethodDescriptionvoiddoInternetRoll(RollSet mroll, FormattedString format) extractEmail(String email) protected StringformatResult(String description, String result, FormattedString format) Use the configured FormattedString to format the result of a rollintgetName()int[]int[]protected StringThe text reported before the results of the rollbooleanbooleanvoidreportResult(RollSet mroll, FormattedString format) voidvoidvoidvoidsetUseEmail(boolean use) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Auditable
getComponentName, getComponentTypeName
-
Constructor Details
-
BonesDiceServer
public BonesDiceServer()
-
-
Method Details
-
buildInternetRollString
- Specified by:
buildInternetRollStringin classDieServer
-
parseInternetRollString
- Specified by:
parseInternetRollStringin classDieServer
-
roll
-
doIRoll
- Overrides:
doIRollin classDieServer- Throws:
IOException
-