This function will get the equipped player ring.
Original: getPlayerRing
Declaration
dasync def getPlayerRing(id : int, handId : int) -> str
Parameters
int id: the player id.
int handId: the handId. For more information see Hand constants.
Returns
str: the item instance from Daedalus scripts.
Source code in src/pyg2o/functions/player.py
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747 | async def getPlayerRing(id : int, handId : int) -> str:
"""
This function will get the equipped player ring.
Original: [getPlayerRing](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-functions/player/getPlayerRing/)
## Declaration
```python
dasync def getPlayerRing(id : int, handId : int) -> str
```
## Parameters
`int` **id**: the player id.
`int` **handId**: the handId. For more information see [Hand constants](../../constants/hand.md).
## Returns
`str`: the item instance from Daedalus scripts.
"""
data = f'return {get_call_repr()}'
server = await PythonWebsocketServer.get_server()
result = await server.make_request(data)
return result
|