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

34 lines
941 B
C++

#ifndef _RYL_DBAGENT_CASTLE_ARMS_DB_H_
#define _RYL_DBAGENT_CASTLE_ARMS_DB_H_
#pragma once
#include "SiegeObjectDB.h"
using namespace Siege;
class CCastleArmsDB : public CSiegeObjectDB
{
public:
virtual ~CCastleArmsDB();
// Process ÇÔ¼ö
Siege::eReturn Process();
// Cmd ó¸® °¡»ó ÇÔ¼ö
bool Build(unsigned short wType, unsigned char cDevelopTime, unsigned long dwDevelopGold = 0, unsigned long dwOwnerID = 0);
bool Upgrade(unsigned char cUpgradeTime, unsigned long dwUpgradeGold = 0, unsigned char cUpgradeType = Siege::NO_JEWEL);
bool Repair(unsigned long dwRepairHP, unsigned long dwRepairGold = 0);
bool Destroy(unsigned long dwEnemyNation = 0, bool bDeductFame = false);
void UpdateLastUseTime(bool bInit=false);
void UpdateHP(unsigned long dwNowHP);
private:
CCastleArmsDB(CDBComponent& DBComponent, const CastleObjectInfoDB& CastleObject);
friend class CSiegeObjectDBMgr;
};
#endif _RYL_DBAGENT_CASTLE_ARMS_DB_H_