Esempio n. 1
0
 public async Task Test1()
 {
     SharedSupport.Init();
     var serverAddress = new ServerAddress(IPAddress.Parse("37.220.18.218"), 27016);
     var query         = new SourceServerQuery(serverAddress, "dayz",
                                               new SourceQueryParser());
     await
     query.UpdateAsync(new ServerQueryState {
         Server = new ArmaServer(A.Fake <Arma3Game>(), serverAddress)
     });
 }
 public void SetUp()
 {
     SharedSupport.Init();
     _contentApi = new ContentApiHandler(new UserSettings(), new ApiLocalObjectCacheManager(new ApiLocalCache("LocalAppData/cache.db")));
 }
Esempio n. 3
0
 static void SupportInit()
 {
     SharedSupport.Init();
     SharedSupport.HandleTools();
 }
Esempio n. 4
0
 public void SetUp()
 {
     SharedSupport.Init();
     SharedSupport.HandleTools();
 }