Component:StorageUsageStatus

From Resonite Wiki
Revision as of 19:49, 7 November 2024 by 989onan (talk | contribs) (Add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Storage Usage Status component as seen in the Scene Inspector

Storage Usage Status is a component that is used to read how much storage a user has used, total, shared, and that has left to share.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
OwnerId String The id of the user this is reading data from
GroupMemberQuota Bool Whether to read group storage limits.
HasValidData raw output of Bool Whether this component has successfully grabbed the data.
StorageBytes raw output of Long how many bytes of storage OwnerId has total
FullStorageBytes raw output of Long how many bytes of storage OwnerId has used currently.
ShareableStorageBytes raw output of Long How many bytes of storage OwnerId currently has ready to share.
SharedStorageBytes raw output of Long How many bytes of storage OwnerId has shared with others currently.
UsageBytes raw output of Long The total amount of bytes being used by OwnerId.
UsageRatio raw output of Float the percentage of how full OwnerId's storage is from 0->1
StorageString raw output of String String version with nice formatting applied of how much storage OwnerId has.
FullStorageString raw output of String String version with nice formatting applied of
ShareableStorageString raw output of String String version with nice formatting applied of how much storage OwnerId has ready to share.
SharedStorageString raw output of String String version with nice formatting applied of how much storage OwnerId has shared with others.
UsageString raw output of String String version with nice formatting applied of how much storage OwnerId has used.
RatioString raw output of String String version with nice formatting applied of how full OwnerId's storage is.

Usage

Can only be used in user space (verify?)

Examples

Used in the cloud storage facets to show the user how much storage they have left.

Related Components