Skip to content

OnRentableShopClose

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnRentableShopClose( RentableShop instance, bool notify )
{
    Puts( "OnRentableShopClose works!" );
    return null;
}

Location

  • RentableShop::CloseStore(bool notify)
csharp
private void CloseStore(bool notify = true)
{
	if (Interface.CallHook("OnRentableShopClose", this, notify) == null)
	{
		SetFlag(Flags.On, b: false);
		intruders.Clear();
		OnShopClosed(notify);
	}
//---

Released under the MIT License.