OnEngineStatsRefresh
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnEngineStatsRefresh( VehicleModuleEngine instance, EngineStorage engineStorage )
{
Puts( "OnEngineStatsRefresh works!" );
}
Location
- VehicleModuleEngine::RefreshPerformanceStats(Rust.Modular.EngineStorage engineStorage)
csharp
public void RefreshPerformanceStats(Rust.Modular.EngineStorage engineStorage)
{
if (Interface.CallHook("OnEngineStatsRefresh", this, engineStorage) != null)
{
return;
}
if (engineStorage == null)
{
//---