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