2021-12-05 17:54:36 +00:00
|
|
|
/*
|
|
|
|
* Darkflame Universe
|
|
|
|
* Copyright 2018
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GAMEMESSAGEHANDLER_H
|
|
|
|
#define GAMEMESSAGEHANDLER_H
|
|
|
|
|
|
|
|
#include "RakNetTypes.h"
|
|
|
|
#include "dCommonVars.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <iomanip>
|
|
|
|
#include <unordered_map>
|
|
|
|
#include "BitStream.h"
|
|
|
|
#include "Entity.h"
|
|
|
|
#include "EntityManager.h"
|
|
|
|
#include "Game.h"
|
|
|
|
#include "dLogger.h"
|
|
|
|
#include "GameMessages.h"
|
|
|
|
#include "../dDatabase/CDClientDatabase.h"
|
|
|
|
|
2023-05-03 21:38:32 +00:00
|
|
|
enum class eGameMessageType : uint16_t;
|
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
namespace GameMessageHandler {
|
2023-05-03 21:38:32 +00:00
|
|
|
void HandleMessage(RakNet::BitStream* inStream, const SystemAddress& sysAddr, LWOOBJID objectID, eGameMessageType messageID);
|
2021-12-05 17:54:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GAMEMESSAGEHANDLER_H
|