LSLib.Granny.GR2.WritableSection.WriteSectionRelocations C# (CSharp) Méthode

WriteSectionRelocations() private méthode

private WriteSectionRelocations ( WritableSection section ) : void
section WritableSection
Résultat void
        internal void WriteSectionRelocations(WritableSection section)
        {
            section.Header.numRelocations = (UInt32)section.Fixups.Count;
            section.Header.relocationsOffset = (UInt32)MainStream.Position;

            foreach (var fixup in section.Fixups)
            {
                Writer.Write(fixup.Key);
                WriteSectionReference(GR2.ObjectOffsets[fixup.Value]);
            }
        }