Skip to content

Search

文档

steam_networking_utils

Valve's ISteamNetworkingUtils, through SteamNetworkingUtils_SteamAPI(): each method in snake case, nil without Steam. See Valve's Steamworks…

本页内容

Valve's ISteamNetworkingUtils, through SteamNetworkingUtils_SteamAPI(): each method in snake case, nil without Steam. See Valve's Steamworks documentation for what each does.

30 functions, 0 constants. Scripts reach it as steam_networking_utils::.

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
check_ping_data_up_to_date(float) -> bool? — Valve's ISteamNetworkingUtils::CheckPingDataUpToDate.
convert_ping_location_to_string(steam::SteamNetworkPingLocation) -> steam_networking_utils::ConvertPingLocationToString? — Valve's ISteamNetworkingUtils::ConvertPingLocationToString.
estimate_ping_time_between_two_locations(steam::SteamNetworkPingLocation, steam::SteamNetworkPingLocation) -> int? — Valve's ISteamNetworkingUtils::EstimatePingTimeBetweenTwoLocations.
estimate_ping_time_from_local_host(steam::SteamNetworkPingLocation) -> int? — Valve's ISteamNetworkingUtils::EstimatePingTimeFromLocalHost.
get_config_value_info(int) -> steam_networking_utils::GetConfigValueInfo? — Valve's ISteamNetworkingUtils::GetConfigValueInfo.
get_direct_ping_to_pop(int) -> int? — Valve's ISteamNetworkingUtils::GetDirectPingToPOP.
get_ipv4_fake_ip_type(int) -> int? — Valve's ISteamNetworkingUtils::GetIPv4FakeIPType.
get_local_ping_location() -> steam_networking_utils::GetLocalPingLocation? — Valve's ISteamNetworkingUtils::GetLocalPingLocation.
get_local_timestamp() -> int? — Valve's ISteamNetworkingUtils::GetLocalTimestamp.
get_ping_to_data_center(int) -> steam_networking_utils::GetPingToDataCenter? — Valve's ISteamNetworkingUtils::GetPingToDataCenter.
get_pop_count() -> int? — Valve's ISteamNetworkingUtils::GetPOPCount.
get_pop_list(int) -> steam_networking_utils::GetPOPList? — Valve's ISteamNetworkingUtils::GetPOPList.
get_real_identity_for_fake_ip(steam::SteamNetworkingIPAddr) -> steam_networking_utils::GetRealIdentityForFakeIP? — Valve's ISteamNetworkingUtils::GetRealIdentityForFakeIP.
get_relay_network_status() -> steam_networking_utils::GetRelayNetworkStatus? — Valve's ISteamNetworkingUtils::GetRelayNetworkStatus.
init_relay_network_access() — Valve's ISteamNetworkingUtils::InitRelayNetworkAccess.
is_fake_ipv4(int) -> bool? — Valve's ISteamNetworkingUtils::IsFakeIPv4.
iterate_generic_editable_config_values(int, bool) -> int? — Valve's ISteamNetworkingUtils::IterateGenericEditableConfigValues.
parse_ping_location_string(str?) -> steam_networking_utils::ParsePingLocationString? — Valve's ISteamNetworkingUtils::ParsePingLocationString.
set_config_value_struct(steam::SteamNetworkingConfigValue, int, int) -> bool? — Valve's ISteamNetworkingUtils::SetConfigValueStruct.
set_connection_config_value_float(int, int, float) -> bool? — Valve's ISteamNetworkingUtils::SetConnectionConfigValueFloat.
set_connection_config_value_int32(int, int, int) -> bool? — Valve's ISteamNetworkingUtils::SetConnectionConfigValueInt32.
set_connection_config_value_string(int, int, str?) -> bool? — Valve's ISteamNetworkingUtils::SetConnectionConfigValueString.
set_global_config_value_float(int, float) -> bool? — Valve's ISteamNetworkingUtils::SetGlobalConfigValueFloat.
set_global_config_value_int32(int, int) -> bool? — Valve's ISteamNetworkingUtils::SetGlobalConfigValueInt32.
set_global_config_value_string(int, str?) -> bool? — Valve's ISteamNetworkingUtils::SetGlobalConfigValueString.
steam_networking_identity_parse_string(str?) -> steam_networking_utils::SteamNetworkingIdentity_ParseString? — Valve's ISteamNetworkingUtils::SteamNetworkingIdentity_ParseString.
steam_networking_identity_to_string(steam::SteamNetworkingIdentity) -> steam_networking_utils::SteamNetworkingIdentity_ToString? — Valve's ISteamNetworkingUtils::SteamNetworkingIdentity_ToString.
steam_networking_ip_addr_get_fake_ip_type(steam::SteamNetworkingIPAddr) -> int? — Valve's ISteamNetworkingUtils::SteamNetworkingIPAddr_GetFakeIPType.
steam_networking_ip_addr_parse_string(str?) -> steam_networking_utils::SteamNetworkingIPAddr_ParseString? — Valve's ISteamNetworkingUtils::SteamNetworkingIPAddr_ParseString.
steam_networking_ip_addr_to_string(steam::SteamNetworkingIPAddr, bool) -> steam_networking_utils::SteamNetworkingIPAddr_ToString? — Valve's ISteamNetworkingUtils::SteamNetworkingIPAddr_ToString.

确定吗?