예제 #1
0
 public HttpRequestMessage GetGalaxyContent(SystemCoordinate system)
 {
     return(_client.BuildPost(new Uri("/game/index.php?page=galaxyContent&ajax=1", UriKind.Relative), new[]
     {
         KeyValuePair.Create("galaxy", system.Galaxy.ToString()),
         KeyValuePair.Create("system", system.System.ToString())
     }));
 }
예제 #2
0
        public HttpRequestMessage PostPage(PageType page, KeyValuePair <string, string>[] postParameters)
        {
            string link = ((Page)page).Link;

            return(_client.BuildPost(new Uri($"/game/index.php?page={link}", UriKind.Relative), postParameters));
        }