RPG: Get Item Definition
Rpg
Query
Portent preview
Pro
Engagement
Inputs
in | Exec | exec | multiplexed |
- Name
- in
- Kind
- Exec
- Type
- exec
- Flags
- multiplexed
Outputs
out | Exec | exec | None |
exists | Data | System.Boolean | multiplexed |
name | Data | System.String | multiplexed |
rarity | Data | System.String | multiplexed |
description | Data | System.String | multiplexed |
isConsumable | Data | System.Boolean | multiplexed |
- Name
- out
- Kind
- Exec
- Type
- exec
- Flags
- None
- Name
- exists
- Kind
- Data
- Type
- System.Boolean
- Flags
- multiplexed
- Name
- name
- Kind
- Data
- Type
- System.String
- Flags
- multiplexed
- Name
- rarity
- Kind
- Data
- Type
- System.String
- Flags
- multiplexed
- Name
- description
- Kind
- Data
- Type
- System.String
- Flags
- multiplexed
- Name
- isConsumable
- Kind
- Data
- Type
- System.Boolean
- Flags
- multiplexed
Parameters
itemSlug | System.String | yes | "" | None |
- Name
- itemSlug
- Type
- System.String
- Required
- yes
- Default
- ""
- Choices
- None
Lowers to C#
var item = await ctx.Rpg.Items.GetAsync(itemSlug);