From 6e51b1d50c0410de4659e42d91b04fb3fb83eed9 Mon Sep 17 00:00:00 2001 From: Hussein Farran Date: Wed, 4 Aug 2021 15:51:52 -0400 Subject: [PATCH] Change `BouncePacket` and `BouncedPacket` docs to add key for extra data. --- docs/network protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/network protocol.md b/docs/network protocol.md index fdc6c8cd..720aecdb 100644 --- a/docs/network protocol.md +++ b/docs/network protocol.md @@ -155,7 +155,7 @@ Sent to clients after a client requested this message be sent to them, more info #### Arguments | Name | Type | Notes | | ---- | ---- | ----- | -| Any | Any | The data in the Bounce package copied | +| data | dict | The data in the Bounce package copied | ## (Client -> Server) @@ -241,7 +241,7 @@ the server will forward the message to all those targets to which any one requir | games | list[str] | Optional. Game names that should receive this message | | slots | list[int] | Optional. Player IDs that should receive this message | | tags | list[str] | Optional. Client tags that should receive this message | -| Any | Any | Any data you want to send | +| data | dict | Any data you want to send | ## Appendix