public GatewayBucket(GatewayBucketType type, BucketId id, int count, int seconds) { Type = type; Id = id; WindowCount = count; WindowSeconds = seconds; }
public static GatewayBucket Get(GatewayBucketType type) => DefsByType[type];