Skip to content

OnRentableShopBreakInCompleted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnRentableShopBreakInCompleted( RentableShop instance, BasePlayer player )
{
    Puts( "OnRentableShopBreakInCompleted works!" );
}

Location

  • RentableShop::CompleteBreakIn(BasePlayer player)
csharp
//---
	if (activeItem != null && !(activeItem.info != ApartmentDoor.MasterKeyDef) && activeItem.amount >= 1)
	{
		activeItem.UseItem();
		AddIntruder(player.userID);
		player.ShowToast(GameTip.Styles.Blue_Long, Phrase_BreakInSuccess, false);
		Interface.CallHook("OnRentableShopBreakInCompleted", this, player);
	}
}

Released under the MIT License.