steam module¶
Provides functions specific to steam.
-
class
steam.
AccountType
¶ Bases:
Boost.Python.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
= _steam.AccountType.P2P_SUPER_SEEDER¶
-
PENDING
= _steam.AccountType.PENDING¶
-
names
= {'INVALID': _steam.AccountType.INVALID, 'INDIVIDUAL': _steam.AccountType.INDIVIDUAL, 'MULTISEAT': _steam.AccountType.MULTISEAT, 'GAME_SERVER': _steam.AccountType.GAME_SERVER, 'ANONYMOUS_GAME_SERVER': _steam.AccountType.ANONYMOUS_GAME_SERVER, 'PENDING': _steam.AccountType.PENDING, 'CONTENT_SERVER': _steam.AccountType.CONTENT_SERVER, 'CLAN': _steam.AccountType.CLAN, 'CHAT': _steam.AccountType.CHAT, 'ANONYMOUS_USER': _steam.AccountType.ANONYMOUS_USER, 'P2P_SUPER_SEEDER': _steam.AccountType.P2P_SUPER_SEEDER}¶
-
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, 9: _steam.AccountType.P2P_SUPER_SEEDER}¶
-
-
class
steam.
SteamID
¶ Bases:
Boost.Python.instance
-
__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.
-
is_valid
((SteamID)arg1) → bool¶
-
static
parse
((str)arg1) → SteamID :¶ Parse a SteamID2, SteamID3 or SteamID64 string representation and create a new SteamID object.
-
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.
-
account_id
¶ A property to get/set the account ID.
-
account_instance
¶
-
account_type
¶
-
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.
-
universe
¶ A property to get/set the universe.
-
-
class
steam.
Universe
¶ Bases:
Boost.Python.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
= {'INVALID': _steam.Universe.INVALID, 'PUBLIC': _steam.Universe.PUBLIC, 'BETA': _steam.Universe.BETA, 'INTERNAL': _steam.Universe.INTERNAL, 'DEV': _steam.Universe.DEV, 'MAX': _steam.Universe.MAX}¶
-
values
= {0: _steam.Universe.INVALID, 1: _steam.Universe.PUBLIC, 2: _steam.Universe.BETA, 3: _steam.Universe.INTERNAL, 4: _steam.Universe.DEV, 6: _steam.Universe.MAX}¶
-