Example #1
0
 public EditGa( JDCAPI.GAFlags Flags)
 {
     InitializeComponent();
 }
Example #2
0
 Bet ToBet(JDCAPI.Result curBet)
 {
     Bet tmp = new Bet();
     tmp.Amount = decimal.Parse(curBet.bet, System.Globalization.CultureInfo.InvariantCulture);
     tmp.date = jdInstance.ToDateTime2( curBet.date.ToString());
     tmp.Id = (long)curBet.betid;
     tmp.Profit = decimal.Parse(curBet.this_profit, System.Globalization.CultureInfo.InvariantCulture);
     tmp.Roll = (decimal)curBet.lucky/10000m;
     tmp.high = curBet.high;
     tmp.Chance = decimal.Parse(curBet.chance, System.Globalization.CultureInfo.InvariantCulture);
     tmp.nonce = curBet.nonce;
     tmp.serverhash = Instance.shash;
     tmp.clientseed = Instance.seed;
     tmp.uid = int.Parse(Instance.uid);
     return tmp;
 }