]> git.lizzy.rs Git - mt.git/blobdiff - tosrvcmds.go
Add WaitGroup to SerializePkt
[mt.git] / tosrvcmds.go
index 885f2006239cd15a5fff6241a1de9bb9b33c6215..abbe0f6da9cd73af6825e41bdc1a10f358306c38 100644 (file)
@@ -1,6 +1,6 @@
 package mt
 
-import "github.com/anon55555/mt/rudp"
+import "github.com/dragonfireclient/mt/rudp"
 
 type ToSrvCmd interface {
        Cmd
@@ -59,6 +59,12 @@ type ToSrvGotBlks struct {
        Blks [][3]int16
 }
 
+// ToSrvHaveMedia tells the server that the client has received the media.
+type ToSrvHaveMedia struct {
+       //mt:len8
+       Tokens []uint32
+}
+
 // ToSrvDeletedBlks tells the server that the client has deleted Blks.
 type ToSrvDeletedBlks struct {
        //mt:len8