Class GroupContext
java.lang.Object
com.github.happyuky7.swi.api.context.GroupContext
Identifies one storage context: a group name plus the kind of group.
Every player has one independent set of data (inventory, ender chest, XP...) per context.
-
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull Stringgroup()inthashCode()booleanisRegion()static @NotNull GroupContextof(@NotNull ContextType type, @NotNull String group) static @NotNull GroupContexttoString()@NotNull ContextTypetype()static @NotNull GroupContext
-
Method Details
-
of
@NotNull public static @NotNull GroupContext of(@NotNull @NotNull ContextType type, @NotNull @NotNull String group) -
world
-
region
-
type
-
group
-
isRegion
public boolean isRegion() -
equals
-
hashCode
-
toString
-