Enum VarPlayer

  • All Implemented Interfaces:
    Serializable, Comparable<VarPlayer>

    public enum VarPlayer
    extends 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
      • IS_POISONED

        public static final VarPlayer IS_POISONED
      • DISEASE_VALUE

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

        public static final VarPlayer BANK_TAB
      • MEMBERSHIP_DAYS

        public static final VarPlayer MEMBERSHIP_DAYS
      • SPECIAL_ATTACK_PERCENT

        public static final VarPlayer SPECIAL_ATTACK_PERCENT
      • SPECIAL_ATTACK_ENABLED

        public static final VarPlayer SPECIAL_ATTACK_ENABLED
      • 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
      • NMZ_REWARD_POINTS

        public static final VarPlayer NMZ_REWARD_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
      • THRONE_OF_MISCELLANIA

        public static final VarPlayer THRONE_OF_MISCELLANIA
        0 : not started greater than 0 : in progress greater than 99 : completed
      • CURRENT_GE_ITEM

        public static final VarPlayer CURRENT_GE_ITEM
        Item currently active in the creation of a buy or sell offer
      • 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
      • 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
      • SLAYER_UNLOCK_1

        public static final VarPlayer SLAYER_UNLOCK_1
        Slayer unlock bitfields
      • SLAYER_UNLOCK_2

        public static final VarPlayer SLAYER_UNLOCK_2
      • MUSIC_TRACKS_UNLOCKED_1

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_1
        Music track unlock bitfields
      • MUSIC_TRACKS_UNLOCKED_2

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_2
      • MUSIC_TRACKS_UNLOCKED_3

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_3
      • MUSIC_TRACKS_UNLOCKED_4

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_4
      • MUSIC_TRACKS_UNLOCKED_5

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_5
      • MUSIC_TRACKS_UNLOCKED_6

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_6
      • MUSIC_TRACKS_UNLOCKED_7

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_7
      • MUSIC_TRACKS_UNLOCKED_8

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_8
      • MUSIC_TRACKS_UNLOCKED_9

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_9
      • MUSIC_TRACKS_UNLOCKED_10

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_10
      • MUSIC_TRACKS_UNLOCKED_11

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_11
      • MUSIC_TRACKS_UNLOCKED_12

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_12
      • MUSIC_TRACKS_UNLOCKED_13

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_13
      • MUSIC_TRACKS_UNLOCKED_14

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_14
      • MUSIC_TRACKS_UNLOCKED_15

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_15
      • MUSIC_TRACKS_UNLOCKED_16

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_16
      • MUSIC_TRACKS_UNLOCKED_17

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_17
      • MUSIC_TRACKS_UNLOCKED_18

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_18
      • MUSIC_TRACKS_UNLOCKED_19

        public static final VarPlayer MUSIC_TRACKS_UNLOCKED_19
      • MUSIC_VOLUME

        public static final VarPlayer MUSIC_VOLUME
      • SOUND_EFFECT_VOLUME

        public static final VarPlayer SOUND_EFFECT_VOLUME
      • AREA_EFFECT_VOLUME

        public static final VarPlayer AREA_EFFECT_VOLUME
      • MOUSE_BUTTONS

        public static final VarPlayer MOUSE_BUTTONS
        0 = 2 buttons, 1 = 1 button
    • 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​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null