Class QuotaSystem

Inheritance Relationships

Base Type

Class Documentation

class QuotaSystem : public csp::systems::SystemBase

Public facing system that allows interfacing with Magnopus Connect Services’ Quota Server.

Offers methods for receiving Quota Queries.

Public Functions

void GetTotalSpacesOwnedByUser(FeatureLimitCallback Callback)

Get the total number of Spaces owned by the current user and their tier space limit.

Parameters

Callback – FeatureProgressCallback : callback when asynchronous task finishes

void GetConcurrentUsersInSpace(const csp::common::String &SpaceId, FeatureLimitCallback Callback)

Gets total number of user inside of a space and its tier user limit.

Parameters
void GetTotalSpaceSizeInKilobytes(const csp::common::String &SpaceId, FeatureLimitCallback Callback)

Get total size of all assets within a space and their tier space size limit.

Parameters
void GetTierFeatureProgressForUser(const csp::common::Array<TierFeatures> &FeatureNames, FeaturesLimitCallback Callback)

Get Array of feature progresses for a user and their tier feature limits.

Parameters
void GetTierFeatureProgressForSpace(const csp::common::String &SpaceId, const csp::common::Array<TierFeatures> &FeatureNames, FeaturesLimitCallback Callback)

Get Array of feature progress for a user Space and its tier feature limits.

Parameters
void GetCurrentUserTier(UserTierCallback Callback)

Get current users tier information.

Parameters

CallbackUserTierCallback : callback when asynchronous task finishes

void GetTierFeatureQuota(TierNames TierName, TierFeatures FeatureName, FeatureQuotaCallback Callback)

Get current feature quota information.

Parameters
void GetTierFeaturesQuota(TierNames TierName, FeaturesQuotaCallback Callback)

Get current array of current feature quota information inside a tier.

Parameters