示例#1
0
 /// <summary>
 /// Write the header of this chunk.
 /// Always call the base method first.
 /// </summary>
 protected override void WriteHeader(ResWriter writer)
 {
     headerStartPosition = writer.Position;
     base.WriteHeader(writer);
     writer.WriteInt32(id);
     writer.WriteFixedLenghtUnicodeString(name, 128);
     typeStringsMark = writer.MarkInt32();
     writer.WriteInt32(typeStrings.Count);
     keyStringsMark = writer.MarkInt32();
     writer.WriteInt32(KeyStrings.Count);
 }