This commit is contained in:
2025-06-16 15:24:27 +02:00
commit 83a46b2fc4
1452 changed files with 214261 additions and 0 deletions

View File

@ -0,0 +1,13 @@
// "NetworkWriterPooled" instead of "PooledNetworkWriter" to group files, for
// easier IDE workflow and more elegant code.
using System;
namespace Mirror
{
/// <summary>Pooled NetworkWriter, automatically returned to pool when using 'using'</summary>
// TODO make sealed again after removing obsolete NetworkWriterPooled!
public class NetworkWriterPooled : NetworkWriter, IDisposable
{
public void Dispose() => NetworkWriterPool.Return(this);
}
}