Skip to content

Commit

Permalink
Update protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Jan 22, 2024
1 parent bf70ebe commit d2ceaeb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions opengsq/protocols/ase.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from opengsq.binary_reader import BinaryReader
from opengsq.exceptions import InvalidPacketException
from opengsq.protocol_base import ProtocolBase
Expand Down
5 changes: 3 additions & 2 deletions opengsq/responses/ase/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Player:
"""
Represents a player in the game.
Attributes:
Args:
name (str): The name of the player.
team (str): The team of the player.
skin (str): The skin of the player.
Expand All @@ -17,8 +17,9 @@ class Player:
time (int): The time of the player.
"""

name: str
name: str # The name of the player.
team: str
"""The team of the player."""
skin: str
score: int
ping: int
Expand Down

0 comments on commit d2ceaeb

Please sign in to comment.