mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
Overaul, need to test
This commit is contained in:
33
dNet/MailInfo.h
Normal file
33
dNet/MailInfo.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef __MAILINFO_H__
|
||||
#define __MAILINFO_H__
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include "dCommonVars.h"
|
||||
|
||||
namespace RakNet {
|
||||
class BitStream;
|
||||
}
|
||||
|
||||
struct MailInfo {
|
||||
std::string senderUsername;
|
||||
std::string recipient;
|
||||
std::string subject;
|
||||
std::string body;
|
||||
uint64_t id{};
|
||||
uint32_t senderId{};
|
||||
uint32_t receiverId{};
|
||||
uint64_t timeSent{};
|
||||
bool wasRead{};
|
||||
struct {
|
||||
LWOOBJID itemID{};
|
||||
int32_t itemCount{};
|
||||
LOT itemLOT{};
|
||||
LWOOBJID itemSubkey{};
|
||||
};
|
||||
|
||||
void Serialize(RakNet::BitStream& bitStream) const {}
|
||||
bool Deserialize(RakNet::BitStream& bitStream) { return true; }
|
||||
};
|
||||
|
||||
#endif // __MAILINFO_H__
|
Reference in New Issue
Block a user