using System.Collections.Generic;
using StardewValley;
namespace StardewModdingAPI
{
/// Provides multiplayer utilities.
public interface IMultiplayerHelper : IModLinked
{
/// Get a new multiplayer ID.
long GetNewID();
/// Get the locations which are being actively synced from the host.
IEnumerable GetActiveLocations();
/* disable until ready for release:
/// Get a connected player.
/// The player's unique ID.
/// Returns the connected player, or null if no such player is connected.
IMultiplayerPeer GetConnectedPlayer(long id);
/// Get all connected players.
IEnumerable GetConnectedPlayers();
*/
}
}