summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pso/TProtocol.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp
new file mode 100644
index 0000000..41986d1
--- /dev/null
+++ b/src/pso/TProtocol.cpp
@@ -0,0 +1,36 @@
+#include <global_types.h>
+#include <string.h>
+#include "pso/forward.h"
+#include "pso/macros.h"
+#include "pso/TArray.h"
+#include "pso/TMainTask.h"
+#include "pso/TMenuList.h"
+#include "pso/TPlyCharData.h"
+#include "pso/TPlyDispData.h"
+#include "pso/TPlyInventory.h"
+#include "pso/TObject.h"
+#include "pso/TProtocol.h"
+#include "pso/TSocket.h"
+#include "pso/TTcpSocket.h"
+
+
+
+TProtocol::TProtocol(TObject *parent, u16 sub_version, int language, char *serial_number, char *access_key, char *password) : TTcpSocket(parent) {
+
+}
+
+TProtocol::~TProtocol() {
+
+}
+
+void TProtocol::run_task() {
+
+}
+
+int TProtocol::send(u8 *data, size_t size) {
+ return TTcpSocket::send(data, size);
+}
+
+int handle_command(packet *pkt) {
+
+}