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 <[email protected]>

---------

Co-authored-by: Aaron Wagener <[email protected]>
This commit is contained in:
Doug Hoskisson
2024-08-19 20:37:36 +02:00
committed by GitHub
co-authored by Aaron Wagener
parent 182f7e24e5
commit 1e8a8e7482
+1
View File
@@ -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