LibMinecraft.Level.McLevelAbout.SaveSection C# (CSharp) Method

SaveSection() private method

private SaveSection ( ) : LibNbt.NbtTag
return LibNbt.NbtTag
        internal NbtTag SaveSection()
        {
            // Create the tags to save this section
            NbtCompound section = new NbtCompound("About");
            section.Tags.Add(new NbtString("Name", Name));
            section.Tags.Add(new NbtString("Author", Author));
            section.Tags.Add(new NbtLong("CreatedOn",
                                         (long) DateTime.Now.Subtract(new DateTime(1970, 1, 1, 0, 0, 0, 0)).TotalMilliseconds));

            return section;
        }