This function will get the player pc unique identifier.
Original: getPlayerUID
Declaration
async def getPlayerUID(id : int) -> str
Parameters
int id: the player id.
Returns
str: the player UID.
Source code in src/pyg2o/functions/player.py
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915 | async def getPlayerUID(id : int) -> str:
"""
This function will get the player pc unique identifier.
Original: [getPlayerUID](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-functions/player/getPlayerUID/)
## Declaration
```python
async def getPlayerUID(id : int) -> str
```
## Parameters
`int` **id**: the player id.
## Returns
`str`: the player UID.
"""
data = f'return {get_call_repr()}'
server = await PythonWebsocketServer.get_server()
result = await server.make_request(data)
return result
|