A virtual currency betting bot for Twitch chat. https://ddark.net/better
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
465 B

#include <map>
#include <string>
#include "better_App.h"
u8 bets_status(App* app);
u64 available_points(App* app, std::string* user, i32 excluding_option = -1);
void register_bet(App* app, std::string* user, u64 amount, i32 option);
void open_bets(App* app);
void close_bets(App* app);
void reset_bets(App* app);
void do_payout(App* app, i32 winning_option, f64 table_total, f64 grand_total);
#endif // BETTER_BETS_H