blob: 8517988a65d0d0d6b1abfff6449941781622b2ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
namespace StardewModdingAPI.Events
{
/// <summary>Event arguments for an <see cref="IMultiplayerEvents.PeerDisconnected"/> event.</summary>
public class PeerDisconnectedEventArgs : EventArgs
{
/*********
** Accessors
*********/
/// <summary>The peer who disconnected.</summary>
public IMultiplayerPeer Peer { get; }
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="peer">The peer who disconnected.</param>
internal PeerDisconnectedEventArgs(IMultiplayerPeer peer)
{
this.Peer = peer;
}
}
}
|