diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-08 16:48:05 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-09 17:57:54 -0400 |
commit | b80218a8c1fafb174e3f05c0b51c61005531bf05 (patch) | |
tree | 7c6ce21667497eee1006920ed7547ee032af0377 /include/pso/packet_classes.h | |
parent | c194e33e98492bbd0384f2a6b9a533bcfb57701d (diff) |
TProtocol: Start work on `handle_command()`, and the command handlers
Hopefully, we can make some good progress.
Also, oof, I didn't realize that what I thought were `operator=()`, or
a manual `assign()` function, was actually a copy ctor.
Diffstat (limited to 'include/pso/packet_classes.h')
-rw-r--r-- | include/pso/packet_classes.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/pso/packet_classes.h b/include/pso/packet_classes.h new file mode 100644 index 0000000..87e0b06 --- /dev/null +++ b/include/pso/packet_classes.h @@ -0,0 +1,27 @@ +#ifndef PACKET_CLASSES_H +#define PACKET_CLASSES_H + +#include <global_types.h> +#include <string.h> +#include <pso/macros.h> +#include <pso/forward.h> +#include <pso/protocol.h> +#include <pso/TMenuList.h> +#include <pso/TPlyCharData.h> +#include <pso/TPlyClientConfig.h> +#include <pso/TPlyGuildCardTag.h> +#include <pso/TPlySmth.h> + +class TMessageBox { +public: + packet_header header; + TPlyGuildCardTag tag; + char mesg[512]; +public: + void bswap() { + header.bswap(); + tag.bswap(); + }; +}; + +#endif |