OnItemCraftFinished
Usage
- No return behavior
Example Autogenerated
csharp
private void OnItemCraftFinished( ItemCraftTask task, Item item, ItemCrafter instance )
{
Puts( "OnItemCraftFinished works!" );
}
Location
- ItemCrafter::FinishCrafting(ItemCraftTask task)
csharp
//---
{
task.taskUID,
1,
task.amount
});
Interface.CallHook("OnItemCraftFinished", task, item, this);
if (task.instanceData != null)
{
item.instanceData = task.instanceData;
}
if (!string.IsNullOrEmpty(task.blueprint.UnlockAchievment))
//---