Enum VarPlayer

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VarPlayer>

    public enum VarPlayer
    extends java.lang.Enum<VarPlayer>
    Server controlled "content-developer" integers. VarPlayers are stored per RuneScape player save, and synchronized from the server to the client. The client can change them preemptively if it thinks they will change the next tick as a lag-hiding measure. The client CANNOT directly make the server change a varbit.
    • Enum Constant Detail

      • ATTACK_STYLE

        public static final VarPlayer ATTACK_STYLE
      • QUEST_POINTS

        public static final VarPlayer QUEST_POINTS
      • POISON

        public static final VarPlayer POISON
        -1 : Poison immune Normal poison damage is ceil( this / 5.0f ) If this is greater than or equal to 1000000, the player is envenomed. Venom damage is (this - 999997) * 2
      • BANK_TAB

        public static final VarPlayer BANK_TAB
      • MOUSE_BUTTONS

        public static final VarPlayer MOUSE_BUTTONS
        0 = 2 buttons, 1 = 1 button
      • AUTO_RETALIATE

        public static final VarPlayer AUTO_RETALIATE
        This has a value of 0 if you have auto retaliate enabled and a value of 1 if you do not
      • POUCH_STATUS

        public static final VarPlayer POUCH_STATUS
      • TUTORIAL_ISLAND

        public static final VarPlayer TUTORIAL_ISLAND
      • DUEL_PENDING

        public static final VarPlayer DUEL_PENDING
      • SPECIAL_ATTACK_PERCENT

        public static final VarPlayer SPECIAL_ATTACK_PERCENT
      • SPECIAL_ATTACK_ENABLED

        public static final VarPlayer SPECIAL_ATTACK_ENABLED
      • DISEASE_VALUE

        public static final VarPlayer DISEASE_VALUE
        Seems to start at 50(10 splash) and goes down by 1 every 30 seconds
      • MAGIC_CARPET_TRAVEL

        public static final VarPlayer MAGIC_CARPET_TRAVEL
        1 if traveling
      • NMZ_REWARD_POINTS

        public static final VarPlayer NMZ_REWARD_POINTS
      • ATTACKING_PLAYER

        public static final VarPlayer ATTACKING_PLAYER
        The 11 least significant bits of this var correspond to the player you're currently fighting. Value is -1 when not fighting any player.
      • CURRENT_GE_ITEM

        public static final VarPlayer CURRENT_GE_ITEM
        Item currently active in the creation of a buy or sell offer
      • KEY_BINDINGS1

        public static final VarPlayer KEY_BINDINGS1
      • KEY_BINDINGS2

        public static final VarPlayer KEY_BINDINGS2
      • KEY_BINDINGS3

        public static final VarPlayer KEY_BINDINGS3
      • ATTACK_GOAL_START

        public static final VarPlayer ATTACK_GOAL_START
        Experience tracker goal start.
      • STRENGTH_GOAL_START

        public static final VarPlayer STRENGTH_GOAL_START
      • RANGED_GOAL_START

        public static final VarPlayer RANGED_GOAL_START
      • MAGIC_GOAL_START

        public static final VarPlayer MAGIC_GOAL_START
      • DEFENCE_GOAL_START

        public static final VarPlayer DEFENCE_GOAL_START
      • HITPOINTS_GOAL_START

        public static final VarPlayer HITPOINTS_GOAL_START
      • PRAYER_GOAL_START

        public static final VarPlayer PRAYER_GOAL_START
      • AGILITY_GOAL_START

        public static final VarPlayer AGILITY_GOAL_START
      • HERBLORE_GOAL_START

        public static final VarPlayer HERBLORE_GOAL_START
      • THIEVING_GOAL_START

        public static final VarPlayer THIEVING_GOAL_START
      • CRAFTING_GOAL_START

        public static final VarPlayer CRAFTING_GOAL_START
      • RUNECRAFT_GOAL_START

        public static final VarPlayer RUNECRAFT_GOAL_START
      • MINING_GOAL_START

        public static final VarPlayer MINING_GOAL_START
      • SMITHING_GOAL_START

        public static final VarPlayer SMITHING_GOAL_START
      • FISHING_GOAL_START

        public static final VarPlayer FISHING_GOAL_START
      • COOKING_GOAL_START

        public static final VarPlayer COOKING_GOAL_START
      • FIREMAKING_GOAL_START

        public static final VarPlayer FIREMAKING_GOAL_START
      • WOODCUTTING_GOAL_START

        public static final VarPlayer WOODCUTTING_GOAL_START
      • FLETCHING_GOAL_START

        public static final VarPlayer FLETCHING_GOAL_START
      • SLAYER_GOAL_START

        public static final VarPlayer SLAYER_GOAL_START
      • FARMING_GOAL_START

        public static final VarPlayer FARMING_GOAL_START
      • CONSTRUCTION_GOAL_START

        public static final VarPlayer CONSTRUCTION_GOAL_START
      • HUNTER_GOAL_START

        public static final VarPlayer HUNTER_GOAL_START
      • ATTACK_GOAL_END

        public static final VarPlayer ATTACK_GOAL_END
        Experience tracker goal end.
      • STRENGTH_GOAL_END

        public static final VarPlayer STRENGTH_GOAL_END
      • RANGED_GOAL_END

        public static final VarPlayer RANGED_GOAL_END
      • MAGIC_GOAL_END

        public static final VarPlayer MAGIC_GOAL_END
      • DEFENCE_GOAL_END

        public static final VarPlayer DEFENCE_GOAL_END
      • HITPOINTS_GOAL_END

        public static final VarPlayer HITPOINTS_GOAL_END
      • PRAYER_GOAL_END

        public static final VarPlayer PRAYER_GOAL_END
      • AGILITY_GOAL_END

        public static final VarPlayer AGILITY_GOAL_END
      • HERBLORE_GOAL_END

        public static final VarPlayer HERBLORE_GOAL_END
      • THIEVING_GOAL_END

        public static final VarPlayer THIEVING_GOAL_END
      • CRAFTING_GOAL_END

        public static final VarPlayer CRAFTING_GOAL_END
      • RUNECRAFT_GOAL_END

        public static final VarPlayer RUNECRAFT_GOAL_END
      • MINING_GOAL_END

        public static final VarPlayer MINING_GOAL_END
      • SMITHING_GOAL_END

        public static final VarPlayer SMITHING_GOAL_END
      • FISHING_GOAL_END

        public static final VarPlayer FISHING_GOAL_END
      • COOKING_GOAL_END

        public static final VarPlayer COOKING_GOAL_END
      • FIREMAKING_GOAL_END

        public static final VarPlayer FIREMAKING_GOAL_END
      • WOODCUTTING_GOAL_END

        public static final VarPlayer WOODCUTTING_GOAL_END
      • FLETCHING_GOAL_END

        public static final VarPlayer FLETCHING_GOAL_END
      • SLAYER_GOAL_END

        public static final VarPlayer SLAYER_GOAL_END
      • FARMING_GOAL_END

        public static final VarPlayer FARMING_GOAL_END
      • CONSTRUCTION_GOAL_END

        public static final VarPlayer CONSTRUCTION_GOAL_END
      • HUNTER_GOAL_END

        public static final VarPlayer HUNTER_GOAL_END
      • IN_RAID_PARTY

        public static final VarPlayer IN_RAID_PARTY
        The ID of the party. This Var is only set in the raid bank area and the raid lobby This gets set to -1 when the raid starts. This is first set when the first player of the friends chat forms a party on the recruiting board and it changes again when the first person actually enters the raid. -1 : Not in a party or in the middle of an ongoing raid Anything else : This means that your friends chat has a raid party being formed and has not started yet
      • BIRD_HOUSE_MEADOW_NORTH

        public static final VarPlayer BIRD_HOUSE_MEADOW_NORTH
        Bird house states
      • BIRD_HOUSE_MEADOW_SOUTH

        public static final VarPlayer BIRD_HOUSE_MEADOW_SOUTH
      • BIRD_HOUSE_VALLEY_NORTH

        public static final VarPlayer BIRD_HOUSE_VALLEY_NORTH
      • BIRD_HOUSE_VALLEY_SOUTH

        public static final VarPlayer BIRD_HOUSE_VALLEY_SOUTH
      • MEMBERSHIP_DAYS

        public static final VarPlayer MEMBERSHIP_DAYS
      • SLAYER_UNLOCK_1

        public static final VarPlayer SLAYER_UNLOCK_1
        Slayer unlock bitfields
      • SLAYER_UNLOCK_2

        public static final VarPlayer SLAYER_UNLOCK_2
      • QUEST_BLACK_KNIGHTS_FORTRESS

        public static final VarPlayer QUEST_BLACK_KNIGHTS_FORTRESS
        f2p Quest varbits, these don't hold the completion value.
      • QUEST_COOKS_ASSISTANT

        public static final VarPlayer QUEST_COOKS_ASSISTANT
      • QUEST_DORICS_QUEST

        public static final VarPlayer QUEST_DORICS_QUEST
      • QUEST_DRAGON_SLAYER

        public static final VarPlayer QUEST_DRAGON_SLAYER
      • QUEST_ERNEST_THE_CHICKEN

        public static final VarPlayer QUEST_ERNEST_THE_CHICKEN
      • QUEST_IMP_CATCHER

        public static final VarPlayer QUEST_IMP_CATCHER
      • QUEST_THE_KNIGHTS_SWORD

        public static final VarPlayer QUEST_THE_KNIGHTS_SWORD
      • QUEST_PIRATES_TREASURE

        public static final VarPlayer QUEST_PIRATES_TREASURE
      • QUEST_PRINCE_ALI_RESCUE

        public static final VarPlayer QUEST_PRINCE_ALI_RESCUE
      • QUEST_THE_RESTLESS_GHOST

        public static final VarPlayer QUEST_THE_RESTLESS_GHOST
      • QUEST_ROMEO_AND_JULIET

        public static final VarPlayer QUEST_ROMEO_AND_JULIET
      • QUEST_RUNE_MYSTERIES

        public static final VarPlayer QUEST_RUNE_MYSTERIES
      • QUEST_SHEEP_SHEARER

        public static final VarPlayer QUEST_SHEEP_SHEARER
      • QUEST_SHIELD_OF_ARRAV

        public static final VarPlayer QUEST_SHIELD_OF_ARRAV
      • QUEST_SHIELD_OF_ARRAV_STATE_146

        public static final VarPlayer QUEST_SHIELD_OF_ARRAV_STATE_146
      • QUEST_VAMPIRE_SLAYER

        public static final VarPlayer QUEST_VAMPIRE_SLAYER
      • QUEST_WITCHS_POTION

        public static final VarPlayer QUEST_WITCHS_POTION
      • QUEST_BIG_CHOMPY_BIRD_HUNTING

        public static final VarPlayer QUEST_BIG_CHOMPY_BIRD_HUNTING
        member Quest varbits, these don't hold the completion value.
      • QUEST_BIOHAZARD

        public static final VarPlayer QUEST_BIOHAZARD
      • QUEST_CABIN_FEVER

        public static final VarPlayer QUEST_CABIN_FEVER
      • QUEST_CLOCK_TOWER

        public static final VarPlayer QUEST_CLOCK_TOWER
      • QUEST_CREATURE_OF_FENKENSTRAIN

        public static final VarPlayer QUEST_CREATURE_OF_FENKENSTRAIN
      • QUEST_DEATH_PLATEAU

        public static final VarPlayer QUEST_DEATH_PLATEAU
      • QUEST_THE_DIG_SITE

        public static final VarPlayer QUEST_THE_DIG_SITE
      • QUEST_DRUIDIC_RITUAL

        public static final VarPlayer QUEST_DRUIDIC_RITUAL
      • QUEST_DWARF_CANNON

        public static final VarPlayer QUEST_DWARF_CANNON
      • QUEST_EADGARS_RUSE

        public static final VarPlayer QUEST_EADGARS_RUSE
      • QUEST_ELEMENTAL_WORKSHOP_I

        public static final VarPlayer QUEST_ELEMENTAL_WORKSHOP_I
      • QUEST_FAMILY_CREST

        public static final VarPlayer QUEST_FAMILY_CREST
      • QUEST_FIGHT_ARENA

        public static final VarPlayer QUEST_FIGHT_ARENA
      • QUEST_FISHING_CONTEST

        public static final VarPlayer QUEST_FISHING_CONTEST
      • QUEST_THE_FREMENNIK_TRIALS

        public static final VarPlayer QUEST_THE_FREMENNIK_TRIALS
      • QUEST_WATERFALL_QUEST

        public static final VarPlayer QUEST_WATERFALL_QUEST
      • QUEST_GERTRUDES_CAT

        public static final VarPlayer QUEST_GERTRUDES_CAT
      • QUEST_THE_GRAND_TREE

        public static final VarPlayer QUEST_THE_GRAND_TREE
      • QUEST_HAUNTED_MINE

        public static final VarPlayer QUEST_HAUNTED_MINE
      • QUEST_HAZEEL_CULT

        public static final VarPlayer QUEST_HAZEEL_CULT
      • QUEST_HEROES_QUEST

        public static final VarPlayer QUEST_HEROES_QUEST
      • QUEST_HOLY_GRAIL

        public static final VarPlayer QUEST_HOLY_GRAIL
      • QUEST_IN_SEARCH_OF_THE_MYREQUE

        public static final VarPlayer QUEST_IN_SEARCH_OF_THE_MYREQUE
      • QUEST_JUNGLE_POTION

        public static final VarPlayer QUEST_JUNGLE_POTION
      • QUEST_LEGENDS_QUEST

        public static final VarPlayer QUEST_LEGENDS_QUEST
      • QUEST_LOST_CITY

        public static final VarPlayer QUEST_LOST_CITY
      • QUEST_MERLINS_CRYSTAL

        public static final VarPlayer QUEST_MERLINS_CRYSTAL
      • QUEST_MONKEY_MADNESS_I

        public static final VarPlayer QUEST_MONKEY_MADNESS_I
      • QUEST_MONKS_FRIEND

        public static final VarPlayer QUEST_MONKS_FRIEND
      • QUEST_MOURNINGS_END_PART_I

        public static final VarPlayer QUEST_MOURNINGS_END_PART_I
      • QUEST_MURDER_MYSTERY

        public static final VarPlayer QUEST_MURDER_MYSTERY
      • QUEST_NATURE_SPIRIT

        public static final VarPlayer QUEST_NATURE_SPIRIT
      • QUEST_OBSERVATORY_QUEST

        public static final VarPlayer QUEST_OBSERVATORY_QUEST
      • QUEST_ONE_SMALL_FAVOUR

        public static final VarPlayer QUEST_ONE_SMALL_FAVOUR
      • QUEST_PLAGUE_CITY

        public static final VarPlayer QUEST_PLAGUE_CITY
      • QUEST_PRIEST_IN_PERIL

        public static final VarPlayer QUEST_PRIEST_IN_PERIL
      • QUEST_RAG_AND_BONE_MAN

        public static final VarPlayer QUEST_RAG_AND_BONE_MAN
      • QUEST_REGICIDE

        public static final VarPlayer QUEST_REGICIDE
      • QUEST_ROVING_ELVES

        public static final VarPlayer QUEST_ROVING_ELVES
      • QUEST_RUM_DEAL

        public static final VarPlayer QUEST_RUM_DEAL
      • QUEST_SCORPION_CATCHER

        public static final VarPlayer QUEST_SCORPION_CATCHER
      • QUEST_SEA_SLUG

        public static final VarPlayer QUEST_SEA_SLUG
      • QUEST_SHADES_OF_MORTTON

        public static final VarPlayer QUEST_SHADES_OF_MORTTON
      • QUEST_SHEEP_HERDER

        public static final VarPlayer QUEST_SHEEP_HERDER
      • QUEST_SHILO_VILLAGE

        public static final VarPlayer QUEST_SHILO_VILLAGE
      • QUEST_TAI_BWO_WANNAI_TRIO

        public static final VarPlayer QUEST_TAI_BWO_WANNAI_TRIO
      • QUEST_TEMPLE_OF_IKOV

        public static final VarPlayer QUEST_TEMPLE_OF_IKOV
      • QUEST_THRONE_OF_MISCELLANIA

        public static final VarPlayer QUEST_THRONE_OF_MISCELLANIA
      • QUEST_THE_TOURIST_TRAP

        public static final VarPlayer QUEST_THE_TOURIST_TRAP
      • QUEST_WITCHS_HOUSE

        public static final VarPlayer QUEST_WITCHS_HOUSE
      • QUEST_TREE_GNOME_VILLAGE

        public static final VarPlayer QUEST_TREE_GNOME_VILLAGE
      • QUEST_TRIBAL_TOTEM

        public static final VarPlayer QUEST_TRIBAL_TOTEM
      • QUEST_TROLL_ROMANCE

        public static final VarPlayer QUEST_TROLL_ROMANCE
      • QUEST_TROLL_STRONGHOLD

        public static final VarPlayer QUEST_TROLL_STRONGHOLD
      • QUEST_UNDERGROUND_PASS

        public static final VarPlayer QUEST_UNDERGROUND_PASS
      • QUEST_UNDERGROUND_PASS_STATE_162

        public static final VarPlayer QUEST_UNDERGROUND_PASS_STATE_162
      • QUEST_WATCHTOWER

        public static final VarPlayer QUEST_WATCHTOWER
      • QUEST_THE_GREAT_BRAIN_ROBBERY

        public static final VarPlayer QUEST_THE_GREAT_BRAIN_ROBBERY
      • QUEST_RAG_AND_BONE_MAN_II

        public static final VarPlayer QUEST_RAG_AND_BONE_MAN_II
      • QUEST_GHOSTS_AHOY

        public static final VarPlayer QUEST_GHOSTS_AHOY
      • QUEST_SLUG_MENACE

        public static final VarPlayer QUEST_SLUG_MENACE
      • QUEST_TOWER_OF_LIFE

        public static final VarPlayer QUEST_TOWER_OF_LIFE
      • QUEST_TOWER_TROLL_ROMANCE

        public static final VarPlayer QUEST_TOWER_TROLL_ROMANCE
      • QUEST_ENTER_THE_ABYSS

        public static final VarPlayer QUEST_ENTER_THE_ABYSS
        mini-quest varbits, these don't hold the completion value.
      • QUEST_ALFRED_GRIMHANDS_BARCRAWL

        public static final VarPlayer QUEST_ALFRED_GRIMHANDS_BARCRAWL
      • QUEST_ALFRED_GRIMHANDS_BARCRAWL_STATE_76

        public static final VarPlayer QUEST_ALFRED_GRIMHANDS_BARCRAWL_STATE_76
      • QUEST_THE_MAGE_ARENA

        public static final VarPlayer QUEST_THE_MAGE_ARENA
    • Method Detail

      • values

        public static VarPlayer[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VarPlayer c : VarPlayer.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VarPlayer valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getIndex

        public int getIndex()