From 1e8a8e7482d4412f13a98121d208399fb48da3e1 Mon Sep 17 00:00:00 2001 From: Doug Hoskisson Date: Mon, 19 Aug 2024 11:37:36 -0700 Subject: [PATCH] Docs: `NetworkItem.player` (#3811) * Docs: `NetworkItem.player` In many contexts, it's difficult to tell whether this is the sending player or the receiving player. * correct player info * Update NetUtils.py Co-authored-by: Aaron Wagener --------- Co-authored-by: Aaron Wagener --- NetUtils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/NetUtils.py b/NetUtils.py index f7977372..c451fa3f 100644 --- a/NetUtils.py +++ b/NetUtils.py @@ -79,6 +79,7 @@ class NetworkItem(typing.NamedTuple): item: int location: int player: int + """ Sending player, except in LocationInfo (from LocationScouts), where it is the receiving player. """ flags: int = 0