public static ScoredItem <EAuditSettings> ParseAuditSettings(BinaryReader reader)
        {
            EAuditSettings value    = (EAuditSettings)reader.ReadInt32();
            bool           isScored = reader.ReadBoolean();

            ScoredItem <EAuditSettings> scoredItem = new ScoredItem <EAuditSettings>(value, isScored);

            return(scoredItem);
        }
Example #2
0
 public void SetFromScoredItem(ScoredItem <EAuditSettings> scoredItem)
 {
     AuditSettings = scoredItem.Value;
     IsScored      = scoredItem.IsScored;
 }