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.
 
 
 
better/src/better_BetTable.h

17 lines
370 B

#ifndef BETTER_BETTABLE_H
#define BETTER_BETTABLE_H
#include "better.h"
struct BetTable
{
char option_name[OPTION_NAME_MAX] = "";
struct{char* key; u64 value;}* bets = NULL;
};
void BetTable_init(BetTable* bt);
void BetTable_destroy(BetTable* bt);
void BetTable_reset_bets(BetTable* bt);
f64 BetTable_get_point_sum(BetTable* bt);
#endif // BETTER_BETTABLE_H