Quellcode durchsuchen

comment Deprecation for VoiceReady and UDPReady

Bruce Marriner vor 8 Jahren
Ursprung
Commit
af57bc1789
1 geänderte Dateien mit 7 neuen und 3 gelöschten Zeilen
  1. 7 3
      structs.go

+ 7 - 3
structs.go

@@ -51,13 +51,17 @@ type Session struct {
 	// Exposed but should not be modified by User.
 
 	// Whether the Data Websocket is ready
-	DataReady bool
+	DataReady bool // NOTE: Maye be deprecated soon
+
+	// Status stores the currect status of the websocket connection
+	// this is being tested, may stay, may go away.
+	status int32
 
 	// Whether the Voice Websocket is ready
-	VoiceReady bool
+	VoiceReady bool // NOTE: Deprecated.
 
 	// Whether the UDP Connection is ready
-	UDPReady bool
+	UDPReady bool // NOTE: Deprecated
 
 	// Stores a mapping of guild id's to VoiceConnections
 	VoiceConnections map[string]*VoiceConnection