Glar.io Websocket Decoder

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

Forfatter
Dekudo
Daglige installasjoner
0
Totale installasjoner
106
Vurderinger
0 0 0
Versjon
0.1
Lagd
06.04.2023
Oppdatert
06.04.2023
Size
1,5 kB
Lisens
I/T
Gjelder

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