Skip to content

OnBigWheelWin

Usage

  • No return behavior

Example Autogenerated

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

Location

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

Released under the MIT License.