GASToolsets.AttributeSetToolset¶
Provides tools for discovering AttributeSet classes and their gameplay attributes.
2 tool(s).
GASToolsets.AttributeSetToolset.FindAttributeSetClasses¶
Returns all AttributeSet subclasses found in the project, including their attributes. Covers both native C++ subclasses and Blueprint subclasses discovered via the asset registry.
Input schema
{
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "A list of attribute set descriptors sorted by class name.",
"items": {
"properties": {
"assetPath": {
"description": "The object path to the Blueprint asset, or empty for native C++ classes.",
"type": "string"
},
"attributes": {
"description": "The gameplay attributes defined on this set.",
"items": {
"properties": {
"attributeName": {
"description": "The short attribute name (e.g. \"Health\").",
"type": "string"
},
"fullName": {
"description": "The fully-qualified attribute name including the set class (e.g. \"UMyHealthSet.Health\").",
"type": "string"
},
"setClassName": {
"description": "The name of the AttributeSet class that owns this attribute (e.g. \"UMyHealthSet\").",
"type": "string"
}
},
"required": [
"attributeName",
"fullName",
"setClassName"
],
"title": "GameplayAttributeInfo",
"type": "object"
},
"type": "array"
},
"className": {
"description": "The UClass name of the attribute set (e.g. \"UMyHealthSet\").",
"type": "string"
}
},
"required": [
"className",
"assetPath",
"attributes"
],
"title": "AttributeSetClassInfo",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
GASToolsets.AttributeSetToolset.ListAttributes¶
Returns the gameplay attributes defined on a specific AttributeSet class.
Input schema
{
"properties": {
"className": {
"description": "The UClass name to look up, e.g. \"UMyHealthSet\". Raises a script error if the class is not found or is not an AttributeSet subclass.",
"type": "string"
}
},
"required": [
"className"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "A list of attribute descriptors defined on the class.",
"items": {
"properties": {
"attributeName": {
"description": "The short attribute name (e.g. \"Health\").",
"type": "string"
},
"fullName": {
"description": "The fully-qualified attribute name including the set class (e.g. \"UMyHealthSet.Health\").",
"type": "string"
},
"setClassName": {
"description": "The name of the AttributeSet class that owns this attribute (e.g. \"UMyHealthSet\").",
"type": "string"
}
},
"required": [
"attributeName",
"fullName",
"setClassName"
],
"title": "GameplayAttributeInfo",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}