Package de.z0rdak.yawp.api.events.region
Class FlagCheckResult
java.lang.Object
de.z0rdak.yawp.api.events.region.FlagCheckResult
Represents the result of a flag check.
Contains the responsible region, the flag, the position, the player and the result.
-
Constructor Summary
ConstructorsConstructorDescriptionFlagCheckResult(FlagCheckEvent flagCheck, FlagState state, @Nullable IProtectedRegion responsibleRegion, @Nullable IFlag flag) -
Method Summary
Modifier and TypeMethodDescription@Nullable IFlaggetFlag()@Nullable IProtectedRegionvoidsetFlagState(FlagState result) static FlagCheckResultUndefined(FlagCheckEvent flagCheck)
-
Constructor Details
-
FlagCheckResult
public FlagCheckResult(FlagCheckEvent flagCheck, FlagState state, @Nullable @Nullable IProtectedRegion responsibleRegion, @Nullable @Nullable IFlag flag)
-
-
Method Details
-
Undefined
-
getResponsible
-
getFlagCheck
-
getFlagState
-
setFlagState
-
getFlag
-