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:
@@ -0,0 +1,48 @@
|
||||
/* TODO : REMOVE HERE
|
||||
|
||||
#ifndef _BROADCAST_PACKET_H
|
||||
#define _BROADCAST_PACKET_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace BroadcastInfo
|
||||
{
|
||||
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
struct SObject;
|
||||
class CObjectInfo;
|
||||
struct IProcessBroadcastInfo;
|
||||
|
||||
// <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>, <20>˻<EFBFBD>, Iteration<6F><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>.
|
||||
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
|
||||
*/
|
||||
Reference in New Issue
Block a user