예제 #1
0
 public PCARS2_SharedMemoryData()
 {
     _mc             = MemoryController.GetInstance();
     participantInfo = new ParticipantData[Participants_Max];
     for (int i = 0; i < Participants_Max; i++)
     {
         participantInfo[i] = new ParticipantData(i);
     }
 }
예제 #2
0
 public ParticipantData(int index)
 {
     _mc     = MemoryController.GetInstance();
     _index  = index;
     offset += 100 * index;
 }