@@ -68,14 +68,6 @@ public class NetworkConfig
68
68
/// </summary>
69
69
public int MessageBufferSize = 1024 ;
70
70
/// <summary>
71
- /// The size of the encryption buffer, this is the buffer where messages will be decrypted to.
72
- /// If you plan on encrypting everything and you are pushing limits wth the MessageBufferSize already.
73
- /// Note that Encryption might add a few extra bytes of padding and 16 bytes for the IV, if authentication is also enabled
74
- /// 32 extra bytes will be used for the SHA256 hash of the HMAC.
75
- /// Note that authentication without encryption will not use this buffer at all.
76
- /// </summary>
77
- public int EncryptionBufferSize = 265 ;
78
- /// <summary>
79
71
/// Amount of times per second the receive queue is emptied and all messages inside are processed.
80
72
/// </summary>
81
73
public int ReceiveTickrate = 64 ;
@@ -213,7 +205,6 @@ public string ToBase64()
213
205
}
214
206
215
207
writer . WriteInt32Packed ( config . MessageBufferSize ) ;
216
- writer . WriteInt32Packed ( config . EncryptionBufferSize ) ;
217
208
writer . WriteInt32Packed ( config . ReceiveTickrate ) ;
218
209
writer . WriteInt32Packed ( config . MaxReceiveEventsPerTickRate ) ;
219
210
writer . WriteInt32Packed ( config . SendTickrate ) ;
@@ -294,7 +285,6 @@ public void FromBase64(string base64, bool createDummyObject = false)
294
285
}
295
286
296
287
config . MessageBufferSize = reader . ReadInt32Packed ( ) ;
297
- config . EncryptionBufferSize = reader . ReadInt32Packed ( ) ;
298
288
config . ReceiveTickrate = reader . ReadInt32Packed ( ) ;
299
289
config . MaxReceiveEventsPerTickRate = reader . ReadInt32Packed ( ) ;
300
290
config . SendTickrate = reader . ReadInt32Packed ( ) ;
0 commit comments