mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
consolidate the messagetype enums into a single namespace (#1647)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define __REQUESTSERVERPROJECTILEIMPACT__H__
|
||||
|
||||
#include "dCommonVars.h"
|
||||
#include "eGameMessageType.h"
|
||||
#include "MessageType/Game.h"
|
||||
|
||||
/* Notifying the server that a locally owned projectile impacted. Sent to the caster of the projectile
|
||||
should always be the local char. */
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
}
|
||||
|
||||
void Serialize(RakNet::BitStream& stream) {
|
||||
stream.Write(eGameMessageType::REQUEST_SERVER_PROJECTILE_IMPACT);
|
||||
stream.Write(MessageType::Game::REQUEST_SERVER_PROJECTILE_IMPACT);
|
||||
|
||||
stream.Write(i64LocalID != LWOOBJID_EMPTY);
|
||||
if (i64LocalID != LWOOBJID_EMPTY) stream.Write(i64LocalID);
|
||||
|
Reference in New Issue
Block a user