예제 #1
0
 public void Visit(BethesdaFile file)
 {
     this.OnFile(file);
     this.OnRecord(file.HeaderRecord);
     foreach (var group in file.TopGroups)
     {
         this.VisitGroupCore(group);
     }
 }
예제 #2
0
 public Record(BethesdaFile copyFrom)
     : this(copyFrom.HeaderRecord)
 {
     this.Subgroups.Capacity = copyFrom.TopGroups.Length;
     foreach (var g in copyFrom.TopGroups)
     {
         this.Subgroups.Add(new Group(g)
         {
             Parent = this
         });
     }
 }
예제 #3
0
 protected virtual void OnFile(BethesdaFile file)
 {
 }