mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Revert "Inserted blank lines where appropriate"
This reverts commit af84a1730b
.
This commit is contained in:
parent
d2c80d6fd3
commit
913d503fda
@ -77,7 +77,6 @@ bool ProcessClientMessage()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void ClientDisconnect() => client.Disconnect();
|
||||
|
||||
// IMPORTANT: set script execution order to >1000 to call Transport's
|
||||
@ -98,7 +97,6 @@ public void LateUpdate()
|
||||
public override bool ServerActive() => server.Active;
|
||||
public override void ServerStart() => server.Start(port);
|
||||
public override bool ServerSend(int connectionId, int channelId, byte[] data) => server.Send(connectionId, data);
|
||||
|
||||
public bool ProcessServerMessage()
|
||||
{
|
||||
if (server.GetNextMessage(out Telepathy.Message message))
|
||||
@ -123,9 +121,7 @@ public bool ProcessServerMessage()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool ServerDisconnect(int connectionId) => server.Disconnect(connectionId);
|
||||
|
||||
public override string ServerGetClientAddress(int connectionId)
|
||||
{
|
||||
try
|
||||
@ -145,7 +141,6 @@ public override string ServerGetClientAddress(int connectionId)
|
||||
return "unknown";
|
||||
}
|
||||
}
|
||||
|
||||
public override void ServerStop() => server.Stop();
|
||||
|
||||
// common
|
||||
|
Loading…
Reference in New Issue
Block a user