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
926 B
C++

#ifndef _CPARTY_SPELL_MGR_
#define _CPARTY_SPELL_MGR_
// 전방 참조
class CParty;
class CSpell;
class CAggresiveCreature;
#define LOG_FFLCHANT __FUNCTION__, __FILE__, __LINE__
// 챈트 관련 버그 로그를 찍는다. 문제 해결후 나중에 전부 제거한다.
void LogChantBug(CAggresiveCreature* lpCreature, CParty* lpParty,
const char* szMessage, const char* lpRtn, const char* lpFileName, int nLine);
class CPartySpellMgr
{
public:
CPartySpellMgr();
~CPartySpellMgr();
void SetOwner(CParty* lpParty) { m_lpOwnerParty = lpParty; }
bool AddMember(CAggresiveCreature* pNewMember);
bool RemoveMember(CAggresiveCreature* pRemoveMember);
void ClearMember();
void AddAffectedToAllMember(CSpell* pSpell, unsigned short wMapIndex=0);
protected:
enum { MAX_MEMBER = 10 };
CParty* m_lpOwnerParty;
CAggresiveCreature* m_pPartyMember[MAX_MEMBER];
unsigned long m_dwMemberNum;
};
#endif