Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-12 02:56:29 +03:00
1 parent 5c036d91fb
commit 01362d2e51
14 files changed
+1324 -51

No files matched your search

+35
View File
@@ -85,6 +85,26 @@ namespace Echoion::Core::Dto
std::string text;
};
struct ListeningRoomRequest {
std::string room;
};
struct ListeningRoomPlayRequest {
std::string room;
std::string query;
};
struct ListeningRoomQueueRequest {
std::string room;
std::uint64_t queueId = 0;
};
struct ListeningRoomMoveRequest {
std::string room;
std::uint64_t queueId = 0;
std::uint32_t newPosition = 0;
};
// ── RPC handler responses ───────────────────────────────────────────────
struct Track {
@@ -181,6 +201,21 @@ namespace Echoion::Core::Dto
float volume = 0.0f;
};
struct ListeningRoom {
std::string name;
std::uint64_t ownerId = 0;
std::vector<std::uint64_t> members;
bool isPlaying = false;
bool isPaused = false;
std::uint64_t queueSize = 0;
bool isOwner = false;
};
struct ListeningRoomList {
std::vector<ListeningRoom> rooms;
std::optional<std::string> currentRoom;
};
struct Autoplay {
bool autoplay = false;
};