using System;
using StardewValley;
using StardewValley.Network;
namespace StardewModdingAPI.Framework.Networking
{
/// A multiplayer client used to connect to a hosted server. This is an implementation of that adds support for SMAPI's metadata context exchange.
internal class SLidgrenClient : LidgrenClient
{
/*********
** Properties
*********/
/// Get the metadata to include in a metadata message sent to other players.
private readonly Func