summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:17:58 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:17:58 -0400
commit1892a429d2b635b369684676f0528a3320f95cc2 (patch)
tree91abd41e59cb9539b131f0c9c0f93fe29200facb /src
parentd5e4df6806b4e9f66a7424452ad3cdaf5c24126e (diff)
TProtocol: Get `TProtocol` to the point of building
I'll actually start work on it tomorrow.
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) {
+
+}