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<ItemAmount>(ref list);
	this.cachedProtectedMinutes = num2;
	Interface.CallHook("OnCupboardProtectionCalculated", this, this.cachedProtectedMinutes);
	return this.cachedProtectedMinutes;
}

Released under the MIT License.