Skip to content

OnBigWheelWin

Usage

  • No return behavior

Example Autogenerated

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

Location

  • BigWheelGame::Payout()
csharp
//---
			Item slot = current.inventory.GetSlot((int)currentHitType.hitType);
			if (slot != null)
			{
				int num = currentHitType.ColorToMultiplier(currentHitType.hitType);
				int amount = slot.amount;
				if (Interface.CallHook("OnBigWheelWin", this, slot, current, num) == null)
				{
					slot.amount += slot.amount * num;
					slot.RemoveFromContainer();
					slot.MoveToContainer(current.inventory, 5, true, false, null, true);
					flag = true;
//---

Released under the MIT License.