Skip to content
ct

Class

CraftingMetrics

Generated GDScript class reference for ItemVault.CraftingMetrics.

Status
Current
Version
v1.0
Updated
2026-07-31

Lightweight counters exposed by [CraftingService] for HUDs, telemetry, and QA dashboards. The service increments these automatically; games can read them directly or pipe them into their telemetry layer. [method snapshot] returns a stable, zero-filled dictionary containing every public event constant, so telemetry consumers get a predictable schema.

Source: addons/item_vault/crafting/services/crafting_metrics.gd

Syntax

class CraftingMetrics extends RefCounted

Members

NameKindSummary
EVENT_SUCCESSField
EVENT_INVALID_RECIPEField
EVENT_INVALID_QUANTITYField
EVENT_MISSING_INVENTORYField
EVENT_INVALID_INVENTORYField
EVENT_ITEM_DEFINITION_UNAVAILABLEField
EVENT_MISSING_INGREDIENTField
EVENT_INSUFFICIENT_QUANTITYField
EVENT_OUTPUT_CAPACITY_UNAVAILABLEField
EVENT_TRANSACTION_REJECTEDField
EVENT_TRANSACTION_ROLLBACKField
EVENT_STALE_STATEField
EVENT_DUPLICATE_REQUESTField
EVENT_UNKNOWNField
recordMethod
countMethod
totalMethod
snapshotMethod
resetMethod