Skip to content

Manage the rotation data structure #1

@vdubus

Description

@vdubus

Data structure

Rotation

Fields

  • name - String
  • description - String
  • specialization - Long
  • mode - String a code which specify the mode of the rotation.
    • PvE - For PvE use.
    • PvE_B - For PvE use against a Boss.
    • PvE_G - For PvE use against a group of ennemies.
    • PvP - For PvP use.
  • spells - List<Spell>

Spell

Fields

  • id - Long
  • name - String
  • description - String
  • rule - a Rule

Description

Rule

Fields

  • type - String
  • name - String
  • description - String
  • value - Whatever kind of value (will be manage in function of the type)
    • Long
    • String
    • Boolean
    • Rule
    • List<Rule>

Description

A Rule is manage in function of it's type

Type of rule

AndList

A list of ordered Rule where all Rule need to be valid at the same time.

OrList

A list of ordered Rule where only one Rule need to be valid.

Not

A Rule which check the negation of the Rule inside.

CheckResource

A Rule to check the current pool of a specific ressource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions