2021-12-05 17:54:36 +00:00
|
|
|
/*
|
|
|
|
* Darkflame Universe
|
|
|
|
* Copyright 2018
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CLIENTPACKETS_H
|
|
|
|
#define CLIENTPACKETS_H
|
|
|
|
|
|
|
|
#include "RakNetTypes.h"
|
2022-12-20 14:14:58 +00:00
|
|
|
#include "eGuildCreationResponse.h"
|
2022-12-21 00:19:21 +00:00
|
|
|
#include "dCommonVars.h"
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
namespace ClientPackets {
|
|
|
|
void HandleChatMessage(const SystemAddress& sysAddr, Packet* packet);
|
|
|
|
void HandleClientPositionUpdate(const SystemAddress& sysAddr, Packet* packet);
|
|
|
|
void HandleChatModerationRequest(const SystemAddress& sysAddr, Packet* packet);
|
2023-11-16 01:30:46 +00:00
|
|
|
void SendTop5HelpIssues(Packet* packet);
|
2022-12-20 14:14:58 +00:00
|
|
|
|
|
|
|
// Guild stuff
|
|
|
|
void HandleGuildCreation(const SystemAddress& sysAddr, Packet* packet);
|
2022-12-21 00:19:21 +00:00
|
|
|
void SendGuildCreateResponse(const SystemAddress& sysAddr, eGuildCreationResponse guildResponse, LWOOBJID guildID, std::u16string& guildName);
|
2021-12-05 17:54:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CLIENTPACKETS_H
|