This commit is contained in:
JohnCorby 2023-08-01 22:34:46 -07:00
parent fdec39ec1f
commit a1e3477164

View File

@ -32,6 +32,8 @@ public interface IQSBAPI
/// <summary> /// <summary>
/// Returns the list of IDs of all connected players. /// Returns the list of IDs of all connected players.
///
/// The first player in the list is the host.
/// </summary> /// </summary>
uint[] GetPlayerIDs(); uint[] GetPlayerIDs();
@ -65,6 +67,8 @@ public interface IQSBAPI
/// <summary> /// <summary>
/// Sends a message containing arbitrary data to every player. /// Sends a message containing arbitrary data to every player.
///
/// Keep your messages under around 1100 bytes.
/// </summary> /// </summary>
/// <typeparam name="T">The type of the data being sent. This type must be serializable.</typeparam> /// <typeparam name="T">The type of the data being sent. This type must be serializable.</typeparam>
/// <param name="messageType">The unique key of the message.</param> /// <param name="messageType">The unique key of the message.</param>