sampy3/sampy/client/player.py

16 lines
266 B
Python
Raw Normal View History

2023-03-15 07:12:47 +01:00
from ctypes import c_ubyte
class Player:
id: c_ubyte
username: str
score: int
ping: int
health: float
armor: float
# position: Vector3 # TODO
rotation: float
def __init__(self, username: str):
self.username = username