RuneHive-Game
Loading...
Searching...
No Matches
ByteModification.java
Go to the documentation of this file.
1package com.runehive.net.codec;
2
3/**
4 * Represents RuneScape's custom value types.
5 *
6 * @author nshusa
7 */
8public enum ByteModification {
9
10 /**
11 * No modifications
12 */
14
15 /**
16 * Adds 128 to the value when written, subtracts 128 from the rarity when read.
17 */
19
20 /**
21 * Negates the value
22 */
24
25 /**
26 * Subtracts the value from 128 when written, adds 128 to the rarity when read.
27 */
29
30}
Represents RuneScape's custom value types.
SUB
Subtracts the value from 128 when written, adds 128 to the rarity when read.
ADD
Adds 128 to the value when written, subtracts 128 from the rarity when read.