steam module¶
Provides functions specific to steam.
- class steam.AccountType¶
Bases:
enum
- ANONYMOUS_GAME_SERVER = _steam.AccountType.ANONYMOUS_GAME_SERVER¶
- ANONYMOUS_USER = _steam.AccountType.ANONYMOUS_USER¶
- CHAT = _steam.AccountType.CHAT¶
- CLAN = _steam.AccountType.CLAN¶
- CONSOLE_USER = None¶
- CONTENT_SERVER = _steam.AccountType.CONTENT_SERVER¶
- GAME_SERVER = _steam.AccountType.GAME_SERVER¶
- INDIVIDUAL = _steam.AccountType.INDIVIDUAL¶
- INVALID = _steam.AccountType.INVALID¶
- MULTISEAT = _steam.AccountType.MULTISEAT¶
- P2P_SUPER_SEEDER = None¶
- PENDING = _steam.AccountType.PENDING¶
- names = {'ANONYMOUS_GAME_SERVER': _steam.AccountType.ANONYMOUS_GAME_SERVER, 'ANONYMOUS_USER': _steam.AccountType.ANONYMOUS_USER, 'CHAT': _steam.AccountType.CHAT, 'CLAN': _steam.AccountType.CLAN, 'CONTENT_SERVER': _steam.AccountType.CONTENT_SERVER, 'GAME_SERVER': _steam.AccountType.GAME_SERVER, 'INDIVIDUAL': _steam.AccountType.INDIVIDUAL, 'INVALID': _steam.AccountType.INVALID, 'MULTISEAT': _steam.AccountType.MULTISEAT, 'PENDING': _steam.AccountType.PENDING}¶
- values = {0: _steam.AccountType.INVALID, 1: _steam.AccountType.INDIVIDUAL, 2: _steam.AccountType.MULTISEAT, 3: _steam.AccountType.GAME_SERVER, 4: _steam.AccountType.ANONYMOUS_GAME_SERVER, 5: _steam.AccountType.PENDING, 6: _steam.AccountType.CONTENT_SERVER, 7: _steam.AccountType.CLAN, 8: _steam.AccountType.CHAT, 10: _steam.AccountType.ANONYMOUS_USER}¶
- class steam.SteamID¶
Bases:
instance
- static parse((str)arg1) SteamID : ¶
Parse a SteamID2, SteamID3 or SteamID64 string representation and create a new SteamID object.
- __init__((object)arg1) None ¶
__init__( (object)arg1, (int)arg2, (Universe)arg3, (AccountType)arg4) -> None
__init__( (object)arg1, (int)arg2, (int)arg3, (Universe)arg4, (AccountType)arg5) -> None
__init__( (object)arg1, (int)arg2) -> None
- clear()¶
- object clear(tuple args, dict kwds) :
Not implemented on this engine.
- clear_individual_instance()¶
- object clear_individual_instance(tuple args, dict kwds) :
Not implemented on this engine.
- create_blank_anonymous_logon((SteamID)arg1, (Universe)arg2) None : ¶
Create an anonymous game server login to be filled in by the AM.
- create_blank_anonymous_user_account()¶
- object create_blank_anonymous_user_account(tuple args, dict kwds) :
Not implemented on this engine.
- full_set((SteamID)arg1, (int)arg2, (Universe)arg3, (AccountType)arg4) None : ¶
Initialize a Steam ID from its 52-bit parts and universe/type.
- has_no_individual_instance()¶
- object has_no_individual_instance(tuple args, dict kwds) :
Not implemented on this engine.
- instanced_set((SteamID)arg1, (int)arg2, (int)arg3, (Universe)arg4, (AccountType)arg5) None : ¶
Set parameters for SteamID.
- is_anonymous_account()¶
- object is_anonymous_account(tuple args, dict kwds) :
Not implemented on this engine.
- is_anonymous_game_server_account()¶
- object is_anonymous_game_server_account(tuple args, dict kwds) :
Not implemented on this engine.
- is_anonymous_user_account()¶
- object is_anonymous_user_account(tuple args, dict kwds) :
Not implemented on this engine.
- is_blank_anonymous_account((SteamID)arg1) bool : ¶
Return True if this is an anonymous game server login that will be filled in.
- is_chat_account((SteamID)arg1) bool : ¶
Return True if this a chat account ID.
- is_clan_account((SteamID)arg1) bool : ¶
Return True if this is a clan account ID.
- is_console_user_account()¶
- object is_console_user_account(tuple args, dict kwds) :
Not implemented on this engine.
- is_content_server_account((SteamID)arg1) bool : ¶
Return True if this is a content server account ID.
- is_game_server_account((SteamID)arg1) bool : ¶
Return True if this is a game server account ID.
- is_individual_account((SteamID)arg1) bool : ¶
Return True if this is an individual user account ID.
- is_lobby()¶
- object is_lobby(tuple args, dict kwds) :
Not implemented on this engine.
- is_persistent_game_server_account()¶
- object is_persistent_game_server_account(tuple args, dict kwds) :
Not implemented on this engine.
- set((SteamID)arg1, (int)arg2, (Universe)arg3, (AccountType)arg4) None : ¶
Set parameters for SteamID.
- set_from_uint64((SteamID)arg1, (int)arg2) None : ¶
Initialize a Steam ID from its 64-bit representation.
- to_steamid2((SteamID)arg1) str : ¶
Convert the Steam ID to its SteamID2 string representation.
- to_steamid3((SteamID)arg1) str : ¶
Convert the Steam ID to its SteamID3 string representation.
- to_uint64((SteamID)arg1) int : ¶
Convert a Steam ID to its 64-bit representation.
- property account_id¶
A property to get/set the account ID.
- property account_instance¶
None( (_steam.SteamID)arg1) -> int
- property account_type¶
None( (_steam.SteamID)arg1) -> object
- property static_account_key¶
Convert the static parts of a Steam ID to a 64-bit representation. For multiseat accounts, all instances of that account will have the same static account key, so they can be grouped together by the static account key.
- property universe¶
A property to get/set the universe.
- class steam.Universe¶
Bases:
enum
- BETA = _steam.Universe.BETA¶
- DEV = _steam.Universe.DEV¶
- INTERNAL = _steam.Universe.INTERNAL¶
- INVALID = _steam.Universe.INVALID¶
- MAX = _steam.Universe.MAX¶
- PUBLIC = _steam.Universe.PUBLIC¶
- names = {'BETA': _steam.Universe.BETA, 'DEV': _steam.Universe.DEV, 'INTERNAL': _steam.Universe.INTERNAL, 'INVALID': _steam.Universe.INVALID, 'MAX': _steam.Universe.MAX, 'PUBLIC': _steam.Universe.PUBLIC}¶
- values = {0: _steam.Universe.INVALID, 1: _steam.Universe.PUBLIC, 2: _steam.Universe.BETA, 3: _steam.Universe.INTERNAL, 4: _steam.Universe.DEV, 5: _steam.Universe.MAX}¶