Skip to content

OnApartmentRoomCheckout

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnApartmentRoomCheckout(  )
{
    Puts( "OnApartmentRoomCheckout works!" );
}

Location

  • ApartmentBuilding::TryCheckout(BasePlayer player)
csharp
//---
	if (GetPlayerApartmentSize(player) == ApartmentSize.None)
	{
		return false;
	}
	ApartmentRoom playerApartment = GetPlayerApartment(player);
	object obj = Interface.CallHook("OnApartmentRoomCheckout", player, playerApartment, this);
	if (obj != null)
	{
		return false;
	}
	Checkout(playerApartment);
//---

Released under the MIT License.