示例#1
0
 public AchieveNameData this[int id]
 {
     get 
     {
         AchieveNameData data = null;
         Dict.TryGetValue(id, out data);
         return data;
     }
 }		
示例#2
0
		public void initData(string content)		
		{
			Dict.Clear();
			string[] array = content.Split(new string[] { StaticDataConstant.WIN_ENTER }, System.StringSplitOptions.RemoveEmptyEntries);
			
			int length = array.Length;
			
			for (int i = 4; i < length; i++)
			
			{
				
				AchieveNameData data = new AchieveNameData(array[i]);
				
				Dict[data.id] = data;
			}
		}