summaryrefslogtreecommitdiff
path: root/tosrvcmds.go
diff options
context:
space:
mode:
authorMinetest-j45 <55553015+Minetest-j45@users.noreply.github.com>2022-06-02 11:58:09 +0100
committerMinetest-j45 <55553015+Minetest-j45@users.noreply.github.com>2022-06-02 11:58:09 +0100
commit790a62685ea9402a351ce039500d46271e0fb785 (patch)
treed8b2063c26dae1b1f61c5709b7ef90428dcf6989 /tosrvcmds.go
parent7cbf2ab623ba1743f4d46a989bc0918e6d0cf186 (diff)
downloadmt-790a62685ea9402a351ce039500d46271e0fb785.tar.xz
Add new ToSrvHaveMedia cmd
Diffstat (limited to 'tosrvcmds.go')
-rw-r--r--tosrvcmds.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/tosrvcmds.go b/tosrvcmds.go
index 885f200..889191c 100644
--- a/tosrvcmds.go
+++ b/tosrvcmds.go
@@ -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
+ token uint32
+}
+
// ToSrvDeletedBlks tells the server that the client has deleted Blks.
type ToSrvDeletedBlks struct {
//mt:len8