Exemple #1
0
 internal void method_14(uint uint_1)
 {
     using (DatabaseClient adapter = PhoenixEnvironment.GetDatabase().GetClient())
     {
         DataRow        dataRow = adapter.ReadDataRow("SELECT username,motto,look,last_online FROM users WHERE Id = '" + uint_1 + "' LIMIT 1");
         MessengerBuddy class2  = new MessengerBuddy(uint_1, dataRow["username"] as string, dataRow["look"] as string, dataRow["motto"] as string, dataRow["last_online"] as string);
         class2.UpdateNeeded = true;
         if (!this.friends.Contains(class2.Id))
         {
             this.friends.Add(class2.Id, class2);
         }
         this.UpdateFriend();
     }
 }
		internal void method_14(uint uint_1)
		{
			using (DatabaseClient adapter = PhoenixEnvironment.GetDatabase().GetClient())
			{
				DataRow dataRow = adapter.ReadDataRow("SELECT username,motto,look,last_online FROM users WHERE Id = '" + uint_1 + "' LIMIT 1");
				MessengerBuddy class2 = new MessengerBuddy(uint_1, dataRow["username"] as string, dataRow["look"] as string, dataRow["motto"] as string, dataRow["last_online"] as string);
				class2.UpdateNeeded = true;
				if (!this.friends.Contains(class2.Id))
				{
					this.friends.Add(class2.Id, class2);
				}
				this.UpdateFriend();
			}
		}