From 6243967f1fac3af8ed3e72790cabed0f79978bdb Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 1 Jul 2025 07:21:10 -0300 Subject: fix `operator=` for `TChannel`, `TParty`, and `THouse` I had focused on copying the `vector` fields for theses structs but, being the copy operator, you need to copy everything over. --- src/reader.hh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/reader.hh (limited to 'src/reader.hh') diff --git a/src/reader.hh b/src/reader.hh new file mode 100644 index 0000000..2dbf02f --- /dev/null +++ b/src/reader.hh @@ -0,0 +1,17 @@ +#ifndef TIBIA_READER_HH_ +#define TIBIA_READER_HH_ 1 + +#include "common.hh" + +enum TReaderThreadOrderType: int { + READER_ORDER_TERMINATE = 0, + READER_ORDER_LOADSECTOR = 1, + READER_ORDER_LOADCHARACTER = 2, +}; + +enum TReaderThreadReplyType: int { + READER_REPLY_SECTORDATA = 0, + READER_REPLY_CHARACTERDATA = 1, +}; + +#endif //TIBIA_READER_HH -- cgit v1.2.3