mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
These fields should never be assigned after creation
This commit is contained in:
parent
875115db2c
commit
a4b642fca6
@ -8,16 +8,16 @@ namespace Mirror
|
||||
{
|
||||
public class LLAPITransport : TransportLayer
|
||||
{
|
||||
ConnectionConfig connectionConfig;
|
||||
readonly ConnectionConfig connectionConfig;
|
||||
readonly int channelId = 0; // always use first channel
|
||||
byte error;
|
||||
|
||||
int clientId = -1;
|
||||
int clientConnectionId = -1;
|
||||
byte[] clientReceiveBuffer = new byte[4096];
|
||||
readonly byte[] clientReceiveBuffer = new byte[4096];
|
||||
|
||||
int serverHostId = -1;
|
||||
byte[] serverReceiveBuffer = new byte[4096];
|
||||
readonly byte[] serverReceiveBuffer = new byte[4096];
|
||||
|
||||
public LLAPITransport(GlobalConfig globalConfig = null, ConnectionConfig connectionConfig = null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user