OnFuelItemCheck
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnFuelItemCheck( EntityFuelSystem instance, StorageContainer fuelContainer )
{
Puts( "OnFuelItemCheck works!" );
}
Location
- EntityFuelSystem::GetFuelItem()
csharp
public Item GetFuelItem()
{
StorageContainer fuelContainer = this.GetFuelContainer();
object returnvar = Interface.CallHook("OnFuelItemCheck", this, fuelContainer);
if (returnvar is Item)
{
return (Item)returnvar;
}
if (fuelContainer == null)
//---