Files
Client/Server/RylServerProject/RylGameLibrary/Map/FieldMap/virtualarea/bgserver/BGServerMgr.h
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

61 lines
1.2 KiB
C++

#ifndef _BATTLEGROUND_SERVER_MANAGER_H_
#define _BATTLEGROUND_SERVER_MANAGER_H_
#pragma once
#include <vector>
// Àü¹æ ÂüÁ¶
class CCharacter;
namespace VirtualArea
{
// Àü¹æ ÂüÁ¶
class CVirtualArea;
class CBGServerMap;
class CBGServerMgr
{
public:
static CBGServerMgr& GetInstance();
bool CreateBGServerMap();
void Process();
bool Enter(CCharacter* lpCharacter, unsigned short wMapIndex, unsigned char cMoveType);
bool Leave(CCharacter* lpCharacter);
CVirtualArea* GetVirtualArea(unsigned short wMapIndex);
bool SendMapList(CCharacter* lpCharacter);
bool SendResultList(CCharacter* lpCharacter);
bool SendMapListToAllCharacter();
typedef std::vector<CBGServerMap* > BGServerMapList;
void ProcessAllMonster();
void ProcessMonsterRegenHPAndMP();
void ProcessSummonMonsterDead();
void ProcessDeleteItem();
// Cell BroadCasting
bool ProcessAllCellPrepareBroadCast();
bool ProcessAllCellBroadCast(unsigned long dwCurrentPulse);
private:
CBGServerMgr();
~CBGServerMgr();
void DestroyBGServerMap();
bool LoginAllMonster();
void GameAllStart();
BGServerMapList m_lstBGServerMap;
};
}
#endif // _BATTLEGROUND_SERVER_MANAGER_H_