diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-22 20:46:21 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-22 20:46:21 -0400 |
commit | d3fbdf484a4d90365a55fb5058d75a8623f17d0f (patch) | |
tree | c4ada80c72916195398b315457c7310f0ed6dc8f /src/SMAPI/Framework/Events/ModMultiplayerEvents.cs | |
parent | a42926868ae5878ed59d6406ca085b587299ba07 (diff) | |
download | SMAPI-d3fbdf484a4d90365a55fb5058d75a8623f17d0f.tar.gz SMAPI-d3fbdf484a4d90365a55fb5058d75a8623f17d0f.tar.bz2 SMAPI-d3fbdf484a4d90365a55fb5058d75a8623f17d0f.zip |
reduce duplicated doc blocks
Diffstat (limited to 'src/SMAPI/Framework/Events/ModMultiplayerEvents.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/ModMultiplayerEvents.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs b/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs index 2f9b9482..b90f64fa 100644 --- a/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs +++ b/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs @@ -3,34 +3,34 @@ using StardewModdingAPI.Events; namespace StardewModdingAPI.Framework.Events { - /// <summary>Events raised for multiplayer messages and connections.</summary> + /// <inheritdoc cref="IMultiplayerEvents" /> internal class ModMultiplayerEvents : ModEventsBase, IMultiplayerEvents { /********* ** Accessors *********/ - /// <summary>Raised after the mod context for a peer is received. This happens before the game approves the connection (<see cref="IMultiplayerEvents.PeerConnected"/>), 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.</summary> + /// <inheritdoc /> public event EventHandler<PeerContextReceivedEventArgs> PeerContextReceived { add => this.EventManager.PeerContextReceived.Add(value, this.Mod); remove => this.EventManager.PeerContextReceived.Remove(value); } - /// <summary>Raised after a peer connection is approved by the game.</summary> + /// <inheritdoc /> public event EventHandler<PeerConnectedEventArgs> PeerConnected { add => this.EventManager.PeerConnected.Add(value, this.Mod); remove => this.EventManager.PeerConnected.Remove(value); } - /// <summary>Raised after a mod message is received over the network.</summary> + /// <inheritdoc /> public event EventHandler<ModMessageReceivedEventArgs> ModMessageReceived { add => this.EventManager.ModMessageReceived.Add(value, this.Mod); remove => this.EventManager.ModMessageReceived.Remove(value); } - /// <summary>Raised after the connection with a peer is severed.</summary> + /// <inheritdoc /> public event EventHandler<PeerDisconnectedEventArgs> PeerDisconnected { add => this.EventManager.PeerDisconnected.Add(value, this.Mod); |