Files
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

42 lines
1.2 KiB
C++

#ifndef _DBAGENT_SERVER_SEND_ADMIN_TOOL_H_
#define _DBAGENT_SERVER_SEND_ADMIN_TOOL_H_
#include <ctime>
#include <Network/Packet/PacketStruct/CharAdminPacket.h>
// forward decl.
class CSendStream;
namespace DBAgent
{
namespace DataStorage
{
// forward decl.
class CStoreData;
class CCharacterData;
}
namespace SendPacket
{
bool ItemQtyCheck(unsigned long dwItemTypeID, unsigned long dwItemQty,
unsigned long dwCurrentItemQty, time_t tStartTime, time_t tEndTime,
unsigned char cType, unsigned short usError = 0);
bool AdminToolGetDataAck(CSendStream& SendStream, PktAdminToolGetData::GetDataType dataType,
unsigned long dwRequestKey, unsigned long dwUID, unsigned long dwCID,
const char* lpData, unsigned long dwDataSize, unsigned short usError,
unsigned char cOldServerGroupID = 0);
bool AdminToolSetDataAck(CSendStream& SendStream, unsigned long dwRequestKey,
unsigned long dwUID, unsigned long dwCID, unsigned char cType, unsigned short eErrorCode);
bool TotalDataToAdminTool(CSendStream& SendStream, unsigned long dwRequestKey, IN_ADDR peerAddr,
DataStorage::CStoreData& storeData, DataStorage::CCharacterData& characterData);
}
}
#endif