Inserted blank lines where appropriate

This commit is contained in:
MrGadget 2019-09-05 09:52:49 -04:00 committed by GitHub
parent 6e92cba906
commit af84a1730b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,7 @@ bool ProcessClientMessage()
} }
return false; return false;
} }
public override void ClientDisconnect() => client.Disconnect(); public override void ClientDisconnect() => client.Disconnect();
// IMPORTANT: set script execution order to >1000 to call Transport's // IMPORTANT: set script execution order to >1000 to call Transport's
@ -97,6 +98,7 @@ public void LateUpdate()
public override bool ServerActive() => server.Active; public override bool ServerActive() => server.Active;
public override void ServerStart() => server.Start(port); public override void ServerStart() => server.Start(port);
public override bool ServerSend(int connectionId, int channelId, byte[] data) => server.Send(connectionId, data); public override bool ServerSend(int connectionId, int channelId, byte[] data) => server.Send(connectionId, data);
public bool ProcessServerMessage() public bool ProcessServerMessage()
{ {
if (server.GetNextMessage(out Telepathy.Message message)) if (server.GetNextMessage(out Telepathy.Message message))
@ -121,7 +123,9 @@ public bool ProcessServerMessage()
} }
return false; return false;
} }
public override bool ServerDisconnect(int connectionId) => server.Disconnect(connectionId); public override bool ServerDisconnect(int connectionId) => server.Disconnect(connectionId);
public override string ServerGetClientAddress(int connectionId) public override string ServerGetClientAddress(int connectionId)
{ {
try try
@ -141,6 +145,7 @@ public override string ServerGetClientAddress(int connectionId)
return "unknown"; return "unknown";
} }
} }
public override void ServerStop() => server.Stop(); public override void ServerStop() => server.Stop();
// common // common