mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
26 lines
686 B
C++
26 lines
686 B
C++
#ifndef OBJECT_CLIENT_CLNT_OBJ_MGR_HPP
|
|
#define OBJECT_CLIENT_CLNT_OBJ_MGR_HPP
|
|
|
|
#include "object/client/CGObject_C.hpp"
|
|
#include <storm/Hash.hpp>
|
|
#include <storm/List.hpp>
|
|
#include <cstdint>
|
|
|
|
class ClientConnection;
|
|
|
|
class ClntObjMgr {
|
|
public:
|
|
// Member variables
|
|
TSHashTable<CGObject_C, CHashKeyGUID> m_objects;
|
|
TSHashTable<CGObject_C, CHashKeyGUID> m_lazyCleanupObjects;
|
|
// TODO
|
|
STORM_EXPLICIT_LIST(CGObject_C, m_link) m_visibleObjects;
|
|
STORM_EXPLICIT_LIST(CGObject_C, m_link) m_reenabledObjects;
|
|
// TODO
|
|
WOWGUID m_activePlayer = 0;
|
|
uint32_t m_mapID = 0;
|
|
ClientConnection* m_net = nullptr;
|
|
};
|
|
|
|
#endif
|