Skip to content

OnCupboardProtectionCalculated

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnCupboardProtectionCalculated( BuildingPrivlidge instance, float cachedProtectedMinutes )
{
    Puts( "OnCupboardProtectionCalculated works!" );
}

Location

  • BuildingPrivlidge::GetProtectedMinutes(bool force)
csharp
//---
				num2 = 0f;
			}
		}
		Pool.FreeUnmanaged(ref obj);
		cachedProtectedMinutes = num2;
		Interface.CallHook("OnCupboardProtectionCalculated", this, cachedProtectedMinutes);
		return cachedProtectedMinutes;
	}
	return 0f;
}

Released under the MIT License.