Browse Source

fix steamid steam3 char bug

pull/18/merge
Rossen Georgiev 9 years ago
parent
commit
f786c00bb3
  1. 27
      steam/steamid.py

27
steam/steamid.py

@ -3,18 +3,21 @@ from steam.enums.base import SteamIntEnum
from steam.enums import EType, EUniverse from steam.enums import EType, EUniverse
class ETypeChar(SteamIntEnum): class ETypeChar(SteamIntEnum):
I = EType.Invalid I = EType.Invalid
U = EType.Individual U = EType.Individual
M = EType.Multiseat M = EType.Multiseat
G = EType.GameServer G = EType.GameServer
A = EType.AnonGameServer A = EType.AnonGameServer
P = EType.Pending P = EType.Pending
C = EType.ContentServer C = EType.ContentServer
g = EType.Clan g = EType.Clan
T = EType.Chat T = EType.Chat
c = EType.Chat c = EType.Chat
L = EType.Chat L = EType.Chat
a = EType.AnonUser a = EType.AnonUser
def __str__(self):
return self.name
ETypeChars = ''.join(map(str, list(ETypeChar))) ETypeChars = ''.join(map(str, list(ETypeChar)))

Loading…
Cancel
Save