resolveOutcome

public static double resolveOutcome(UUID uuid, double payoutAmount)

Central resolution point for all gambling game outcomes. MUST be called before any visual animation begins. Idempotent — calling multiple times for the same session is safe (returns 0 on subsequent calls). All games MUST use this instead of calling awardWinnings directly.

Return

The actual amount awarded (0 if already resolved or loss)

Parameters

uuid

The player's UUID

payoutAmount

Total payout (0 for loss, betAmount for push, >betAmount for win)