Exemple #1
0
        public virtual void Read(BinaryReader reader, EventDescriptionBoard board)
        {
            Time = new Tick {
                Start = Durable.ReadTime(reader)
            };
            int descriptionID = reader.ReadInt32();

            Description = (0 <= descriptionID && descriptionID < board.Board.Count) ? board.Board[descriptionID] : null;
        }
Exemple #2
0
 public SyncEvent(BinaryReader reader)
 {
     Timestamp = new Tick()
     {
         Start = Durable.ReadTime(reader)
     };
     OldThreadID = reader.ReadUInt64();
     NewThreadID = reader.ReadUInt64();
     CPUID       = reader.ReadByte();
     Reason      = (SyncReason)reader.ReadByte();
 }