steam_user
Valve's ISteamUser, through SteamUser(): each method in snake case, nil without Steam. See Valve's Steamworks documentation for what each does.
ในหน้านี้
Valve's ISteamUser, through SteamUser(): each method in snake case, nil without Steam. See Valve's Steamworks documentation for what each does.
33 functions, 0 constants. Scripts reach it as steam_user::.
Functions
Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.
| function | acts on | what it does |
|---|---|---|
advertise_game(int, int, int) |
— | Valve's ISteamUser::AdvertiseGame. |
begin_auth_session([int], int) -> int? |
— | Valve's ISteamUser::BeginAuthSession. |
cancel_auth_ticket(int) |
— | Valve's ISteamUser::CancelAuthTicket. |
decompress_voice([int], int, int) -> steam_user::DecompressVoice? |
— | Valve's ISteamUser::DecompressVoice. |
end_auth_session(int) |
— | Valve's ISteamUser::EndAuthSession. |
get_auth_session_ticket(int, steam::SteamNetworkingIdentity?) -> steam_user::GetAuthSessionTicket? |
— | Valve's ISteamUser::GetAuthSessionTicket. |
get_auth_ticket_for_web_api(str?) -> int? |
— | Valve's ISteamUser::GetAuthTicketForWebApi. |
get_available_voice(int) -> steam_user::GetAvailableVoice? |
— | Valve's ISteamUser::GetAvailableVoice. |
get_duration_control() -> int |
— | Valve's ISteamUser::GetDurationControl. Returns the id whose task::wait answer is steam::EVENT_DURATION_CONTROL with DurationControl_t's fields and failed, or unsupported without Steam. |
get_encrypted_app_ticket(int) -> steam_user::GetEncryptedAppTicket? |
— | Valve's ISteamUser::GetEncryptedAppTicket. |
get_game_badge_level(int, bool) -> int? |
— | Valve's ISteamUser::GetGameBadgeLevel. |
get_h_steam_user() -> int? |
— | Valve's ISteamUser::GetHSteamUser. |
get_market_eligibility() -> int |
— | Valve's ISteamUser::GetMarketEligibility. Returns the id whose task::wait answer is steam::EVENT_MARKET_ELIGIBILITY_RESPONSE with MarketEligibilityResponse_t's fields and failed, or unsupported without Steam. |
get_player_steam_level() -> int? |
— | Valve's ISteamUser::GetPlayerSteamLevel. |
get_steam_id() -> int? |
— | Valve's ISteamUser::GetSteamID. |
get_user_data_folder() -> steam_user::GetUserDataFolder? |
— | Valve's ISteamUser::GetUserDataFolder. |
get_voice(bool, int, bool, int, int) -> steam_user::GetVoice? |
— | Valve's ISteamUser::GetVoice. |
get_voice_optimal_sample_rate() -> int? |
— | Valve's ISteamUser::GetVoiceOptimalSampleRate. |
initiate_game_connection_deprecated(int, int, int, int, bool) -> steam_user::InitiateGameConnection_DEPRECATED? |
— | Valve's ISteamUser::InitiateGameConnection_DEPRECATED. |
is_behind_nat() -> bool? |
— | Valve's ISteamUser::BIsBehindNAT. |
is_phone_identifying() -> bool? |
— | Valve's ISteamUser::BIsPhoneIdentifying. |
is_phone_requiring_verification() -> bool? |
— | Valve's ISteamUser::BIsPhoneRequiringVerification. |
is_phone_verified() -> bool? |
— | Valve's ISteamUser::BIsPhoneVerified. |
is_two_factor_enabled() -> bool? |
— | Valve's ISteamUser::BIsTwoFactorEnabled. |
logged_on() -> bool? |
— | Valve's ISteamUser::BLoggedOn. |
request_encrypted_app_ticket([int]) -> int |
— | Valve's ISteamUser::RequestEncryptedAppTicket. Returns the id whose task::wait answer is steam::EVENT_ENCRYPTED_APP_TICKET_RESPONSE with EncryptedAppTicketResponse_t's fields and failed, or unsupported without Steam. |
request_store_auth_url(str?) -> int |
— | Valve's ISteamUser::RequestStoreAuthURL. Returns the id whose task::wait answer is steam::EVENT_STORE_AUTH_URL_RESPONSE with StoreAuthURLResponse_t's fields and failed, or unsupported without Steam. |
set_duration_control_online_state(int) -> bool? |
— | Valve's ISteamUser::BSetDurationControlOnlineState. |
start_voice_recording() |
— | Valve's ISteamUser::StartVoiceRecording. |
stop_voice_recording() |
— | Valve's ISteamUser::StopVoiceRecording. |
terminate_game_connection_deprecated(int, int) |
— | Valve's ISteamUser::TerminateGameConnection_DEPRECATED. |
track_app_usage_event(int, int, str?) |
— | Valve's ISteamUser::TrackAppUsageEvent. |
user_has_license_for_app(int, int) -> int? |
— | Valve's ISteamUser::UserHasLicenseForApp. |