mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-06-18 14:41:21 +00:00
Add pid (PlayerId)
This commit is contained in:
@@ -60,6 +60,10 @@ class Client:
|
|||||||
def cid(self):
|
def cid(self):
|
||||||
return self._cid
|
return self._cid
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pid(self):
|
||||||
|
return self._cid
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def key(self):
|
def key(self):
|
||||||
return self._key
|
return self._key
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ class Client:
|
|||||||
def addr(self) -> Tuple[str, int]: ...
|
def addr(self) -> Tuple[str, int]: ...
|
||||||
@property
|
@property
|
||||||
def cid(self) -> int: ...
|
def cid(self) -> int: ...
|
||||||
|
def pid(self) -> int: ...
|
||||||
@property
|
@property
|
||||||
def key(self) -> str: ...
|
def key(self) -> str: ...
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user