DarkflameServer/dNet/ClientPackets.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
748 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 {
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
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);
};
#endif // CLIENTPACKETS_H