@@ -68,14 +68,6 @@ public class NetworkConfig
6868 /// </summary>
6969 public int MessageBufferSize = 1024 ;
7070 /// <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>
7971 /// Amount of times per second the receive queue is emptied and all messages inside are processed.
8072 /// </summary>
8173 public int ReceiveTickrate = 64 ;
@@ -213,7 +205,6 @@ public string ToBase64()
213205 }
214206
215207 writer . WriteInt32Packed ( config . MessageBufferSize ) ;
216- writer . WriteInt32Packed ( config . EncryptionBufferSize ) ;
217208 writer . WriteInt32Packed ( config . ReceiveTickrate ) ;
218209 writer . WriteInt32Packed ( config . MaxReceiveEventsPerTickRate ) ;
219210 writer . WriteInt32Packed ( config . SendTickrate ) ;
@@ -294,7 +285,6 @@ public void FromBase64(string base64, bool createDummyObject = false)
294285 }
295286
296287 config . MessageBufferSize = reader . ReadInt32Packed ( ) ;
297- config . EncryptionBufferSize = reader . ReadInt32Packed ( ) ;
298288 config . ReceiveTickrate = reader . ReadInt32Packed ( ) ;
299289 config . MaxReceiveEventsPerTickRate = reader . ReadInt32Packed ( ) ;
300290 config . SendTickrate = reader . ReadInt32Packed ( ) ;
0 commit comments