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"))); }
static void SupportInit() { SharedSupport.Init(); SharedSupport.HandleTools(); }
public void SetUp() { SharedSupport.Init(); SharedSupport.HandleTools(); }