DarkflameServer/dNet/ClientPackets.h

25 lines
719 B
C
Raw Normal View History

/*
* 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"
namespace ClientPackets {
2022-07-28 13:39:57 +00:00
void HandleChatMessage(const SystemAddress& sysAddr, Packet* packet);
void HandleClientPositionUpdate(const SystemAddress& sysAddr, Packet* packet);
void HandleChatModerationRequest(const SystemAddress& sysAddr, Packet* packet);
void SendTop5HelpIssues(Packet* packet);
2022-12-20 14:14:58 +00:00
// Guild stuff
2023-11-21 20:16:56 +00:00
void HandleGuildCreation(Packet* packet);
void SendGuildCreateResponse(const SystemAddress& sysAddr, eGuildCreationResponse guildResponse, LWOOBJID guild_id, std::u16string& guildName);
};
#endif // CLIENTPACKETS_H