mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
rules
This commit is contained in:
parent
a9b4f8e83b
commit
e6efc04756
8494 changed files with 495610 additions and 0 deletions
78
.cursor/rules/roblox/reference/engine/classes/StatsItem.yaml
Normal file
78
.cursor/rules/roblox/reference/engine/classes/StatsItem.yaml
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
# This file is automatically generated. Please don't edit it manually.
|
||||
# To submit a bug report on the content, see
|
||||
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
||||
|
||||
name: StatsItem
|
||||
type: class
|
||||
memory_category: Instances
|
||||
summary: |
|
||||
A single performance metric.
|
||||
description: |
|
||||
A StatsItem is an internal measurement item that is created by the engine to
|
||||
benchmark many of the backend components of Roblox. It cannot be created using
|
||||
`Datatype.Instance.new()`, but its value can be read by plugins. They can be
|
||||
found stored inside of the `Class.Stats` service.
|
||||
code_samples: []
|
||||
inherits:
|
||||
- Instance
|
||||
descendants:
|
||||
- RunningAverageItemDouble
|
||||
- RunningAverageItemInt
|
||||
- RunningAverageTimeIntervalItem
|
||||
- TotalCountTimeIntervalItem
|
||||
tags:
|
||||
- NotCreatable
|
||||
deprecation_message: ''
|
||||
properties:
|
||||
- name: StatsItem.DisplayName
|
||||
summary: ''
|
||||
description: ''
|
||||
code_samples: []
|
||||
type: string
|
||||
tags:
|
||||
- Hidden
|
||||
- ReadOnly
|
||||
- NotReplicated
|
||||
deprecation_message: ''
|
||||
security:
|
||||
read: PluginSecurity
|
||||
write: PluginSecurity
|
||||
thread_safety: ReadSafe
|
||||
category: Data
|
||||
serialization:
|
||||
can_load: false
|
||||
can_save: false
|
||||
capabilities: []
|
||||
methods:
|
||||
- name: StatsItem:GetValue
|
||||
summary: |
|
||||
Returns the StatsItem's value.
|
||||
description: |
|
||||
Returns the StatsItem's value.
|
||||
code_samples: []
|
||||
parameters: []
|
||||
returns:
|
||||
- type: double
|
||||
summary: ''
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
security: PluginSecurity
|
||||
thread_safety: Unsafe
|
||||
capabilities: []
|
||||
- name: StatsItem:GetValueString
|
||||
summary: |
|
||||
Returns the StatsItem's value as a formatted string.
|
||||
description: |
|
||||
Returns the StatsItem's value as a formatted string.
|
||||
code_samples: []
|
||||
parameters: []
|
||||
returns:
|
||||
- type: string
|
||||
summary: ''
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
security: PluginSecurity
|
||||
thread_safety: Unsafe
|
||||
capabilities: []
|
||||
events: []
|
||||
callbacks: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue