From 582b30a855f4cc5ecedaa74e2cd57b8389ca7e75 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 9 Nov 2025 01:55:09 -0500 Subject: [PATCH] feat: add AssignmentClient structure for domain list handling --- src/OverteClient.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/OverteClient.hpp b/src/OverteClient.hpp index e9acc5d..5b86b49 100644 --- a/src/OverteClient.hpp +++ b/src/OverteClient.hpp @@ -46,6 +46,15 @@ struct OverteEntity { float alpha{1.0f}; // Transparency (0-1) }; +// Assignment client information from DomainList +struct AssignmentClient { + uint8_t type; // 0=EntityServer, 1=AudioMixer, 2=AvatarMixer, etc. + std::array uuid; + sockaddr_storage address{}; + socklen_t addressLen{0}; + uint16_t port{0}; +}; + // Lightweight client for Overte mixers/entities. Designed to follow Overte's // standards. For now includes a minimal parser scaffold; simulation can be // optionally enabled via STARWORLD_SIMULATE=1. @@ -115,6 +124,12 @@ private: struct sockaddr_storage m_udpAddr{}; socklen_t m_udpAddrLen{0}; + // Assignment clients from DomainList + std::vector m_assignmentClients; + sockaddr_storage m_entityServerAddr{}; + socklen_t m_entityServerAddrLen{0}; + uint16_t m_entityServerPort{0}; + // EntityServer connection int m_entityFd{-1}; bool m_entityServerReady{false};