1 parent
97dc183bdf
commit
e7573fbcd0
6 files changed
+193
-22
No files matched your search
@@ -38,7 +38,10 @@ namespace Echoion::Api
|
||||
SeekPosition,
|
||||
HotReloadRequested,
|
||||
HotReloadCompleted,
|
||||
ConfigurationChanged
|
||||
ConfigurationChanged,
|
||||
// Appended: fired once the TeamSpeak connection is fully established
|
||||
// (client list available), so the core can resolve online subscribers.
|
||||
ConnectionEstablished
|
||||
};
|
||||
|
||||
// Minimal track info for Plugin (no internal types)
|
||||
@@ -51,15 +54,15 @@ namespace Echoion::Api
|
||||
|
||||
struct PluginEvent {
|
||||
PluginEventType type;
|
||||
std::optional<std::string> clientName;
|
||||
std::optional<TrackSummary>
|
||||
trackSummary; // Opaque summary instead of full TrackInfo
|
||||
std::optional<std::string> clientName = {};
|
||||
std::optional<TrackSummary> trackSummary =
|
||||
{}; // Opaque summary instead of full TrackInfo
|
||||
uint64_t clientId = 0;
|
||||
std::optional<uint64_t> targetChannelId;
|
||||
std::optional<std::string> message;
|
||||
std::optional<float> volume;
|
||||
std::optional<int> queuePosition;
|
||||
std::chrono::system_clock::time_point timestamp;
|
||||
std::optional<uint64_t> targetChannelId = {};
|
||||
std::optional<std::string> message = {};
|
||||
std::optional<float> volume = {};
|
||||
std::optional<int> queuePosition = {};
|
||||
std::chrono::system_clock::time_point timestamp = {};
|
||||
};
|
||||
|
||||
// ===== Connection Types =====
|
||||
|
||||
Reference in new issue
Block a user