SteamVoipRoom - stingray.SteamVoipRoom namespace reference - Stingray Lua API Reference

stingray.SteamVoipRoom namespace reference

Description

This represents a room where people can talk to each other in over the Internet.

The creator of the room decides who should be in it.

Functions

Parameters

room_id :

string

The ID of the room that the peer should join.

peer_id :

string

The ID of the peer you want to add to the room.

Returns
This function does not return any values.
Parameters

room_id :

string

The ID of the room to query.

Returns

string[]?

A table that lists the IDs of all peers that cannot communicate with the room.

The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown.
The ? notation indicates that this type is optional: there may be zero or one instances of it.
  • If this function returns nil, all is well.
  • If it returns a table, that table contains all members that the room can no longer communicate with. You should typically respond by removing those peers from the room.
Parameters

room_id :

string

The ID of the room whose members you want to retrieve.

Returns

string[]

A table that contains the ID of each member.

The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown.
Parameters

room_id :

string

The ID of the room that the peer should be removed from.

peer_id :

string

The ID of the peer you want to remove from the room.

Returns
This function does not return any values.