using System; namespace RebootKit.Engine.Multiplayer { public enum SendMode { Reliable, Unreliable } public interface INetworkTransport { void Initialize(); void Shutdown(); bool IsServer(); bool IsClient(); bool StartServer(); void StopServer(); bool Connect(ulong serverID); void Disconnect(); void Send(ulong clientID, ArraySegment data, SendMode mode); } }