Пример #1
0
 internal PlayerReplicationDataPool(ReplicationConfig replicationConfig, int capacity)
 {
     this._replicationConfig = replicationConfig ?? throw new ArgumentNullException(nameof(replicationConfig));
     this._items             = new PlayerReplicationData[capacity];
     this._freeItemIndices   = new int[capacity];
 }