Skip to content

Search

Documentação

steam_networking

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

Nesta página

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

22 functions, 0 constants. Scripts reach it as steam_networking::.

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
accept_p2_p_session_with_user(int) -> bool? — Valve's ISteamNetworking::AcceptP2PSessionWithUser.
allow_p2_p_packet_relay(bool) -> bool? — Valve's ISteamNetworking::AllowP2PPacketRelay.
close_p2_p_channel_with_user(int, int) -> bool? — Valve's ISteamNetworking::CloseP2PChannelWithUser.
close_p2_p_session_with_user(int) -> bool? — Valve's ISteamNetworking::CloseP2PSessionWithUser.
create_connection_socket(steam::SteamIPAddress, int, int) -> int? — Valve's ISteamNetworking::CreateConnectionSocket.
create_listen_socket(int, steam::SteamIPAddress, int, bool) -> int? — Valve's ISteamNetworking::CreateListenSocket.
create_p2_p_connection_socket(int, int, int, bool) -> int? — Valve's ISteamNetworking::CreateP2PConnectionSocket.
destroy_listen_socket(int, bool) -> bool? — Valve's ISteamNetworking::DestroyListenSocket.
destroy_socket(int, bool) -> bool? — Valve's ISteamNetworking::DestroySocket.
get_listen_socket_info(int) -> steam_networking::GetListenSocketInfo? — Valve's ISteamNetworking::GetListenSocketInfo.
get_max_packet_size(int) -> int? — Valve's ISteamNetworking::GetMaxPacketSize.
get_p2_p_session_state(int) -> steam_networking::GetP2PSessionState? — Valve's ISteamNetworking::GetP2PSessionState.
get_socket_connection_type(int) -> int? — Valve's ISteamNetworking::GetSocketConnectionType.
get_socket_info(int) -> steam_networking::GetSocketInfo? — Valve's ISteamNetworking::GetSocketInfo.
is_data_available(int) -> steam_networking::IsDataAvailable? — Valve's ISteamNetworking::IsDataAvailable.
is_data_available_on_socket(int) -> steam_networking::IsDataAvailableOnSocket? — Valve's ISteamNetworking::IsDataAvailableOnSocket.
is_p2_p_packet_available(int) -> steam_networking::IsP2PPacketAvailable? — Valve's ISteamNetworking::IsP2PPacketAvailable.
read_p2_p_packet(int, int) -> steam_networking::ReadP2PPacket? — Valve's ISteamNetworking::ReadP2PPacket.
retrieve_data(int, int) -> steam_networking::RetrieveData? — Valve's ISteamNetworking::RetrieveData.
retrieve_data_from_socket(int, int) -> steam_networking::RetrieveDataFromSocket? — Valve's ISteamNetworking::RetrieveDataFromSocket.
send_data_on_socket(int, [int], bool) -> bool? — Valve's ISteamNetworking::SendDataOnSocket.
send_p2_p_packet(int, [int], int, int) -> bool? — Valve's ISteamNetworking::SendP2PPacket.

Tens a certeza?