From 49593955a1efada437badee78a1a554e1d316aaa Mon Sep 17 00:00:00 2001 From: Major- Date: Sat, 10 Jan 2015 19:48:49 +0000 Subject: [PATCH] Order by size instead of name in DataType. --- src/org/apollo/net/codec/game/DataType.java | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/org/apollo/net/codec/game/DataType.java b/src/org/apollo/net/codec/game/DataType.java index d78c823f..7dbfb7ef 100644 --- a/src/org/apollo/net/codec/game/DataType.java +++ b/src/org/apollo/net/codec/game/DataType.java @@ -12,16 +12,6 @@ public enum DataType { */ BYTE(1), - /** - * An integer. - */ - INT(4), - - /** - * A long. - */ - LONG(8), - /** * A short. */ @@ -30,7 +20,17 @@ public enum DataType { /** * 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.