using System;
namespace StardewModdingAPI.Events
{
/// Events raised for multiplayer messages and connections.
public interface IMultiplayerEvents
{
/// Raised after the mod context for a peer is received. This happens before the game approves the connection, so the player doesn't yet exist in the game. This is the earliest point where messages can be sent to the peer via SMAPI.
event EventHandler PeerContextReceived;
/// Raised after a mod message is received over the network.
event EventHandler ModMessageReceived;
/// Raised after the connection with a peer is severed.
event EventHandler PeerDisconnected;
}
}