Add pid (PlayerId)

This commit is contained in:
Maxim Khomutov 2023-07-22 21:13:57 +03:00
parent 8e8c66c3bf
commit d6021ddc2d
2 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,10 @@ class Client:
def cid(self):
return self._cid
@property
def pid(self):
return self._cid
@property
def key(self):
return self._key

View File

@ -46,6 +46,7 @@ class Client:
def addr(self) -> Tuple[str, int]: ...
@property
def cid(self) -> int: ...
def pid(self) -> int: ...
@property
def key(self) -> str: ...
@property