示例#1
0
 void JD_OnNewClientSeed(SeedInfo SeedInfo)
 {
     VisibleControll(pnlRandomize, true);
     UpdateTextBox(txtRandomizeNewHash, SeedInfo.NewServerHash);
     UpdateTextBox(txtHash, SeedInfo.NewServerHash);
     UpdateTextBox(txtRandomizeOld, SeedInfo.OldServerSeed);
     UpdateTextBox(txtRandomizeOldClient, SeedInfo.OldClientSeed);
     UpdateTextBox(txtRandomizeOldHash, SeedInfo.OldServerHash);
     UpdateTextBox(txtRandomizeOldNonce, SeedInfo.TotalRolls);
     string s = "";
     for (int i = 0; i < 24; i++ )
     {
         s += RandObj.Next(0, 9).ToString();
     }
         UpdateTextBox(txtRandomizenewClient, s);
 }
示例#2
0
文件: JD.cs 项目: bdcravens/DiceBot
 void Instance_OnNewClientSeed(SeedInfo SeedInfo)
 {
     sqlite_helper.InsertSeed(SeedInfo.OldServerSeed.ToString(), SeedInfo.OldServerSeed.ToString());
 }