Class FlagMessage.FlagCorrelation

java.lang.Object
de.z0rdak.yawp.core.flag.FlagMessage.FlagCorrelation
Enclosing class:
FlagMessage

public static final class FlagMessage.FlagCorrelation extends Object
A correlation of a region and a flag.
This is used to determine the responsible region for a flag state. This region is not necessarily the region responsible for the flag check event. It could be a parent region which overrides the flag state of the child region.
  • Field Details

  • Constructor Details

  • Method Details

    • getRegion

      public IProtectedRegion getRegion()
    • getFlag

      @Nullable public @Nullable IFlag getFlag()
    • hasFlag

      public boolean hasFlag()