summaryrefslogtreecommitdiffstats
path: root/src/packet/FieldParser.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-06-17 16:23:53 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-06-17 16:23:53 +0200
commit789f70b6f1a9067843dfc1ff73d86b645efe1da9 (patch)
treef3db085f2ac1ec5fd6ad0869a63e77a7f0fb1a17 /src/packet/FieldParser.hpp
parent2017-06-14 (diff)
downloadAltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar
AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.gz
AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.bz2
AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.lz
AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.xz
AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.zst
AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.zip
Diffstat (limited to 'src/packet/FieldParser.hpp')
-rw-r--r--src/packet/FieldParser.hpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/packet/FieldParser.hpp b/src/packet/FieldParser.hpp
deleted file mode 100644
index f256b34..0000000
--- a/src/packet/FieldParser.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-
-#include "Field.hpp"
-
-class FieldParser {
-public:
- static Field ParseVarInt(byte *data, size_t len);
-
- static Field ParseBool(byte *data);
-
- static Field ParseString(byte *data);
-
- static Field Parse(FieldType type, byte* data, size_t len=0);
-
- static Field ParseLong(byte *data);
-
- static Field ParseInt(byte *data);
-
- static Field ParseUByte(byte *data);
-
- static Field ParseByte(byte *data);
-
- static Field ParseFloat(byte *data);
-
- static Field ParsePosition(byte *data);
-
- static Field ParseDouble(byte *data);
-
- static Field ParseByteArray(byte *data, size_t len);
-}; \ No newline at end of file