Skip to content

OnApartmentRoomBreakInCompleted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnApartmentRoomBreakInCompleted( ApartmentRoom apartmentRoom, BasePlayer player, ApartmentDoor instance )
{
    Puts( "OnApartmentRoomBreakInCompleted works!" );
}

Location

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

Released under the MIT License.