OnItemCraftCancelled
Usage
- No return behavior
Example Autogenerated
csharp
private void OnItemCraftCancelled( ItemCraftTask itemCraftTask, ItemCrafter instance )
{
Puts( "OnItemCraftCancelled works!" );
}
Location
- ItemCrafter::CancelTask(int iID)
csharp
//---
itemCraftTask.cancelled = true;
if (this.owner == null)
{
return true;
}
Interface.CallHook("OnItemCraftCancelled", itemCraftTask, this);
this.owner.Command("note.craft_done", new object[]
{
itemCraftTask.taskUID,
0
});
//---