GamblingEconomyHandler
Handles gambling-specific economy operations including debt management. This class ensures safety-first transaction processing for gambling operations.
Properties
Functions
Link copied to clipboard
Direct callers receive a failure instead of a false successful payout.
Link copied to clipboard
Calculates payout for a win based on bet amount and multiplier.
Link copied to clipboard
Checks if a player can afford a bet, including using credit (going into debt).
Link copied to clipboard
Gets the player's available credit (how much more debt they can take on).
Link copied to clipboard
Gets the player's current balance (convenience method).
Link copied to clipboard
Formats the player's financial status as a string for display.
Link copied to clipboard
Gets the formatted house earnings string for display.
Link copied to clipboard
Tracks total house earnings (money won by the house from players).
Link copied to clipboard
Initializes the house earnings tracking system.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Central resolution point for all gambling game outcomes.
Link copied to clipboard