rojo/.cursor/rules/roblox/reference/engine/classes/BackpackItem.yaml
2026-02-02 12:08:47 -06:00

75 lines
2 KiB
YAML

# 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: BackpackItem
type: class
memory_category: BaseParts
summary: |
BackpackItem is an abstract class for backpack items such as HopperBins and
Tools.
description: |
BackpackItem is an abstract class for backpack items such as HopperBins and
Tools.
code_samples: []
inherits:
- Model
descendants:
- HopperBin
- Tool
tags:
- NotCreatable
deprecation_message: ''
properties:
- name: BackpackItem.TextureContent
summary: |
The texture icon that is displayed for a tool in the player's backpack.
Only supports asset URIs.
description: |
The texture icon that is displayed for a tool in the player's backpack.
This property should be set to the content ID of an image uploaded to the
Roblox website. Only asset URIs are supported for this property.
If this property is left blank, the `Class.Backpack` GUI will display the
name of the tool instead.
code_samples: []
type: Content
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities: []
- name: BackpackItem.TextureId
summary: |
The texture icon that is displayed for a tool in the player's backpack.
description: |
The texture icon that is displayed for a tool in the player's backpack.
This property should be set to the content ID of an image uploaded to the
Roblox website.
If this property is left blank, the `Class.Backpack` GUI will display the
name of the tool instead.
code_samples: []
type: ContentId
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities: []
methods: []
events: []
callbacks: []