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>
37 lines
688 B
C++
37 lines
688 B
C++
#ifndef _RYL_GAME_LIBRARY_RANKING_MGR_H_
|
|
#define _RYL_GAME_LIBRARY_RANKING_MGR_H_
|
|
|
|
#include <Network/Packet/PacketStruct/RankingPacket.h>
|
|
#include <RylGameLibrary/Creature/Character/CharacterClass.h>
|
|
|
|
|
|
// Àü¹æ ÂüÁ¶
|
|
class CSendStream;
|
|
|
|
class CRankingMgr
|
|
{
|
|
public:
|
|
|
|
enum Const
|
|
{
|
|
MAX_DECLARE_RANK_NUM = 100
|
|
};
|
|
|
|
static CRankingMgr& GetInstance();
|
|
|
|
void UpdateRanking(const RankingNode& node);
|
|
|
|
bool SendRankingInfo(unsigned long dwCID, unsigned char cClass, unsigned char cPage);
|
|
unsigned char GetRank(const char* szCharName, unsigned char cClass);
|
|
|
|
|
|
private:
|
|
|
|
CRankingMgr();
|
|
~CRankingMgr();
|
|
|
|
RankingNode m_aryRanking[CClass::MAX_CLASS][MAX_DECLARE_RANK_NUM];
|
|
};
|
|
|
|
|
|
#endif |