2using System.Runtime.CompilerServices;
8 public override string address =>
"";
11 [MethodImpl(MethodImplOptions.AggressiveInlining)]
12 protected override void SendToTransport(ArraySegment<byte> segment,
int channelId =
Channels.Reliable) =>
22 NetworkClient.ready =
false;
Base NetworkConnection class for server-to-client and client-to-server connection.
bool isReady
A server connection is ready after joining the game world.
override void Disconnect()
Disconnects this connection.
Abstract transport layer component
static Transport activeTransport
The current transport used by Mirror.
abstract void ClientSend(ArraySegment< byte > segment, int channelId=Channels.Reliable)
Sends a message to the server over the given channel.
abstract void ClientDisconnect()
Disconnects the client from the server