DarkflameServer/dNet/ClientPackets.h

24 lines
706 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);
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