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,40 @@
|
||||
#ifndef __RYL_DBAGENT_MINERAL_VEIN_MANAGER_H__
|
||||
#define __RYL_DBAGENT_MINERAL_VEIN_MANAGER_H__
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
class CSendStream;
|
||||
class CDBComponent;
|
||||
|
||||
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> Ŭ<><C5AC><EFBFBD><EFBFBD> (<28>ٸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Ѵ<EFBFBD>.)
|
||||
class CMineralVeinDBMgr
|
||||
{
|
||||
public:
|
||||
|
||||
static CMineralVeinDBMgr& GetInstance();
|
||||
|
||||
typedef std::map<unsigned long, unsigned long> FertilityInfoMap; // < VeinColor, Fertility >, Fertility Info Per Zone
|
||||
typedef std::map<unsigned long, FertilityInfoMap> FertilityZoneMap; // < ZoneChannel, FertilityInfo >, Fertility Info Of All Zone, Channel
|
||||
// ZoneChannel : Zone (16bit), Channel (16bit)
|
||||
|
||||
bool Initialize(CDBComponent& DBComponent);
|
||||
void Destroy();
|
||||
|
||||
bool SendFertilityInfo(CSendStream& SendStream, unsigned char cZone, unsigned char cChannel);
|
||||
bool UpdateFertilityInfo(unsigned char cZone, unsigned char cChannel, unsigned short wNum, unsigned long* lpFertilityInfo);
|
||||
|
||||
private:
|
||||
|
||||
CMineralVeinDBMgr();
|
||||
~CMineralVeinDBMgr();
|
||||
|
||||
bool ReadFertilityDB();
|
||||
|
||||
FertilityZoneMap m_mapFertility;
|
||||
CDBComponent* m_lpDBComponent;
|
||||
};
|
||||
|
||||
#endif // __RYL_DBAGENT_MINERAL_VEIN_MANAGER_H__
|
||||
Reference in New Issue
Block a user