示例#1
0
 protected static void DumpItemInfo( ItemData from_info, Hashtable from_attr )
 {
     Console.WriteLine( " ID: {0}", from_info.ItemID );
     foreach( string key in from_info.Attributes.Keys ) {
         Console.WriteLine( "      {0} = {1}", key, from_info.Attributes[key] );
     }
     foreach( string key in from_attr.Keys ) {
         Console.WriteLine( "      {0} = {1}", key, from_attr[key] );
     }
     Console.WriteLine( "      Secret = {0}", from_info.Secret );
 }