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:
37
Server/RylServerProject/RylGameLibrary/ranking/RankingMgr.h
Normal file
37
Server/RylServerProject/RylGameLibrary/ranking/RankingMgr.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#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>
|
||||
|
||||
|
||||
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
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
|
||||
Reference in New Issue
Block a user