1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

[General] Add dontRead flag

This commit is contained in:
Koncord 2017-04-03 06:13:00 +08:00
parent ead92fff61
commit 4daf471874

View file

@ -7,7 +7,7 @@
#include <string>
#define BPP_INIT(packet_id) packetID = packet_id; strPacketID = #packet_id; className = typeid(this).name();
#define BPP_INIT(packet_id) packetID = packet_id; strPacketID = #packet_id; className = typeid(this).name(); dontRead = false;
class BasePacketProcessor
{
@ -30,6 +30,7 @@ protected:
unsigned char packetID;
std::string strPacketID;
std::string className;
bool dontRead;
};