コード例 #1
0
 // Writes the records in queue to the GameReplay object
 // Not an actual flush to disk, but could be changed to do so
 private void FlushPendingRecodsToReplayObject()
 {
     while (Pending.Count != 0)
     {
         var record = Pending.Dequeue();
         AddEntry(record);
     }
 }