diff --git a/runelite-api/src/main/java/net/runelite/api/vars/AccountType.java b/runelite-api/src/main/java/net/runelite/api/vars/AccountType.java index 63c5e953f7..a25a52ed82 100644 --- a/runelite-api/src/main/java/net/runelite/api/vars/AccountType.java +++ b/runelite-api/src/main/java/net/runelite/api/vars/AccountType.java @@ -44,16 +44,33 @@ public enum AccountType /** * Hardcore ironman account type. */ - HARDCORE_IRONMAN; + HARDCORE_IRONMAN, + /** + * Group ironman account type + */ + GROUP_IRONMAN, + /** + * Hardcore group ironman account type + */ + HARDCORE_GROUP_IRONMAN; /** - * Checks whether this type is an ironman. + * Checks whether this type is a non-group ironman. * - * @return {@code true} if the type is any of the ironman types. + * @return {@code true} if the type is any of the non-group ironman types. */ public boolean isIronman() { return this.ordinal() >= IRONMAN.ordinal() && this.ordinal() <= HARDCORE_IRONMAN.ordinal(); } + /** + * Checks whether this type is a group ironman. + * + * @return {@code true} if the type is either of the group ironman types. + */ + public boolean isGroupIronman() + { + return this.ordinal() >= GROUP_IRONMAN.ordinal() && this.ordinal() <= HARDCORE_GROUP_IRONMAN.ordinal(); + } }