/*** Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: AuNetChannelLimits.cpp Date: 2023-11-29 Author: Reece ***/ #include "Networking.hpp" #include "AuNetChannelLimits.hpp" namespace Aurora::IO::Net { AuOptional NetChannelLimits::GetBeforeDDoSDCAverageThroughputLimit() { return this->optBeforeDDoSDCAverageThroughputLimit; } AuOptional NetChannelLimits::SetBeforeDDoSDCAverageThroughputLimit(AuOptional uNextValue) { return AuExchange(this->optBeforeDDoSDCAverageThroughputLimit, uNextValue); } AuOptional NetChannelLimits::GetBeforeDDoSDCFrameTimeMS() { return this->optBeforeDDoSDCFrameTimeMS; } AuOptional NetChannelLimits::SetBeforeDDoSDCFrameTimeMS(AuOptional uNextValue) { return AuExchange(this->optBeforeDDoSDCFrameTimeMS, uNextValue); } AuOptional NetChannelLimits::GetBeforeDDoSTickFrameLimitCount() { return this->optBeforeDDoSTickFrameLimitCount; } AuOptional NetChannelLimits::SetBeforeDDoSTickFrameLimitCount(AuOptional uNextValue) { return AuExchange(this->optBeforeDDoSTickFrameLimitCount, uNextValue); } AuOptional NetChannelLimits::GetBeforeDDoSTickFrameTimeMS() { return this->optBeforeDDoSTickFrameTimeMS; } AuOptional NetChannelLimits::SetBeforeDDoSTickFrameTimeMS(AuOptional uNextValue) { return AuExchange(this->optBeforeDDoSTickFrameTimeMS, uNextValue); } }