Server with query protocol
This commit is contained in:
15
sampy/client/player.py
Normal file
15
sampy/client/player.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user