Returns the storage space currently used for a given segment.
current, maximum = Inspect.Storage.Used(segment) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
segment | parameter | string | The storage segment to access. "player" will access the target's per-player storage, "guild" will access the target's guild's per-guild storage. If this function has no target parameter, then the player will be targeted. |
current | result | number | Current storage space used. |
maximum | result | number | Maximum storage space available. |