internal void method_0(UserDataFactory class12_0)
        {
            this.hashtable_0 = new Hashtable();
            DataTable dataTable_ = class12_0.GetFriends();

            if (dataTable_ != null)
            {
                foreach (DataRow dataRow in dataTable_.Rows)
                {
                    if (!this.hashtable_0.Contains((uint)dataRow["Id"]))
                    {
                        this.hashtable_0.Add((uint)dataRow["Id"], new MessengerBuddy((uint)dataRow["Id"], dataRow["username"] as string, dataRow["look"] as string, dataRow["motto"] as string, dataRow["last_online"] as string));
                    }
                }
                try
                {
                    if (this.method_25().GetHabbo().HasFuse("receive_sa"))
                    {
                        this.hashtable_0.Add(0, new MessengerBuddy(0u, "Team Chat", "sh-290-64.ha-3129-73.fa-1206-1325.hr-893-39.lg-270-100.hd-3091-1.ch-3215-62.cc-3039-73", "Staff Chat Room", "0"));
                    }
                }
                catch
                {
                }
            }
        }
Exemple #2
0
        internal void method_0(UserDataFactory class12_0)
        {
            this.hashtable_0 = new Hashtable();

            DataTable dataTable_ = class12_0.GetFriends();

            if (dataTable_ != null)
            {
                foreach (DataRow dataRow in dataTable_.Rows)
                {
                    if (!this.hashtable_0.Contains((uint)dataRow["Id"]))
                    {
                        this.hashtable_0.Add((uint)dataRow["Id"], new MessengerBuddy((uint)dataRow["Id"], dataRow["username"] as string, dataRow["look"] as string, dataRow["motto"] as string, dataRow["last_online"] as string));
                    }
                }
                try
                {
                    if (this.method_25().GetHabbo().HasFuse("receive_sa"))
                    {
                        this.hashtable_0.Add(0, new MessengerBuddy(0u, "Staff Chat", this.method_25().GetHabbo().Figure, "Staff Chat Room", "0"));
                    }
                }
                catch
                {
                }
            }
        }