DarkflameServer/dNet/ChatPackets.h

21 lines
553 B
C
Raw Permalink Normal View History

/*
* Darkflame Universe
* Copyright 2018
*/
#ifndef CHATPACKETS_H
#define CHATPACKETS_H
struct SystemAddress;
#include <string>
#include "dCommonVars.h"
namespace ChatPackets {
2022-07-28 13:39:57 +00:00
void SendChatMessage(const SystemAddress& sysAddr, char chatChannel, const std::string& senderName, LWOOBJID playerObjectID, bool senderMythran, const std::u16string& message);
void SendSystemMessage(const SystemAddress& sysAddr, const std::u16string& message, bool broadcast = false);
void SendMessageFail(const SystemAddress& sysAddr);
};
#endif // CHATPACKETS_H