void UpdateCurrency(MBSEvent response) { string currency_name = response.details [0].String("currency"); WULogin.fetched_info?.Seti(WULogin.CurrencyString(currency_name), response.details [0].Int()); }
void UpdateGUI(MBSEvent response) { WULogin.fetched_info.Set(WULogin.CurrencyString("dust"), response.details [0].String()); ShowCoins(); }
void OnPointsEarned(MBSEvent response) => WULogin.fetched_info?.Seti(WULogin.CurrencyString("dust"), response.details [0].Int("total"));