mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 16:51:37 +00:00
Order by size instead of name in DataType.
This commit is contained in:
@@ -12,16 +12,6 @@ public enum DataType {
|
|||||||
*/
|
*/
|
||||||
BYTE(1),
|
BYTE(1),
|
||||||
|
|
||||||
/**
|
|
||||||
* An integer.
|
|
||||||
*/
|
|
||||||
INT(4),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A long.
|
|
||||||
*/
|
|
||||||
LONG(8),
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A short.
|
* A short.
|
||||||
*/
|
*/
|
||||||
@@ -30,7 +20,17 @@ public enum DataType {
|
|||||||
/**
|
/**
|
||||||
* A 'tri byte' - a group of three bytes.
|
* A 'tri byte' - a group of three bytes.
|
||||||
*/
|
*/
|
||||||
TRI_BYTE(3);
|
TRI_BYTE(3),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An integer.
|
||||||
|
*/
|
||||||
|
INT(4),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A long.
|
||||||
|
*/
|
||||||
|
LONG(8);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of bytes this type occupies.
|
* The number of bytes this type occupies.
|
||||||
|
|||||||
Reference in New Issue
Block a user