protected virtual void DoGet(ContainerGet get) { if (Level >= get.Amount) { Level -= get.Amount; get.Succeed(); } }
protected virtual void DoGet(ContainerGet get) { if (Level >= get.Amount) { GetWaitingTime?.Add(Environment.ToDouble(Environment.Now - get.Time)); Level -= get.Amount; get.Succeed(); } }