Added simple test for pulling gains data from WiseOldMan
This commit is contained in:
1 parent
b0d8576f06
commit
4282999d23
1 file changed
+15
@@ -29,6 +29,7 @@ namespace osrs_toolbox
|
||||
OpenAPITest = new RelayCommand(DoOpenAPITest);
|
||||
OpenDiceRoller = new RelayCommand(DoOpenDiceRoller);
|
||||
OpenHiscoreLookup = new RelayCommand(DoOpenHiscoreLookup);
|
||||
PullBingoStats = new RelayCommand(DoPullBingoStats);
|
||||
}
|
||||
|
||||
private void DoOpenCompetitionOverlaySettings(object obj)
|
||||
@@ -128,5 +129,19 @@ namespace osrs_toolbox
|
||||
hlv.Show();
|
||||
}
|
||||
}
|
||||
|
||||
private void DoPullBingoStats(object obj)
|
||||
{
|
||||
List<string> TeamOne = [];
|
||||
List<string> TeamTwo = [];
|
||||
List<string> TeamThree = [];
|
||||
List<string> TeamFour = [];
|
||||
List<string> TeamFive = [];
|
||||
List<string> TeamSix = [];
|
||||
DateTime BingoStart = new DateTime(2026, 10, 1, 16, 0, 0);
|
||||
DateTime BingoEnd = new DateTime(2026, 10, 14, 16, 0, 0);
|
||||
PlayerGains pg = WiseOldMan.GetPlayerGains("Kalakoi", BingoStart, BingoEnd);
|
||||
MessageBox.Show(string.Format("EHP: {0}\nEHB: {1}", pg.data.computed.ehp.value, pg.data.computed.ehb.value));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user