Files
Client/Server/RylServerProject/RylGameLibrary/Network/ObjectInfo/ObjectInfoMgr.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

48 lines
1.3 KiB
C++

/* TODO : REMOVE HERE
#ifndef _BROADCAST_PACKET_H
#define _BROADCAST_PACKET_H
#include <vector>
namespace BroadcastInfo
{
// 전방 참조
struct SObject;
class CObjectInfo;
struct IProcessBroadcastInfo;
// 생성 및 관리, 검색, Iteration등등을 수행할 수 있음.
class CObjectInfoMgr
{
public:
typedef std::vector<CObjectInfo*> ObjectArray;
typedef ObjectArray::iterator ObjectIterator;
CObjectInfoMgr() { }
virtual ~CObjectInfoMgr();
bool Update(const char* szBuffer_In, unsigned long dwBufferSize, bool bRemove = true);
void Process(IProcessBroadcastInfo& processBroadcastInfo);
CObjectInfo* GetObjectInfo(unsigned long dwCID);
unsigned long GetObjectNum() { return static_cast<unsigned long>(m_ObjectArray.size()); }
CObjectInfo* CreateOrUpdate(const SObject& object, unsigned long dwCurrentTime);
void Remove(unsigned long dwCID);
ObjectIterator begin() { return m_ObjectArray.begin(); }
ObjectIterator end() { return m_ObjectArray.end(); }
void clear();
private:
void Eliminate(unsigned long dwExceptTime);
CObjectInfo* Create(const SObject& object);
ObjectArray m_ObjectArray;
};
}
#endif
*/