Beispiel #1
0
        private static Hashtable ReadPlayerStatistics(GenericReader reader)
        {
            int count = reader.ReadInt();

            Hashtable ht = new Hashtable();

            for (int i = 0; i < count; i++)
            {
                int key = reader.ReadInt();
                AuthorStatistics ast = new AuthorStatistics();
                ast.Deserialize(reader);

                ht.Add(key, ast);
            }

            return(ht);
        }
Beispiel #2
0
		private static Hashtable ReadPlayerStatistics( GenericReader reader )
		{
			int count = reader.ReadInt();

			Hashtable ht = new Hashtable();

			for( int i = 0; i < count; i++ )
			{
				int key = reader.ReadInt();
				AuthorStatistics ast = new AuthorStatistics();
				ast.Deserialize( reader );

				ht.Add( key, ast );
			}

			return ht;
		}