summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/IMultiplayerEvents.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-11-04 22:41:31 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-11-04 22:41:31 -0500
commit222265816d803e8e145c0a500568412d03dd49da (patch)
treee9538299c484b3a488c92bb4d435cfea339efc3d /src/SMAPI/Events/IMultiplayerEvents.cs
parentbfb40202793f2f7f2c9c73272f01a477b23edfa2 (diff)
downloadSMAPI-222265816d803e8e145c0a500568412d03dd49da.tar.gz
SMAPI-222265816d803e8e145c0a500568412d03dd49da.tar.bz2
SMAPI-222265816d803e8e145c0a500568412d03dd49da.zip
add ContextReceived event (#480)
Diffstat (limited to 'src/SMAPI/Events/IMultiplayerEvents.cs')
-rw-r--r--src/SMAPI/Events/IMultiplayerEvents.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Events/IMultiplayerEvents.cs b/src/SMAPI/Events/IMultiplayerEvents.cs
index a6ac6fd3..91e0789c 100644
--- a/src/SMAPI/Events/IMultiplayerEvents.cs
+++ b/src/SMAPI/Events/IMultiplayerEvents.cs
@@ -5,6 +5,9 @@ namespace StardewModdingAPI.Events
/// <summary>Events raised for multiplayer messages and connections.</summary>
public interface IMultiplayerEvents
{
+ /// <summary>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.</summary>
+ event EventHandler<ContextReceivedEventArgs> ContextReceived;
+
/// <summary>Raised after a mod message is received over the network.</summary>
event EventHandler<ModMessageReceivedEventArgs> ModMessageReceived;
}