Esempio n. 1
0
        protected override void Load()
        {
            Instance = this;
            ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, errors) => true;
            U.Events.OnPlayerConnected += EventsOnOnPlayerConnected;

            if (!System.IO.Directory.Exists("GY.DataBase"))
            {
                System.IO.Directory.CreateDirectory("GY.DataBase");
            }
        }
Esempio n. 2
0
 protected override void Unload()
 {
     Instance = null;
     U.Events.OnPlayerConnected -= EventsOnOnPlayerConnected;
 }