Exemple #1
0
 static Analytics()
 {
     Analytics.Webrequests   = Interface.Oxide.GetLibrary <WebRequests>(null);
     Analytics.PluginManager = Interface.Oxide.RootPluginManager;
     Analytics.Covalence     = Interface.Oxide.GetLibrary <Oxide.Core.Libraries.Covalence.Covalence>(null);
     Analytics.Lang          = Interface.Oxide.GetLibrary <Oxide.Core.Libraries.Lang>(null);
     Analytics.Identifier    = string.Format("{0}:{1}", Analytics.Covalence.Server.Address, Analytics.Covalence.Server.Port);
 }
Exemple #2
0
 static WebRequests()
 {
     WebRequests.covalence          = Interface.Oxide.GetLibrary <Oxide.Core.Libraries.Covalence.Covalence>(null);
     WebRequests.Timeout            = 30f;
     WebRequests.AllowDecompression = false;
 }