CanFastTrackCraftTask
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void CanFastTrackCraftTask( ItemCrafter instance, ItemCraftTask itemCraftTask, int taskID )
{
Puts( "CanFastTrackCraftTask works!" );
}
Location
- ItemCrafter::FastTrackTask(int taskID)
csharp
//---
}
if (itemCraftTask == value)
{
return false;
}
object returnvar = Interface.CallHook("CanFastTrackCraftTask", this, itemCraftTask, taskID2);
if (returnvar is bool)
{
return (bool)returnvar;
}
value.endTime = 0f;
//---