1
0

Add protocol mob ID remapping (#4538)

This commit is contained in:
Mat
2020-03-29 18:54:37 +03:00
committed by GitHub
parent aa9a16b0c6
commit 31ace87d28
11 changed files with 217 additions and 5 deletions

View File

@@ -141,7 +141,6 @@ public:
virtual void SendData(const char * a_Data, size_t a_Size) override;
protected:
/** The recognized protocol */
@@ -156,6 +155,9 @@ protected:
/** Returns the protocol-specific packet ID given the protocol-agnostic packet enum. */
virtual UInt32 GetPacketID(ePacketType a_PacketType) override;
/** Converts eMonsterType to protocol-specific mob types */
virtual UInt32 GetProtocolMobType(eMonsterType a_MobType) override;
// Packet handlers while in status state (m_InPingForUnrecognizedVersion == true)
void HandlePacketStatusRequest();
void HandlePacketStatusPing();