It represent the state of a network connection (peer)
public interface INetworkService { IPeer Peer { get; } void SendMessage(Message message, DeliveryMethod mode, byte channelId = 0); }
public interface IPeer : INetworkService { uint Id { get; } PeerStatus Status { get; } PeerType Type { get; set; } void Disconnect(); T GetPeer<T>(); }
Last updated 3 years ago
Was this helpful?