Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DB2Utility.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef DB2PACKETWRITER_H
7#define DB2PACKETWRITER_H
8
9#include "Define.h"
10
11template<class T>
12class DB2Storage;
13class ByteBuffer;
14struct ItemEntry;
15struct ItemSparseEntry;
16
17namespace DB2Utilities
18{
19 //
20 bool HasItemEntry(DB2Storage<ItemEntry> const& store, uint32 id);
22
23 //
24 void WriteItemDbReply(DB2Storage<ItemEntry> const& store, uint32 id, uint32 locale, ByteBuffer& buffer);
25 void WriteItemSparseDbReply(DB2Storage<ItemSparseEntry> const& store, uint32 id, uint32 locale, ByteBuffer& buffer);
26}
27
28#endif // DB2PACKETWRITER_H
std::uint32_t uint32
Definition Define.h:77
bool HasItemSparseEntry(DB2Storage< ItemSparseEntry > const &store, uint32 id)
void WriteItemDbReply(DB2Storage< ItemEntry > const &store, uint32 id, uint32 locale, ByteBuffer &buffer)
bool HasItemEntry(DB2Storage< ItemEntry > const &store, uint32 id)
void WriteItemSparseDbReply(DB2Storage< ItemSparseEntry > const &store, uint32 id, uint32 locale, ByteBuffer &buffer)