public void Initialize(TokenBucketList <ulong> playerBuckets, IConnection client, AppRequest request, T proto) { _playerBuckets = playerBuckets; Client = client; Request = request; Proto = proto; }
public virtual void EnterPool() { _playerBuckets = null; Client = null; if (Request != null) { Request.Dispose(); Request = null; } Proto = null; UserId = 0uL; Player = null; }