Hébergeur de fichiers indépendant

Class5.cs

À propos

Type de fichier
Fichier CS de 8 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: hier
Statistiques
La présente page de téléchargement a été vue 513 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


namespace Phoenix.HabboHotel
{
    using Phoenix;
    using Phoenix.Core;
    using Phoenix.HabboHotel.Achievements;
    using Phoenix.HabboHotel.Advertisements;
    using Phoenix.HabboHotel.Catalogs;
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Groups;
    using Phoenix.HabboHotel.Items;
    using Phoenix.HabboHotel.Misc;
    using Phoenix.HabboHotel.Navigators;
    using Phoenix.HabboHotel.Quests;
    using Phoenix.HabboHotel.Roles;
    using Phoenix.HabboHotel.RoomBots;
    using Phoenix.HabboHotel.Rooms;
    using Phoenix.HabboHotel.Support;
    using Phoenix.Storage;
    using Phoenix.Util;
    using System;
    using System.Data;
    using System.Threading.Tasks;

    internal class Class5
    {
        private Class0 class0_0;
        private Class103 class103_0;
        private Class105 class105_0;
        private Class107 class107_0;
        private Class117 class117_0;
        private Class18 class18_0;
        private Class21 class21_0;
        private Class25 class25_0;
        private Class26 class26_0;
        private Class28 class28_0;
        private Class309 class309_0;
        private Class39 class39_0;
        private Class47 class47_0;
        private Class6 class6_0;
        private Class8 class8_0;
        private Class86 class86_0;
        private Class9 class9_0;
        private Class96 class96_0;
        private Task task_0;

        public Class5(int conns)
        {
            this.class18_0 = new Class18(conns);
            if (Class4.smethod_11().dictionary_0["client.ping.enabled"] == "1")
            {
                this.class18_0.method_6();
            }
            DateTime now = DateTime.Now;
            GClass3.smethod_0(Class8.smethod_1("emu_connectdb"));
            using (Class1 class2 = Class4.smethod_12().method_0())
            {
                Class4.Class5_0 = this;
                this.method_17(class2);
                this.class21_0 = new Class21();
                this.class47_0 = new Class47();
                this.class117_0 = new Class117();
                this.class28_0 = new Class28();
                this.class105_0 = new Class105();
                this.class25_0 = new Class25();
                this.class39_0 = new Class39();
                this.class309_0 = new Class309();
                this.class0_0 = new Class0();
                this.class103_0 = new Class103();
                this.class96_0 = new Class96();
                this.class86_0 = new Class86();
                this.class26_0 = new Class26();
                this.class9_0 = new Class9();
                this.class8_0 = new Class8();
                this.class6_0 = new Class6();
                Class8.smethod_0(class2);
                this.class21_0.method_0(class2);
                Class19.String_5 = "FB3A78763D7819F39D79781F6F8DFCCD";
                this.class47_0.method_0(class2);
                this.class117_0.method_0(class2);
                this.class117_0.method_3(class2);
                this.class96_0.method_1(class2);
                this.class96_0.method_2(class2);
                Class19.String_5 = "B8AC48FA7DB791129E59CBA4BC2CC5DD";
                this.class25_0.method_0(class2);
                Class19.String_5 = "7866151A40EEB2379D61F640B26ED23B";
                this.class28_0.method_0(class2);
                this.class28_0.method_1();
                this.class105_0.method_0(class2);
                Class19.String_5 = Class19.String_6;
                this.class39_0.method_8(class2);
                this.class39_0.method_0();
                this.class107_0 = new Class107();
                this.class309_0.method_0(class2);
                this.class86_0.method_0(class2);
                Class19.String_5 = Class19.String_3;
                Class19.String_5 = Class19.String_6.Length.ToString();
                Class103.smethod_0(class2);
                this.class0_0.method_0();
                Class94.smethod_0(class2);
                Class19.String_5 = Class19.String_3.Length.ToString();
                this.class9_0.method_0();
                Class6.smethod_0(class2);
                this.method_0(class2);
            }
            this.task_0 = new Task(new Action(GClass11.smethod_0));
            this.task_0.Start();
        }

