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