Glar.io Websocket Decoder

You can decode messages from WebSocket Server by the Hooks.Protocol.decode or window.SocketProtocol.decode

Author
Dekudo
Daily installs
0
Total installs
103
Ratings
0 0 0
Version
0.1
Created
2023-04-06
Updated
2023-04-06
Size
1.52 KB
License
N/A
Applies to

You can take this script and change it, if you want. There you can use Protocol object by the window.SocketProtocol or Hooks.Protocol.

With this object you can use some methods:
.decode
.encode
.Message
.ParseResourceType

And some properties:
.ItemType
.MessageType
.ProtobufRoot
.ResourceType