Class RollResult

java.lang.Object
de.rpgframework.genericrpg.data.DataItem
de.rpgframework.genericrpg.data.ComplexDataItem
de.rpgframework.random.RollResult
All Implemented Interfaces:
de.rpgframework.genericrpg.data.ChoiceOrigin

@DataItemTypeKey(id="rollResult") public class RollResult extends de.rpgframework.genericrpg.data.ComplexDataItem
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     

    Fields inherited from class de.rpgframework.genericrpg.data.ComplexDataItem

    choices, hasLevel, modifications, requires, userSelectableFlags

    Fields inherited from class de.rpgframework.genericrpg.data.DataItem

    datasets, id, lang, languageAlternatives, logger, parentItem, parentSet
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    boolean
    isInRange(int num)
     
     

    Methods inherited from class de.rpgframework.genericrpg.data.ComplexDataItem

    addChoice, addOutgoingModifications, addUserSelectableFlag, getChoice, getChoice, getChoice, getChoiceName, getChoiceOptionString, getChoiceOptionStrings, getChoices, getHardcodedChoice, getModificationChoice, getOutgoingModifications, getRequirements, getUserSelectableFlags, getVariantName, hasLevel, hasUserSelectableFlag, resolveWithinItem, setHasLevel, validate

    Methods inherited from class de.rpgframework.genericrpg.data.DataItem

    addLanguageAlternative, assignToDataSet, getAssignedDataSets, getDescription, getDescription, getFirstParent, getId, getLanguage, getLanguageAlternative, getLanguageAlternatives, getLocalizedString, getLocalizedString, getName, getName, getPageReferences, getResource, getShortName, getTypeString, hasLanguageAlternative, hasLicense, hasLicense, inDataSets, preferWithLocale, setId, setParentItem, toListPreferringLocale

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • nextTable

      @Attribute protected String nextTable
  • Constructor Details

    • RollResult

      public RollResult()
  • Method Details

    • isInRange

      public boolean isInRange(int num)
    • toString

      public String toString()
      Overrides:
      toString in class de.rpgframework.genericrpg.data.DataItem
      Returns:
      the value
    • getValue

      public String getValue()
      Returns:
      the value
    • getNextTable

      public String getNextTable()
      Returns:
      the nextTable
    • getSubtables

      public RollTableList getSubtables()
      Returns:
      the subtables
    • getAddActor

      public AddActorInstruction getAddActor()
      Returns:
      the addActor