feat: add unique pointer for OverteAuth in OverteClient class for authentication management

This commit is contained in:
MayaTheShy
2025-11-09 02:15:31 -05:00
parent fb92a1dfd4
commit 2e9c66d8e8

View File

@@ -121,6 +121,9 @@ private:
std::uint32_t m_sequenceNumber{0}; // Packet sequence number for NLPacket protocol std::uint32_t m_sequenceNumber{0}; // Packet sequence number for NLPacket protocol
std::uint16_t m_localID{0}; // Local ID assigned by domain server std::uint16_t m_localID{0}; // Local ID assigned by domain server
// Authentication
std::unique_ptr<OverteAuth> m_auth;
// Very small in-process world state for testing // Very small in-process world state for testing
std::unordered_map<std::uint64_t, OverteEntity> m_entities; std::unordered_map<std::uint64_t, OverteEntity> m_entities;
std::vector<std::uint64_t> m_updateQueue; // ids of entities updated since last consume std::vector<std::uint64_t> m_updateQueue; // ids of entities updated since last consume