feat: store local ID assigned by domain server for packet sourcing

This commit is contained in:
MayaTheShy
2025-11-09 01:02:40 -05:00
parent 70a291f7dc
commit 2e3b453ab0
2 changed files with 4 additions and 0 deletions

View File

@@ -729,6 +729,9 @@ void OverteClient::handleDomainListReply(const char* data, size_t len) {
uint16_t localID = ntohs(*reinterpret_cast<const uint16_t*>(data + offset));
offset += 2;
// Store our local ID for use in sourced packets
m_localID = localID;
std::cout << "[OverteClient] Local ID: " << localID << std::endl;
// Read permissions (32-bit)