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>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#ifndef _RYL_DBAGENT_MINING_CAMP_H_
|
||||
#define _RYL_DBAGENT_MINING_CAMP_H_
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CampDB.h"
|
||||
#include <map>
|
||||
#include <Network/Packet/PacketStruct/CastlePacket.h>
|
||||
|
||||
using namespace Siege;
|
||||
|
||||
|
||||
class CMiningCampDB : public CCampDB
|
||||
{
|
||||
public:
|
||||
virtual ~CMiningCampDB();
|
||||
|
||||
typedef std::map<unsigned short, unsigned short> MineralInfoMap; // <wMineralID, wAmount>
|
||||
|
||||
bool OnOff(unsigned long dwSubState);
|
||||
bool GainMineral(unsigned short wMineralID, unsigned short wAmount); // <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ȹ<><C8B9>
|
||||
|
||||
// <20><><EFBFBD><EFBFBD> AddMineral <20>Լ<EFBFBD><D4BC><EFBFBD> insert<72><74> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!! (<28>̹<EFBFBD> <20>ִ<EFBFBD> <20>༮<EFBFBD><E0BCAE> Add <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
|
||||
bool AddMineral(unsigned char cFlag, const CampMineralInfo& campMineralInfo);
|
||||
bool UpdateMineralInfo(unsigned char cFlag, unsigned char cNum, CampMineralInfo* lpMineralInfo);
|
||||
|
||||
bool SerializeOut(char* szBuffer_Out, unsigned short& usBufferSize_Out, unsigned long& dwCID_Out);
|
||||
|
||||
private:
|
||||
CMiningCampDB(CDBComponent& DBComponent, const CampInfoDB& CampInfo);
|
||||
|
||||
MineralInfoMap m_AccumulatedMineralMap;
|
||||
MineralInfoMap m_TemporaryMineralMap;
|
||||
|
||||
friend class CSiegeObjectDBMgr;
|
||||
};
|
||||
|
||||
#endif // _RYL_DBAGENT_MINING_CAMP_H_
|
||||
Reference in New Issue
Block a user