#ifndef RAGNAROK_SOURCE_NETWORK_PACKETS_PACKETLENGTHS_H #define RAGNAROK_SOURCE_NETWORK_PACKETS_PACKETLENGTHS_H #include struct PacketLengthValue { int length; int variable; int record; }; struct PacketLengthResult { int kind; int length; }; struct PacketLengths { const std::map& values; PacketLengthResult Lookup(int id) const; int FixedLength(int id) const; int IsRecorded(int id) const; static void Initialize(std::map& values); }; #endif