        public void method_0(Class1 class1_0)
        {
            GClass3.smethod_0(Class8.smethod_1("emu_cleandb"));
            class1_0.method_1("UPDATE users SET online = '0'");
            class1_0.method_1("UPDATE rooms SET users_now = '0'");
            class1_0.method_1("UPDATE user_roomvisits SET exit_timestamp = UNIX_TIMESTAMP() WHERE exit_timestamp <= 0");
            class1_0.method_1(string.Concat(new object[] { "UPDATE server_status SET status = '1', users_online = '0', rooms_loaded = '0', server_ver = '", Class4.String_0, "', stamp = '", Class4.smethod_6(), "' LIMIT 1;" }));
        }

        public void method_1()
        {
            if (this.task_0 != null)
            {
                this.task_0 = null;
            }
            using (Class1 class2 = Class4.smethod_12().method_0())
            {
                this.method_0(class2);
            }
            if (this.method_2() != null)
            {
                this.method_2().method_2();
                this.method_2().method_7();
            }
            if (this.method_11() != null)
            {
                this.class0_0.bool_0 = false;
            }
            this.class18_0 = null;
            this.class21_0 = null;
            this.class47_0 = null;
            this.class117_0 = null;
            this.class28_0 = null;
            this.class105_0 = null;
            this.class25_0 = null;
            this.class39_0 = null;
            this.class309_0 = null;
            this.class0_0 = null;
        }

        public Class309 method_10()
        {
            return this.class309_0;
        }

        public Class0 method_11()
        {
            return this.class0_0;
        }

        public Class103 method_12()
        {
            return this.class103_0;
        }

        public Class96 method_13()
        {
            return this.class96_0;
        }

        public Class86 method_14()
        {
            return this.class86_0;
        }

        internal Class107 method_15()
        {
            return this.class107_0;
        }

        public Class9 method_16()
        {
            return this.class9_0;
        }

        public void method_17(Class1 class1_0)
        {
            GClass3.smethod_0(Class8.smethod_1("emu_loadsettings"));
            DataRow row = class1_0.method_4("SELECT * FROM server_settings LIMIT 1");
            Class19.Int32_3 = (int) row["MaxRoomsPerUser"];
            Class19.String_4 = (string) row["motd"];
            Class19.Int32_0 = (int) row["timer"];
            Class19.Int32_1 = (int) row["credits"];
            Class19.Int32_2 = (int) row["pixels"];
            Class19.Boolean_3 = Class4.smethod_3(row["vipclothesforhcusers"].ToString());
            Class19.Boolean_4 = Class4.smethod_3(row["enable_chatlogs"].ToString());
            Class19.Boolean_5 = Class4.smethod_3(row["enable_cmdlogs"].ToString());
            Class19.Boolean_6 = Class4.smethod_3(row["enable_roomlogs"].ToString());
            Class19.String_2 = (string) row["enable_externalchatlinks"];
            Class19.Boolean_2 = Class4.smethod_3(row["enable_securesessions"].ToString());
            Class19.Boolean_1 = Class4.smethod_3(row["allow_friendfurnidrops"].ToString());
            Class19.Boolean_0 = Class4.smethod_3(row["enable_cmd_redeemcredits"].ToString());
        }

        public Class18 method_2()
        {
            return this.class18_0;
        }

        public Class21 method_3()
        {
            return this.class21_0;
        }

        public Class47 method_4()
        {
            return this.class47_0;
        }

        public Class117 method_5()
        {
            return this.class117_0;
        }

        public Class28 method_6()
        {
            return this.class28_0;
        }

        public Class105 method_7()
        {
            return this.class105_0;
        }

        public Class25 method_8()
        {
            return this.class25_0;
        }

        public Class39 method_9()
        {
            return this.class39_0;
        }
    }
}



Partager le fichier


Télécharger Class5.cs


Télécharger Class5.cs