예제 #1
0
		private static bool SerializeScores(GenericWriter writer)
		{
			writer.SetVersion(0);

			writer.WriteBlockDictionary(
				Registry,
				(e, list) =>
				{
					writer.WriteEntity(e);

					writer.WriteBlockDictionary(
						list,
						(k, v) =>
						{
							writer.Write(k);
							writer.Write(v);
						});
				});

			return true;
		}
예제 #2
0
        private static bool SerializeScores(GenericWriter writer)
        {
            writer.SetVersion(0);

            writer.WriteBlockDictionary(
                Registry,
                (e, list) =>
            {
                writer.WriteEntity(e);

                writer.WriteBlockDictionary(
                    list,
                    (k, v) =>
                {
                    writer.Write(k);
                    writer.Write(v);
                });
            });

            return(true);
        }