diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-06-08 13:30:26 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-06-08 13:30:26 +0200 |
commit | eecc0e9c71b82acb23de6ba96c1181518527edcb (patch) | |
tree | 3a152c5128f4e65e33c98822c2c6a51c04dffb58 /tocltcmds.go | |
parent | 7f64038fb47ba8c863cafd1195cd0c064db172df (diff) |
switch ToCltMediaPush to new format
Diffstat (limited to 'tocltcmds.go')
-rw-r--r-- | tocltcmds.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tocltcmds.go b/tocltcmds.go index 348014d..76c4c6f 100644 --- a/tocltcmds.go +++ b/tocltcmds.go @@ -179,12 +179,10 @@ type ToCltAddPlayerVel struct { // ToCltMediaPush is sent when a media file is dynamically added. type ToCltMediaPush struct { //mt:const uint16(sha1.Size) - SHA1 [sha1.Size]byte - Filename string - ShouldCache bool - - //mt:len32 - Data []byte + SHA1 [sha1.Size]byte + Filename string + CallbackToken uint32 + ShouldCache bool } // ToCltChatMsg tells the client that is has received a chat message. |