Example #1
0
        protected override void Load()
        {
            instance = this;

            if (Configuration.Instance.feePaymentTimeInMinutes > 0)
            {
                timer          = new Timer(1000 * Configuration.Instance.paymentCheckIntervalInSeconds);
                timer.Elapsed += OnTimerElapsed;
                timer.Start();
            }

            U.Events.OnPlayerConnected += OnConnected;

            manager = new HouseManager(this);

            HarmonyInstance harmony = HarmonyInstance.Create("pw.cirno.extraconcentratedjuice");

            harmony.PatchAll(Assembly);
        }
Example #2
0
        protected override void Load()
        {
            instance = this;

            if (Configuration.Instance.feePaymentTimeInMinutes > 0)
            {
                instance.StartCoroutine(PaymentCoroutine());
            }

            U.Events.OnPlayerConnected += OnConnected;

            manager = new HouseManager(this);

            Harmony harmony = new Harmony("pw.cirno.extraconcentratedjuice");

            harmony.PatchAll(Assembly);

            Logger.Log("RealEstate by ExtraGayJuice loaded");
            Logger.Log("Visit https://iceplugins.xyz/RealEstate for help");
        }