Hébergeur de fichiers indépendant

Class6.cs

À propos

Type de fichier
Fichier CS de 2 Ko (text/plain)
Confidentialité
Fichier public, envoyé le 3 août 2013 à 22:16, depuis l'adresse IP 213.111.x.x (France)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 17 heures
Statistiques
La présente page de téléchargement a été vue 600 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


namespace Phoenix.HabboHotel.Groups
{
    using Phoenix.Storage;
    using System;
    using System.Collections.Generic;
    using System.Data;

    internal class Class6
    {
        public static Dictionary<int, Class7> dictionary_0 = new Dictionary<int, Class7>();

        public static void smethod_0(Class1 class1_0)
        {
            smethod_1();
            foreach (DataRow row in class1_0.method_3("SELECT * FROM groups;").Rows)
            {
                dictionary_0.Add((int) row["id"], new Class7((int) row["id"], row, class1_0));
            }
        }

        public static void smethod_1()
        {
            dictionary_0.Clear();
        }

        public static Class7 smethod_2(int int_0)
        {
            if (!dictionary_0.ContainsKey(int_0))
            {
                return null;
            }
            return dictionary_0[int_0];
        }

        public static void smethod_3(Class1 class1_0, int int_0)
        {
            Class7 class2 = smethod_2(int_0);
            if (class2 != null)
            {
                DataRow row2 = class1_0.method_4("SELECT * FROM groups WHERE id = " + int_0 + " LIMIT 1");
                class2.string_0 = (string) row2["name"];
                class2.string_2 = (string) row2["badge"];
                class2.uint_0 = (uint) row2["roomid"];
                class2.string_1 = (string) row2["desc"];
                class2.list_0.Clear();
                foreach (DataRow row in class1_0.method_3("SELECT userid FROM group_memberships WHERE groupid = " + int_0 + ";").Rows)
                {
                    class2.method_0((int) row["userid"]);
                }
            }
        }
    }
}



Partager le fichier


Télécharger Class6.cs


Télécharger Class6.cs