Timtower

Untitled

Jun 14th, 2016
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 65.10 KB | None | 0 0
  1. package nl.timdebrouwer.bukkitbot.api;
  2.  
  3. import java.io.BufferedReader;
  4. import java.io.DataOutputStream;
  5. import java.io.IOException;
  6. import java.io.InputStream;
  7. import java.io.InputStreamReader;
  8. import java.io.StringReader;
  9. import java.net.URL;
  10. import java.net.UnknownHostException;
  11. import java.util.Calendar;
  12. import java.lang.Thread;
  13.  
  14. import javax.net.ssl.HttpsURLConnection;
  15.  
  16. import nl.timdebrouwer.bukkitbot.util.Base64;
  17.  
  18. import org.jdom2.Document;
  19. import org.jdom2.Element;
  20. import org.jdom2.input.SAXBuilder;
  21.  
  22. public class BukkitAPI
  23. {
  24.     private final String apiUrl;
  25.     private final String host;
  26.     private final String userAgent;
  27.     private final int sleep = 100;
  28.  
  29.     public BukkitAPI(String apiUrl, String host, String userAgent)
  30.     {
  31.         this.apiUrl = apiUrl;
  32.         this.host = host;
  33.         this.userAgent = userAgent;
  34.     }
  35.  
  36.     public synchronized Element getReturn(String request)
  37.     {
  38.         while (true)
  39.         {
  40.             try
  41.             {
  42.                 Thread.sleep(sleep);
  43.                 URL obj = new URL(apiUrl);
  44.                 HttpsURLConnection conn = (HttpsURLConnection) obj.openConnection();
  45.                 conn.setUseCaches(false);
  46.                 conn.setRequestMethod("POST");
  47.                 conn.setRequestProperty("Host", host);
  48.                 conn.setRequestProperty("User-Agent", userAgent);
  49.                 conn.setRequestProperty("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
  50.                 conn.setRequestProperty("Accept-Language", "en-US,en;q=0.5");
  51.                 conn.setRequestProperty("Connection", "keep-alive");
  52.                 conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
  53.                 conn.setRequestProperty("Content-Length", Integer.toString(request.length()));
  54.                 conn.setDoOutput(true);
  55.                 conn.setDoInput(true);
  56.                 DataOutputStream wr = new DataOutputStream(conn.getOutputStream());
  57.                 wr.writeBytes(request);
  58.                 wr.flush();
  59.                 wr.close();
  60.                 try
  61.                 {
  62.                     Thread.sleep(1);
  63.                 } catch (Exception e)
  64.                 {
  65.                 }
  66.                 InputStream inStream = conn.getInputStream();
  67.                 InputStreamReader streamReader = new InputStreamReader(inStream);
  68.                 BufferedReader in = new BufferedReader(streamReader);
  69.                 String inputLine;
  70.                 StringBuffer response = new StringBuffer();
  71.                 while ((inputLine = in.readLine()) != null)
  72.                 {
  73.                     response.append(inputLine);
  74.                 }
  75.                 in.close();
  76.                 SAXBuilder builder = new SAXBuilder();
  77.                 Document doc = builder.build(new StringReader(response.toString()));
  78.                 Element params = doc.getRootElement();
  79.                 return params;
  80.             } catch (UnknownHostException e)
  81.             {
  82.                 System.out.println(Calendar.getInstance().get(Calendar.HOUR_OF_DAY) + " "
  83.                         + Calendar.getInstance().get(Calendar.MINUTE) + " "
  84.                         + Calendar.getInstance().get(Calendar.SECOND) + "  UnknownHostException " + e.getMessage());
  85.             } catch (IOException e)
  86.             {
  87.                 System.out.println(Calendar.getInstance().get(Calendar.HOUR_OF_DAY) + " "
  88.                         + Calendar.getInstance().get(Calendar.MINUTE) + " "
  89.                         + Calendar.getInstance().get(Calendar.SECOND) + "  IOException " + e.getMessage() + "\n"
  90.                         + request);
  91.                 try
  92.                 {
  93.                     Thread.sleep(2000);
  94.                 } catch (InterruptedException ex)
  95.                 {
  96.                 }
  97.             } catch (Exception e)
  98.             {
  99.                 System.out.println(Calendar.getInstance().get(Calendar.HOUR_OF_DAY) + " "
  100.                         + Calendar.getInstance().get(Calendar.MINUTE) + " "
  101.                         + Calendar.getInstance().get(Calendar.SECOND) + " " + e.getMessage());
  102.                 e.printStackTrace();
  103.             }
  104.         }
  105.     }
  106.  
  107.     public Element login(Base64 base1, Base64 base2, boolean boolean3, String string4)
  108.     {
  109.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>login</methodName><params><param><value><base64>"
  110.                 + base1
  111.                 + "</base64></value></param><param><value><base64>"
  112.                 + base2
  113.                 + "</base64></value></param><param><value><boolean>"
  114.                 + boolean3
  115.                 + "</boolean></value></param><param><value><string>"
  116.                 + string4
  117.                 + "</string></value></param></params></methodCall>");
  118.     }
  119.  
  120.     public Element login(Base64 base1, Base64 base2)
  121.     {
  122.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>login</methodName><params><param><value><base64>"
  123.                 + base1
  124.                 + "</base64></value></param><param><value><base64>"
  125.                 + base2
  126.                 + "</base64></value></param></params></methodCall>");
  127.     }
  128.  
  129.     public Element sign_in(String string1, String string2, Base64 base3, Base64 base4, Base64 base5)
  130.     {
  131.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>sign_in</methodName><params><param><value><string>"
  132.                 + string1
  133.                 + "</string></value></param><param><value><string>"
  134.                 + string2
  135.                 + "</string></value></param><param><value><base64>"
  136.                 + base3
  137.                 + "</base64></value></param><param><value><base64>"
  138.                 + base4
  139.                 + "</base64></value></param><param><value><base64>"
  140.                 + base5
  141.                 + "</base64></value></param></params></methodCall>");
  142.     }
  143.  
  144.     public Element sign_in(String string1, String string2, Base64 base3, Base64 base4)
  145.     {
  146.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>sign_in</methodName><params><param><value><string>"
  147.                 + string1
  148.                 + "</string></value></param><param><value><string>"
  149.                 + string2
  150.                 + "</string></value></param><param><value><base64>"
  151.                 + base3
  152.                 + "</base64></value></param><param><value><base64>"
  153.                 + base4
  154.                 + "</base64></value></param></params></methodCall>");
  155.     }
  156.  
  157.     public Element sign_in(String string1, String string2, Base64 base3)
  158.     {
  159.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>sign_in</methodName><params><param><value><string>"
  160.                 + string1
  161.                 + "</string></value></param><param><value><string>"
  162.                 + string2
  163.                 + "</string></value></param><param><value><base64>"
  164.                 + base3
  165.                 + "</base64></value></param></params></methodCall>");
  166.     }
  167.  
  168.     public Element sign_in(String string1, String string2, Base64 base3, Base64 base4, Base64 base5, Object struct6)
  169.     {
  170.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>sign_in</methodName><params><param><value><string>"
  171.                 + string1
  172.                 + "</string></value></param><param><value><string>"
  173.                 + string2
  174.                 + "</string></value></param><param><value><base64>"
  175.                 + base3
  176.                 + "</base64></value></param><param><value><base64>"
  177.                 + base4
  178.                 + "</base64></value></param><param><value><base64>"
  179.                 + base5
  180.                 + "</base64></value></param><param><value><struct>"
  181.                 + struct6
  182.                 + "</struct></value></param></params></methodCall>");
  183.     }
  184.  
  185.     public Element register(Base64 base1, Base64 base2, Base64 base3, String string4, String string5)
  186.     {
  187.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>register</methodName><params><param><value><base64>"
  188.                 + base1
  189.                 + "</base64></value></param><param><value><base64>"
  190.                 + base2
  191.                 + "</base64></value></param><param><value><base64>"
  192.                 + base3
  193.                 + "</base64></value></param><param><value><string>"
  194.                 + string4
  195.                 + "</string></value></param><param><value><string>"
  196.                 + string5
  197.                 + "</string></value></param></params></methodCall>");
  198.     }
  199.  
  200.     public Element register(Base64 base1, Base64 base2, Base64 base3, String string4, String string5, Object struct6)
  201.     {
  202.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>register</methodName><params><param><value><base64>"
  203.                 + base1
  204.                 + "</base64></value></param><param><value><base64>"
  205.                 + base2
  206.                 + "</base64></value></param><param><value><base64>"
  207.                 + base3
  208.                 + "</base64></value></param><param><value><string>"
  209.                 + string4
  210.                 + "</string></value></param><param><value><string>"
  211.                 + string5
  212.                 + "</string></value></param><param><value><struct>"
  213.                 + struct6
  214.                 + "</struct></value></param></params></methodCall>");
  215.     }
  216.  
  217.     public Element register(Base64 base1, Base64 base2, Base64 base3)
  218.     {
  219.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>register</methodName><params><param><value><base64>"
  220.                 + base1
  221.                 + "</base64></value></param><param><value><base64>"
  222.                 + base2
  223.                 + "</base64></value></param><param><value><base64>"
  224.                 + base3
  225.                 + "</base64></value></param></params></methodCall>");
  226.     }
  227.  
  228.     public Element register(Base64 base1, Base64 base2, Base64 base3, Object struct4)
  229.     {
  230.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>register</methodName><params><param><value><base64>"
  231.                 + base1
  232.                 + "</base64></value></param><param><value><base64>"
  233.                 + base2
  234.                 + "</base64></value></param><param><value><base64>"
  235.                 + base3
  236.                 + "</base64></value></param><param><value><struct>"
  237.                 + struct4
  238.                 + "</struct></value></param></params></methodCall>");
  239.     }
  240.  
  241.     public Element ignore_user(String string1, int int2)
  242.     {
  243.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>ignore_user</methodName><params><param><value><string>"
  244.                 + string1
  245.                 + "</string></value></param><param><value><int>"
  246.                 + int2
  247.                 + "</int></value></param></params></methodCall>");
  248.     }
  249.  
  250.     public Element ignore_user(int int1)
  251.     {
  252.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>ignore_user</methodName><params><param><value><int>"
  253.                 + int1 + "</int></value></param></params></methodCall>");
  254.     }
  255.  
  256.     public Element forget_password(Base64 base1, String string2, String string3)
  257.     {
  258.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>forget_password</methodName><params><param><value><base64>"
  259.                 + base1
  260.                 + "</base64></value></param><param><value><string>"
  261.                 + string2
  262.                 + "</string></value></param><param><value><string>"
  263.                 + string3
  264.                 + "</string></value></param></params></methodCall>");
  265.     }
  266.  
  267.     public Element forget_password(Base64 base1)
  268.     {
  269.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>forget_password</methodName><params><param><value><base64>"
  270.                 + base1 + "</base64></value></param></params></methodCall>");
  271.     }
  272.  
  273.     public Element update_password(Base64 base1, Base64 base2)
  274.     {
  275.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>update_password</methodName><params><param><value><base64>"
  276.                 + base1
  277.                 + "</base64></value></param><param><value><base64>"
  278.                 + base2
  279.                 + "</base64></value></param></params></methodCall>");
  280.     }
  281.  
  282.     public Element update_password(Base64 base1, String string2, String string3)
  283.     {
  284.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>update_password</methodName><params><param><value><base64>"
  285.                 + base1
  286.                 + "</base64></value></param><param><value><string>"
  287.                 + string2
  288.                 + "</string></value></param><param><value><string>"
  289.                 + string3
  290.                 + "</string></value></param></params></methodCall>");
  291.     }
  292.  
  293.     public Element update_email(Base64 base1, Base64 base2)
  294.     {
  295.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>update_email</methodName><params><param><value><base64>"
  296.                 + base1
  297.                 + "</base64></value></param><param><value><base64>"
  298.                 + base2
  299.                 + "</base64></value></param></params></methodCall>");
  300.     }
  301.  
  302.     public Element get_forum()
  303.     {
  304.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_forum</methodName><params></params></methodCall>");
  305.     }
  306.  
  307.     public Element get_forum(boolean boolean1)
  308.     {
  309.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_forum</methodName><params><param><value><boolean>"
  310.                 + boolean1 + "</boolean></value></param></params></methodCall>");
  311.     }
  312.  
  313.     public Element get_forum(boolean boolean1, String string2)
  314.     {
  315.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_forum</methodName><params><param><value><boolean>"
  316.                 + boolean1
  317.                 + "</boolean></value></param><param><value><string>"
  318.                 + string2
  319.                 + "</string></value></param></params></methodCall>");
  320.     }
  321.  
  322.     public Element get_board_stat()
  323.     {
  324.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_board_stat</methodName><params></params></methodCall>");
  325.     }
  326.  
  327.     public Element get_topic(String string1, int int2, int int3, String string4)
  328.     {
  329.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_topic</methodName><params><param><value><string>"
  330.                 + string1
  331.                 + "</string></value></param><param><value><int>"
  332.                 + int2
  333.                 + "</int></value></param><param><value><int>"
  334.                 + int3
  335.                 + "</int></value></param><param><value><string>"
  336.                 + string4 + "</string></value></param></params></methodCall>");
  337.     }
  338.  
  339.     public Element get_topic(String string1, int int2, int int3)
  340.     {
  341.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_topic</methodName><params><param><value><string>"
  342.                 + string1
  343.                 + "</string></value></param><param><value><int>"
  344.                 + int2
  345.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  346.     }
  347.  
  348.     public Element get_topic(String string1, int int2)
  349.     {
  350.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_topic</methodName><params><param><value><string>"
  351.                 + string1
  352.                 + "</string></value></param><param><value><int>"
  353.                 + int2
  354.                 + "</int></value></param></params></methodCall>");
  355.     }
  356.  
  357.     public Element get_topic(String string1)
  358.     {
  359.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_topic</methodName><params><param><value><string>"
  360.                 + string1 + "</string></value></param></params></methodCall>");
  361.     }
  362.  
  363.     public Element get_thread(String string1, int int2, int int3, boolean boolean4)
  364.     {
  365.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread</methodName><params><param><value><string>"
  366.                 + string1
  367.                 + "</string></value></param><param><value><int>"
  368.                 + int2
  369.                 + "</int></value></param><param><value><int>"
  370.                 + int3
  371.                 + "</int></value></param><param><value><boolean>"
  372.                 + boolean4 + "</boolean></value></param></params></methodCall>");
  373.     }
  374.  
  375.     public Element get_thread(String string1, int int2, int int3)
  376.     {
  377.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread</methodName><params><param><value><string>"
  378.                 + string1
  379.                 + "</string></value></param><param><value><int>"
  380.                 + int2
  381.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  382.     }
  383.  
  384.     public Element get_thread(String string1)
  385.     {
  386.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread</methodName><params><param><value><string>"
  387.                 + string1 + "</string></value></param></params></methodCall>");
  388.     }
  389.  
  390.     public Element get_thread_by_unread(String string1, int int2, boolean boolean3)
  391.     {
  392.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread_by_unread</methodName><params><param><value><string>"
  393.                 + string1
  394.                 + "</string></value></param><param><value><int>"
  395.                 + int2
  396.                 + "</int></value></param><param><value><boolean>"
  397.                 + boolean3
  398.                 + "</boolean></value></param></params></methodCall>");
  399.     }
  400.  
  401.     public Element get_thread_by_unread(String string1, int int2)
  402.     {
  403.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread_by_unread</methodName><params><param><value><string>"
  404.                 + string1
  405.                 + "</string></value></param><param><value><int>"
  406.                 + int2
  407.                 + "</int></value></param></params></methodCall>");
  408.     }
  409.  
  410.     public Element get_thread_by_unread(String string1)
  411.     {
  412.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread_by_unread</methodName><params><param><value><string>"
  413.                 + string1 + "</string></value></param></params></methodCall>");
  414.     }
  415.  
  416.     public Element get_thread_by_post(String string1, int int2, boolean boolean3)
  417.     {
  418.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread_by_post</methodName><params><param><value><string>"
  419.                 + string1
  420.                 + "</string></value></param><param><value><int>"
  421.                 + int2
  422.                 + "</int></value></param><param><value><boolean>"
  423.                 + boolean3
  424.                 + "</boolean></value></param></params></methodCall>");
  425.     }
  426.  
  427.     public Element get_thread_by_post(String string1, int int2)
  428.     {
  429.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread_by_post</methodName><params><param><value><string>"
  430.                 + string1
  431.                 + "</string></value></param><param><value><int>"
  432.                 + int2
  433.                 + "</int></value></param></params></methodCall>");
  434.     }
  435.  
  436.     public Element get_thread_by_post(String string1)
  437.     {
  438.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_thread_by_post</methodName><params><param><value><string>"
  439.                 + string1 + "</string></value></param></params></methodCall>");
  440.     }
  441.  
  442.     public Element get_recommended_user(int int1, int int2, int int3)
  443.     {
  444.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_recommended_user</methodName><params><param><value><int>"
  445.                 + int1
  446.                 + "</int></value></param><param><value><int>"
  447.                 + int2
  448.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  449.     }
  450.  
  451.     public Element get_recommended_user(int int1, int int2)
  452.     {
  453.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_recommended_user</methodName><params><param><value><int>"
  454.                 + int1
  455.                 + "</int></value></param><param><value><int>"
  456.                 + int2
  457.                 + "</int></value></param></params></methodCall>");
  458.     }
  459.  
  460.     public Element get_recommended_user()
  461.     {
  462.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_recommended_user</methodName><params></params></methodCall>");
  463.     }
  464.  
  465.     public Element search_user(Base64 base1, int int2, int int3)
  466.     {
  467.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_user</methodName><params><param><value><base64>"
  468.                 + base1
  469.                 + "</base64></value></param><param><value><int>"
  470.                 + int2
  471.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  472.     }
  473.  
  474.     public Element search_user()
  475.     {
  476.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_user</methodName><params></params></methodCall>");
  477.     }
  478.  
  479.     public Element mark_conversation_unread(String string1)
  480.     {
  481.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>mark_conversation_unread</methodName><params><param><value><string>"
  482.                 + string1 + "</string></value></param></params></methodCall>");
  483.     }
  484.  
  485.     public Element mark_conversation_read(String string1)
  486.     {
  487.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>mark_conversation_read</methodName><params><param><value><string>"
  488.                 + string1 + "</string></value></param></params></methodCall>");
  489.     }
  490.  
  491.     public Element mark_conversation_read()
  492.     {
  493.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>mark_conversation_read</methodName><params></params></methodCall>");
  494.     }
  495.  
  496.     public Element get_raw_post(String string1)
  497.     {
  498.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_raw_post</methodName><params><param><value><string>"
  499.                 + string1 + "</string></value></param></params></methodCall>");
  500.     }
  501.  
  502.     public Element save_raw_post(String string1, Base64 base2, Base64 base3)
  503.     {
  504.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>save_raw_post</methodName><params><param><value><string>"
  505.                 + string1
  506.                 + "</string></value></param><param><value><base64>"
  507.                 + base2
  508.                 + "</base64></value></param><param><value><base64>"
  509.                 + base3
  510.                 + "</base64></value></param></params></methodCall>");
  511.     }
  512.  
  513.     public Element save_raw_post(String string1, Base64 base2, Base64 base3, boolean boolean4)
  514.     {
  515.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>save_raw_post</methodName><params><param><value><string>"
  516.                 + string1
  517.                 + "</string></value></param><param><value><base64>"
  518.                 + base2
  519.                 + "</base64></value></param><param><value><base64>"
  520.                 + base3
  521.                 + "</base64></value></param><param><value><boolean>"
  522.                 + boolean4
  523.                 + "</boolean></value></param></params></methodCall>");
  524.     }
  525.  
  526.     public Element save_raw_post(String string1, Base64 base2, Base64 base3, boolean boolean4, String array5,
  527.             String string6)
  528.     {
  529.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>save_raw_post</methodName><params><param><value><string>"
  530.                 + string1
  531.                 + "</string></value></param><param><value><base64>"
  532.                 + base2
  533.                 + "</base64></value></param><param><value><base64>"
  534.                 + base3
  535.                 + "</base64></value></param><param><value><boolean>"
  536.                 + boolean4
  537.                 + "</boolean></value></param><param><value><array>"
  538.                 + array5
  539.                 + "</array></value></param><param><value><string>"
  540.                 + string6
  541.                 + "</string></value></param></params></methodCall>");
  542.     }
  543.  
  544.     public Element save_raw_post(String string1, Base64 base2, Base64 base3, boolean boolean4, String array5,
  545.             String string6, Base64 base7)
  546.     {
  547.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>save_raw_post</methodName><params><param><value><string>"
  548.                 + string1
  549.                 + "</string></value></param><param><value><base64>"
  550.                 + base2
  551.                 + "</base64></value></param><param><value><base64>"
  552.                 + base3
  553.                 + "</base64></value></param><param><value><boolean>"
  554.                 + boolean4
  555.                 + "</boolean></value></param><param><value><array>"
  556.                 + array5
  557.                 + "</array></value></param><param><value><string>"
  558.                 + string6
  559.                 + "</string></value></param><param><value><base64>"
  560.                 + base7
  561.                 + "</base64></value></param></params></methodCall>");
  562.     }
  563.  
  564.     public Element get_quote_post(String string1)
  565.     {
  566.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_quote_post</methodName><params><param><value><string>"
  567.                 + string1 + "</string></value></param></params></methodCall>");
  568.     }
  569.  
  570.     public Element get_user_topic(Base64 base1)
  571.     {
  572.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_topic</methodName><params><param><value><base64>"
  573.                 + base1 + "</base64></value></param></params></methodCall>");
  574.     }
  575.  
  576.     public Element get_user_topic(Base64 base1, String string2)
  577.     {
  578.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_topic</methodName><params><param><value><base64>"
  579.                 + base1
  580.                 + "</base64></value></param><param><value><string>"
  581.                 + string2
  582.                 + "</string></value></param></params></methodCall>");
  583.     }
  584.  
  585.     public Element get_user_reply_post(Base64 base1)
  586.     {
  587.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_reply_post</methodName><params><param><value><base64>"
  588.                 + base1 + "</base64></value></param></params></methodCall>");
  589.     }
  590.  
  591.     public Element get_user_reply_post(Base64 base1, String string2)
  592.     {
  593.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_reply_post</methodName><params><param><value><base64>"
  594.                 + base1
  595.                 + "</base64></value></param><param><value><string>"
  596.                 + string2
  597.                 + "</string></value></param></params></methodCall>");
  598.     }
  599.  
  600.     public Element get_new_topic()
  601.     {
  602.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_new_topic</methodName><params></params></methodCall>");
  603.     }
  604.  
  605.     public Element get_new_topic(int int1, int int2)
  606.     {
  607.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_new_topic</methodName><params><param><value><int>"
  608.                 + int1
  609.                 + "</int></value></param><param><value><int>"
  610.                 + int2
  611.                 + "</int></value></param></params></methodCall>");
  612.     }
  613.  
  614.     public Element get_latest_topic()
  615.     {
  616.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_latest_topic</methodName><params></params></methodCall>");
  617.     }
  618.  
  619.     public Element get_latest_topic(int int1, int int2)
  620.     {
  621.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_latest_topic</methodName><params><param><value><int>"
  622.                 + int1
  623.                 + "</int></value></param><param><value><int>"
  624.                 + int2
  625.                 + "</int></value></param></params></methodCall>");
  626.     }
  627.  
  628.     public Element get_latest_topic(int int1, int int2, Object struct3)
  629.     {
  630.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_latest_topic</methodName><params><param><value><int>"
  631.                 + int1
  632.                 + "</int></value></param><param><value><int>"
  633.                 + int2
  634.                 + "</int></value></param><param><value><struct>"
  635.                 + struct3
  636.                 + "</struct></value></param></params></methodCall>");
  637.     }
  638.  
  639.     public Element get_unread_topic()
  640.     {
  641.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_unread_topic</methodName><params></params></methodCall>");
  642.     }
  643.  
  644.     public Element get_unread_topic(int int1, int int2)
  645.     {
  646.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_unread_topic</methodName><params><param><value><int>"
  647.                 + int1
  648.                 + "</int></value></param><param><value><int>"
  649.                 + int2
  650.                 + "</int></value></param></params></methodCall>");
  651.     }
  652.  
  653.     public Element get_subscribed_topic()
  654.     {
  655.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_subscribed_topic</methodName><params></params></methodCall>");
  656.     }
  657.  
  658.     public Element get_subscribed_topic(int int1, int int2)
  659.     {
  660.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_subscribed_topic</methodName><params><param><value><int>"
  661.                 + int1
  662.                 + "</int></value></param><param><value><int>"
  663.                 + int2
  664.                 + "</int></value></param></params></methodCall>");
  665.     }
  666.  
  667.     public Element get_subscribed_forum()
  668.     {
  669.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_subscribed_forum</methodName><params></params></methodCall>");
  670.     }
  671.  
  672.     public Element get_user_info()
  673.     {
  674.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_info</methodName><params></params></methodCall>");
  675.     }
  676.  
  677.     public Element get_user_info(Base64 base1)
  678.     {
  679.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_info</methodName><params><param><value><base64>"
  680.                 + base1 + "</base64></value></param></params></methodCall>");
  681.     }
  682.  
  683.     public Element get_user_info(Base64 base1, String string2)
  684.     {
  685.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_user_info</methodName><params><param><value><base64>"
  686.                 + base1
  687.                 + "</base64></value></param><param><value><string>"
  688.                 + string2
  689.                 + "</string></value></param></params></methodCall>");
  690.     }
  691.  
  692.     public Element get_config()
  693.     {
  694.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_config</methodName><params></params></methodCall>");
  695.     }
  696.  
  697.     public Element logout_user()
  698.     {
  699.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>logout_user</methodName><params></params></methodCall>");
  700.     }
  701.  
  702.     public Element new_topic(String string1, Base64 base2, Base64 base3)
  703.     {
  704.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_topic</methodName><params><param><value><string>"
  705.                 + string1
  706.                 + "</string></value></param><param><value><base64>"
  707.                 + base2
  708.                 + "</base64></value></param><param><value><base64>"
  709.                 + base3
  710.                 + "</base64></value></param></params></methodCall>");
  711.     }
  712.  
  713.     public Element new_topic(String string1, Base64 base2, Base64 base3, String string4)
  714.     {
  715.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_topic</methodName><params><param><value><string>"
  716.                 + string1
  717.                 + "</string></value></param><param><value><base64>"
  718.                 + base2
  719.                 + "</base64></value></param><param><value><base64>"
  720.                 + base3
  721.                 + "</base64></value></param><param><value><string>"
  722.                 + string4
  723.                 + "</string></value></param></params></methodCall>");
  724.     }
  725.  
  726.     public Element new_topic(String string1, Base64 base2, Base64 base3, String string4, String array5)
  727.     {
  728.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_topic</methodName><params><param><value><string>"
  729.                 + string1
  730.                 + "</string></value></param><param><value><base64>"
  731.                 + base2
  732.                 + "</base64></value></param><param><value><base64>"
  733.                 + base3
  734.                 + "</base64></value></param><param><value><string>"
  735.                 + string4
  736.                 + "</string></value></param><param><value><array>"
  737.                 + array5
  738.                 + "</array></value></param></params></methodCall>");
  739.     }
  740.  
  741.     public Element new_topic(String string1, Base64 base2, Base64 base3, String string4, String array5, String string6)
  742.     {
  743.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_topic</methodName><params><param><value><string>"
  744.                 + string1
  745.                 + "</string></value></param><param><value><base64>"
  746.                 + base2
  747.                 + "</base64></value></param><param><value><base64>"
  748.                 + base3
  749.                 + "</base64></value></param><param><value><string>"
  750.                 + string4
  751.                 + "</string></value></param><param><value><array>"
  752.                 + array5
  753.                 + "</array></value></param><param><value><string>"
  754.                 + string6
  755.                 + "</string></value></param></params></methodCall>");
  756.     }
  757.  
  758.     public Element reply_post(String string1, String string2, Base64 base3, Base64 base4)
  759.     {
  760.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_post</methodName><params><param><value><string>"
  761.                 + string1
  762.                 + "</string></value></param><param><value><string>"
  763.                 + string2
  764.                 + "</string></value></param><param><value><base64>"
  765.                 + base3
  766.                 + "</base64></value></param><param><value><base64>"
  767.                 + base4
  768.                 + "</base64></value></param></params></methodCall>");
  769.     }
  770.  
  771.     public Element reply_post(String string1, String string2, Base64 base3, Base64 base4, String array5, String string6)
  772.     {
  773.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_post</methodName><params><param><value><string>"
  774.                 + string1
  775.                 + "</string></value></param><param><value><string>"
  776.                 + string2
  777.                 + "</string></value></param><param><value><base64>"
  778.                 + base3
  779.                 + "</base64></value></param><param><value><base64>"
  780.                 + base4
  781.                 + "</base64></value></param><param><value><array>"
  782.                 + array5
  783.                 + "</array></value></param><param><value><string>"
  784.                 + string6
  785.                 + "</string></value></param></params></methodCall>");
  786.     }
  787.  
  788.     public Element reply_post(String string1, String string2, Base64 base3, Base64 base4, String array5,
  789.             String string6, boolean boolean7)
  790.     {
  791.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_post</methodName><params><param><value><string>"
  792.                 + string1
  793.                 + "</string></value></param><param><value><string>"
  794.                 + string2
  795.                 + "</string></value></param><param><value><base64>"
  796.                 + base3
  797.                 + "</base64></value></param><param><value><base64>"
  798.                 + base4
  799.                 + "</base64></value></param><param><value><array>"
  800.                 + array5
  801.                 + "</array></value></param><param><value><string>"
  802.                 + string6
  803.                 + "</string></value></param><param><value><boolean>"
  804.                 + boolean7
  805.                 + "</boolean></value></param></params></methodCall>");
  806.     }
  807.  
  808.     public Element reply_topic(String string1, Base64 base2, Base64 base3, Base64 base4, String string5)
  809.     {
  810.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_topic</methodName><params><param><value><string>"
  811.                 + string1
  812.                 + "</string></value></param><param><value><base64>"
  813.                 + base2
  814.                 + "</base64></value></param><param><value><base64>"
  815.                 + base3
  816.                 + "</base64></value></param><param><value><base64>"
  817.                 + base4
  818.                 + "</base64></value></param><param><value><string>"
  819.                 + string5
  820.                 + "</string></value></param></params></methodCall>");
  821.     }
  822.  
  823.     public Element reply_topic(String string1, Base64 base2, Base64 base3, Base64 base4)
  824.     {
  825.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_topic</methodName><params><param><value><string>"
  826.                 + string1
  827.                 + "</string></value></param><param><value><base64>"
  828.                 + base2
  829.                 + "</base64></value></param><param><value><base64>"
  830.                 + base3
  831.                 + "</base64></value></param><param><value><base64>"
  832.                 + base4
  833.                 + "</base64></value></param></params></methodCall>");
  834.     }
  835.  
  836.     public Element reply_topic(String string1, String string2, Base64 base3, Base64 base4)
  837.     {
  838.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_topic</methodName><params><param><value><string>"
  839.                 + string1
  840.                 + "</string></value></param><param><value><string>"
  841.                 + string2
  842.                 + "</string></value></param><param><value><base64>"
  843.                 + base3
  844.                 + "</base64></value></param><param><value><base64>"
  845.                 + base4
  846.                 + "</base64></value></param></params></methodCall>");
  847.     }
  848.  
  849.     public Element reply_topic(String string1, String string2, Base64 base3, Base64 base4, String array5, String string6)
  850.     {
  851.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_topic</methodName><params><param><value><string>"
  852.                 + string1
  853.                 + "</string></value></param><param><value><string>"
  854.                 + string2
  855.                 + "</string></value></param><param><value><base64>"
  856.                 + base3
  857.                 + "</base64></value></param><param><value><base64>"
  858.                 + base4
  859.                 + "</base64></value></param><param><value><array>"
  860.                 + array5
  861.                 + "</array></value></param><param><value><string>"
  862.                 + string6
  863.                 + "</string></value></param></params></methodCall>");
  864.     }
  865.  
  866.     public Element reply_topic(String string1, String string2, Base64 base3, Base64 base4, String array5,
  867.             String string6, boolean boolean7)
  868.     {
  869.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_topic</methodName><params><param><value><string>"
  870.                 + string1
  871.                 + "</string></value></param><param><value><string>"
  872.                 + string2
  873.                 + "</string></value></param><param><value><base64>"
  874.                 + base3
  875.                 + "</base64></value></param><param><value><base64>"
  876.                 + base4
  877.                 + "</base64></value></param><param><value><array>"
  878.                 + array5
  879.                 + "</array></value></param><param><value><string>"
  880.                 + string6
  881.                 + "</string></value></param><param><value><boolean>"
  882.                 + boolean7
  883.                 + "</boolean></value></param></params></methodCall>");
  884.     }
  885.  
  886.     public Element subscribe_topic(String string1)
  887.     {
  888.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>subscribe_topic</methodName><params><param><value><string>"
  889.                 + string1 + "</string></value></param></params></methodCall>");
  890.     }
  891.  
  892.     public Element unsubscribe_topic(String string1, int int2)
  893.     {
  894.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>unsubscribe_topic</methodName><params><param><value><string>"
  895.                 + string1
  896.                 + "</string></value></param><param><value><int>"
  897.                 + int2
  898.                 + "</int></value></param></params></methodCall>");
  899.     }
  900.  
  901.     public Element unsubscribe_topic(String string1)
  902.     {
  903.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>unsubscribe_topic</methodName><params><param><value><string>"
  904.                 + string1 + "</string></value></param></params></methodCall>");
  905.     }
  906.  
  907.     public Element subscribe_forum(String string1)
  908.     {
  909.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>subscribe_forum</methodName><params><param><value><string>"
  910.                 + string1 + "</string></value></param></params></methodCall>");
  911.     }
  912.  
  913.     public Element unsubscribe_forum(String string1)
  914.     {
  915.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>unsubscribe_forum</methodName><params><param><value><string>"
  916.                 + string1 + "</string></value></param></params></methodCall>");
  917.     }
  918.  
  919.     public Element get_inbox_stat()
  920.     {
  921.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_inbox_stat</methodName><params></params></methodCall>");
  922.     }
  923.  
  924.     public Element get_conversations()
  925.     {
  926.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_conversations</methodName><params></params></methodCall>");
  927.     }
  928.  
  929.     public Element get_conversations(int int1, int int2)
  930.     {
  931.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_conversations</methodName><params><param><value><int>"
  932.                 + int1
  933.                 + "</int></value></param><param><value><int>"
  934.                 + int2
  935.                 + "</int></value></param></params></methodCall>");
  936.     }
  937.  
  938.     public Element get_conversation(String string1)
  939.     {
  940.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_conversation</methodName><params><param><value><string>"
  941.                 + string1 + "</string></value></param></params></methodCall>");
  942.     }
  943.  
  944.     public Element get_conversation(String string1, int int2, int int3)
  945.     {
  946.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_conversation</methodName><params><param><value><string>"
  947.                 + string1
  948.                 + "</string></value></param><param><value><int>"
  949.                 + int2
  950.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  951.     }
  952.  
  953.     public Element get_conversation(String string1, int int2, int int3, boolean boolean4)
  954.     {
  955.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_conversation</methodName><params><param><value><string>"
  956.                 + string1
  957.                 + "</string></value></param><param><value><int>"
  958.                 + int2
  959.                 + "</int></value></param><param><value><int>"
  960.                 + int3
  961.                 + "</int></value></param><param><value><boolean>"
  962.                 + boolean4 + "</boolean></value></param></params></methodCall>");
  963.     }
  964.  
  965.     public Element get_online_users()
  966.     {
  967.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_online_users</methodName><params></params></methodCall>");
  968.     }
  969.  
  970.     public Element get_online_users(int int1)
  971.     {
  972.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_online_users</methodName><params><param><value><int>"
  973.                 + int1 + "</int></value></param></params></methodCall>");
  974.     }
  975.  
  976.     public Element get_online_users(int int1, int int2)
  977.     {
  978.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_online_users</methodName><params><param><value><int>"
  979.                 + int1
  980.                 + "</int></value></param><param><value><int>"
  981.                 + int2
  982.                 + "</int></value></param></params></methodCall>");
  983.     }
  984.  
  985.     public Element get_online_users(int int1, int int2, String string3)
  986.     {
  987.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_online_users</methodName><params><param><value><int>"
  988.                 + int1
  989.                 + "</int></value></param><param><value><int>"
  990.                 + int2
  991.                 + "</int></value></param><param><value><string>"
  992.                 + string3
  993.                 + "</string></value></param></params></methodCall>");
  994.     }
  995.  
  996.     public Element get_online_users(int int1, int int2, String string3, String string4)
  997.     {
  998.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_online_users</methodName><params><param><value><int>"
  999.                 + int1
  1000.                 + "</int></value></param><param><value><int>"
  1001.                 + int2
  1002.                 + "</int></value></param><param><value><string>"
  1003.                 + string3
  1004.                 + "</string></value></param><param><value><string>"
  1005.                 + string4
  1006.                 + "</string></value></param></params></methodCall>");
  1007.     }
  1008.  
  1009.     public Element mark_all_as_read()
  1010.     {
  1011.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>mark_all_as_read</methodName><params></params></methodCall>");
  1012.     }
  1013.  
  1014.     public Element mark_all_as_read(String string1)
  1015.     {
  1016.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>mark_all_as_read</methodName><params><param><value><string>"
  1017.                 + string1 + "</string></value></param></params></methodCall>");
  1018.     }
  1019.  
  1020.     public Element search(Object struct1)
  1021.     {
  1022.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search</methodName><params><param><value><struct>"
  1023.                 + struct1 + "</struct></value></param></params></methodCall>");
  1024.     }
  1025.  
  1026.     public Element search_topic(Base64 base1, int int2, int int3, String string4)
  1027.     {
  1028.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_topic</methodName><params><param><value><base64>"
  1029.                 + base1
  1030.                 + "</base64></value></param><param><value><int>"
  1031.                 + int2
  1032.                 + "</int></value></param><param><value><int>"
  1033.                 + int3
  1034.                 + "</int></value></param><param><value><string>"
  1035.                 + string4 + "</string></value></param></params></methodCall>");
  1036.     }
  1037.  
  1038.     public Element search_topic(Base64 base1, int int2, int int3)
  1039.     {
  1040.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_topic</methodName><params><param><value><base64>"
  1041.                 + base1
  1042.                 + "</base64></value></param><param><value><int>"
  1043.                 + int2
  1044.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  1045.     }
  1046.  
  1047.     public Element search_topic(Base64 base1)
  1048.     {
  1049.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_topic</methodName><params><param><value><base64>"
  1050.                 + base1 + "</base64></value></param></params></methodCall>");
  1051.     }
  1052.  
  1053.     public Element search_post(Base64 base1, int int2, int int3, String string4)
  1054.     {
  1055.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_post</methodName><params><param><value><base64>"
  1056.                 + base1
  1057.                 + "</base64></value></param><param><value><int>"
  1058.                 + int2
  1059.                 + "</int></value></param><param><value><int>"
  1060.                 + int3
  1061.                 + "</int></value></param><param><value><string>"
  1062.                 + string4 + "</string></value></param></params></methodCall>");
  1063.     }
  1064.  
  1065.     public Element search_post(Base64 base1, int int2, int int3)
  1066.     {
  1067.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_post</methodName><params><param><value><base64>"
  1068.                 + base1
  1069.                 + "</base64></value></param><param><value><int>"
  1070.                 + int2
  1071.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  1072.     }
  1073.  
  1074.     public Element search_post(Base64 base1)
  1075.     {
  1076.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>search_post</methodName><params><param><value><base64>"
  1077.                 + base1 + "</base64></value></param></params></methodCall>");
  1078.     }
  1079.  
  1080.     public Element get_participated_topic()
  1081.     {
  1082.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_participated_topic</methodName><params></params></methodCall>");
  1083.     }
  1084.  
  1085.     public Element get_participated_topic(Base64 base1)
  1086.     {
  1087.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_participated_topic</methodName><params><param><value><base64>"
  1088.                 + base1 + "</base64></value></param></params></methodCall>");
  1089.     }
  1090.  
  1091.     public Element get_participated_topic(int int1, int int2)
  1092.     {
  1093.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_participated_topic</methodName><params><param><value><int>"
  1094.                 + int1
  1095.                 + "</int></value></param><param><value><int>"
  1096.                 + int2
  1097.                 + "</int></value></param></params></methodCall>");
  1098.     }
  1099.  
  1100.     public Element get_participated_topic(Base64 base1, int int2, int int3)
  1101.     {
  1102.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_participated_topic</methodName><params><param><value><base64>"
  1103.                 + base1
  1104.                 + "</base64></value></param><param><value><int>"
  1105.                 + int2
  1106.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  1107.     }
  1108.  
  1109.     public Element get_participated_topic(Base64 base1, int int2, int int3, String string4)
  1110.     {
  1111.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_participated_topic</methodName><params><param><value><base64>"
  1112.                 + base1
  1113.                 + "</base64></value></param><param><value><int>"
  1114.                 + int2
  1115.                 + "</int></value></param><param><value><int>"
  1116.                 + int3
  1117.                 + "</int></value></param><param><value><string>"
  1118.                 + string4 + "</string></value></param></params></methodCall>");
  1119.     }
  1120.  
  1121.     public Element get_participated_topic(Base64 base1, int int2, int int3, String string4, String string5)
  1122.     {
  1123.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_participated_topic</methodName><params><param><value><base64>"
  1124.                 + base1
  1125.                 + "</base64></value></param><param><value><int>"
  1126.                 + int2
  1127.                 + "</int></value></param><param><value><int>"
  1128.                 + int3
  1129.                 + "</int></value></param><param><value><string>"
  1130.                 + string4
  1131.                 + "</string></value></param><param><value><string>"
  1132.                 + string5
  1133.                 + "</string></value></param></params></methodCall>");
  1134.     }
  1135.  
  1136.     public Element login_forum(String string1, Base64 base2)
  1137.     {
  1138.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>login_forum</methodName><params><param><value><string>"
  1139.                 + string1
  1140.                 + "</string></value></param><param><value><base64>"
  1141.                 + base2
  1142.                 + "</base64></value></param></params></methodCall>");
  1143.     }
  1144.  
  1145.     public Element invite_participant(String array1, String string2)
  1146.     {
  1147.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>invite_participant</methodName><params><param><value><array>"
  1148.                 + array1
  1149.                 + "</array></value></param><param><value><string>"
  1150.                 + string2
  1151.                 + "</string></value></param></params></methodCall>");
  1152.     }
  1153.  
  1154.     public Element invite_participant(String array1, String string2, Base64 base3)
  1155.     {
  1156.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>invite_participant</methodName><params><param><value><array>"
  1157.                 + array1
  1158.                 + "</array></value></param><param><value><string>"
  1159.                 + string2
  1160.                 + "</string></value></param><param><value><base64>"
  1161.                 + base3
  1162.                 + "</base64></value></param></params></methodCall>");
  1163.     }
  1164.  
  1165.     public Element new_conversation(String array1, String string2)
  1166.     {
  1167.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_conversation</methodName><params><param><value><array>"
  1168.                 + array1
  1169.                 + "</array></value></param><param><value><string>"
  1170.                 + string2
  1171.                 + "</string></value></param></params></methodCall>");
  1172.     }
  1173.  
  1174.     public Element new_conversation(String array1, Base64 base2, Base64 base3)
  1175.     {
  1176.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_conversation</methodName><params><param><value><array>"
  1177.                 + array1
  1178.                 + "</array></value></param><param><value><base64>"
  1179.                 + base2
  1180.                 + "</base64></value></param><param><value><base64>"
  1181.                 + base3
  1182.                 + "</base64></value></param></params></methodCall>");
  1183.     }
  1184.  
  1185.     public Element new_conversation(String array1, Base64 base2, Base64 base3, String array4, String string5)
  1186.     {
  1187.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>new_conversation</methodName><params><param><value><array>"
  1188.                 + array1
  1189.                 + "</array></value></param><param><value><base64>"
  1190.                 + base2
  1191.                 + "</base64></value></param><param><value><base64>"
  1192.                 + base3
  1193.                 + "</base64></value></param><param><value><array>"
  1194.                 + array4
  1195.                 + "</array></value></param><param><value><string>"
  1196.                 + string5
  1197.                 + "</string></value></param></params></methodCall>");
  1198.     }
  1199.  
  1200.     public Element reply_conversation(String string1, Base64 base2)
  1201.     {
  1202.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_conversation</methodName><params><param><value><string>"
  1203.                 + string1
  1204.                 + "</string></value></param><param><value><base64>"
  1205.                 + base2
  1206.                 + "</base64></value></param></params></methodCall>");
  1207.     }
  1208.  
  1209.     public Element reply_conversation(String string1, Base64 base2, Base64 base3)
  1210.     {
  1211.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_conversation</methodName><params><param><value><string>"
  1212.                 + string1
  1213.                 + "</string></value></param><param><value><base64>"
  1214.                 + base2
  1215.                 + "</base64></value></param><param><value><base64>"
  1216.                 + base3
  1217.                 + "</base64></value></param></params></methodCall>");
  1218.     }
  1219.  
  1220.     public Element reply_conversation(String string1, Base64 base2, Base64 base3, String array4, String string5)
  1221.     {
  1222.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reply_conversation</methodName><params><param><value><string>"
  1223.                 + string1
  1224.                 + "</string></value></param><param><value><base64>"
  1225.                 + base2
  1226.                 + "</base64></value></param><param><value><base64>"
  1227.                 + base3
  1228.                 + "</base64></value></param><param><value><array>"
  1229.                 + array4
  1230.                 + "</array></value></param><param><value><string>"
  1231.                 + string5
  1232.                 + "</string></value></param></params></methodCall>");
  1233.     }
  1234.  
  1235.     public Element get_quote_conversation(String string1, String string2)
  1236.     {
  1237.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_quote_conversation</methodName><params><param><value><string>"
  1238.                 + string1
  1239.                 + "</string></value></param><param><value><string>"
  1240.                 + string2
  1241.                 + "</string></value></param></params></methodCall>");
  1242.     }
  1243.  
  1244.     public Element delete_conversation(String string1, int int2)
  1245.     {
  1246.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>delete_conversation</methodName><params><param><value><string>"
  1247.                 + string1
  1248.                 + "</string></value></param><param><value><int>"
  1249.                 + int2
  1250.                 + "</int></value></param></params></methodCall>");
  1251.     }
  1252.  
  1253.     public Element get_dashboard()
  1254.     {
  1255.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_dashboard</methodName><params></params></methodCall>");
  1256.     }
  1257.  
  1258.     public Element get_dashboard(boolean boolean1)
  1259.     {
  1260.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_dashboard</methodName><params><param><value><boolean>"
  1261.                 + boolean1 + "</boolean></value></param></params></methodCall>");
  1262.     }
  1263.  
  1264.     public Element like_post(String string1)
  1265.     {
  1266.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>like_post</methodName><params><param><value><string>"
  1267.                 + string1 + "</string></value></param></params></methodCall>");
  1268.     }
  1269.  
  1270.     public Element unlike_post(String string1)
  1271.     {
  1272.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>unlike_post</methodName><params><param><value><string>"
  1273.                 + string1 + "</string></value></param></params></methodCall>");
  1274.     }
  1275.  
  1276.     public Element report_post(String string1, Base64 base2)
  1277.     {
  1278.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>report_post</methodName><params><param><value><string>"
  1279.                 + string1
  1280.                 + "</string></value></param><param><value><base64>"
  1281.                 + base2
  1282.                 + "</base64></value></param></params></methodCall>");
  1283.     }
  1284.  
  1285.     public Element report_pm(String string1, Base64 base2)
  1286.     {
  1287.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>report_pm</methodName><params><param><value><string>"
  1288.                 + string1
  1289.                 + "</string></value></param><param><value><base64>"
  1290.                 + base2
  1291.                 + "</base64></value></param></params></methodCall>");
  1292.     }
  1293.  
  1294.     public Element upload_attach()
  1295.     {
  1296.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>upload_attach</methodName><params></params></methodCall>");
  1297.     }
  1298.  
  1299.     public Element set_avatar()
  1300.     {
  1301.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>set_avatar</methodName><params></params></methodCall>");
  1302.     }
  1303.  
  1304.     public Element upload_avatar()
  1305.     {
  1306.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>upload_avatar</methodName><params></params></methodCall>");
  1307.     }
  1308.  
  1309.     public Element get_id_by_url(String string1)
  1310.     {
  1311.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_id_by_url</methodName><params><param><value><string>"
  1312.                 + string1 + "</string></value></param></params></methodCall>");
  1313.     }
  1314.  
  1315.     public Element authorize_user(Base64 base1, String string2)
  1316.     {
  1317.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>authorize_user</methodName><params><param><value><base64>"
  1318.                 + base1
  1319.                 + "</base64></value></param><param><value><string>"
  1320.                 + string2
  1321.                 + "</string></value></param></params></methodCall>");
  1322.     }
  1323.  
  1324.     public Element authorize_user(Base64 base1, Base64 base2)
  1325.     {
  1326.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>authorize_user</methodName><params><param><value><base64>"
  1327.                 + base1
  1328.                 + "</base64></value></param><param><value><base64>"
  1329.                 + base2
  1330.                 + "</base64></value></param></params></methodCall>");
  1331.     }
  1332.  
  1333.     public Element remove_attachment(String string1, String string2, String string3)
  1334.     {
  1335.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>remove_attachment</methodName><params><param><value><string>"
  1336.                 + string1
  1337.                 + "</string></value></param><param><value><string>"
  1338.                 + string2
  1339.                 + "</string></value></param><param><value><string>"
  1340.                 + string3
  1341.                 + "</string></value></param></params></methodCall>");
  1342.     }
  1343.  
  1344.     public Element remove_attachment(String string1, String string2, String string3, String string4)
  1345.     {
  1346.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>remove_attachment</methodName><params><param><value><string>"
  1347.                 + string1
  1348.                 + "</string></value></param><param><value><string>"
  1349.                 + string2
  1350.                 + "</string></value></param><param><value><string>"
  1351.                 + string3
  1352.                 + "</string></value></param><param><value><string>"
  1353.                 + string4
  1354.                 + "</string></value></param></params></methodCall>");
  1355.     }
  1356.  
  1357.     public Element m_stick_topic(String string1, int int2)
  1358.     {
  1359.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_stick_topic</methodName><params><param><value><string>"
  1360.                 + string1
  1361.                 + "</string></value></param><param><value><int>"
  1362.                 + int2
  1363.                 + "</int></value></param></params></methodCall>");
  1364.     }
  1365.  
  1366.     public Element m_close_topic(String string1, int int2)
  1367.     {
  1368.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_close_topic</methodName><params><param><value><string>"
  1369.                 + string1
  1370.                 + "</string></value></param><param><value><int>"
  1371.                 + int2
  1372.                 + "</int></value></param></params></methodCall>");
  1373.     }
  1374.  
  1375.     public Element m_delete_topic(String string1, int int2, Base64 base3)
  1376.     {
  1377.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_delete_topic</methodName><params><param><value><string>"
  1378.                 + string1
  1379.                 + "</string></value></param><param><value><int>"
  1380.                 + int2
  1381.                 + "</int></value></param><param><value><base64>"
  1382.                 + base3
  1383.                 + "</base64></value></param></params></methodCall>");
  1384.     }
  1385.  
  1386.     public Element m_delete_topic(String string1, int int2)
  1387.     {
  1388.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_delete_topic</methodName><params><param><value><string>"
  1389.                 + string1
  1390.                 + "</string></value></param><param><value><int>"
  1391.                 + int2
  1392.                 + "</int></value></param></params></methodCall>");
  1393.     }
  1394.  
  1395.     public Element m_delete_post(String string1, int int2, Base64 base3)
  1396.     {
  1397.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_delete_post</methodName><params><param><value><string>"
  1398.                 + string1
  1399.                 + "</string></value></param><param><value><int>"
  1400.                 + int2
  1401.                 + "</int></value></param><param><value><base64>"
  1402.                 + base3
  1403.                 + "</base64></value></param></params></methodCall>");
  1404.     }
  1405.  
  1406.     public Element m_undelete_topic(String string1, Base64 base2)
  1407.     {
  1408.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_undelete_topic</methodName><params><param><value><string>"
  1409.                 + string1
  1410.                 + "</string></value></param><param><value><base64>"
  1411.                 + base2
  1412.                 + "</base64></value></param></params></methodCall>");
  1413.     }
  1414.  
  1415.     public Element m_undelete_post(String string1, Base64 base2)
  1416.     {
  1417.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_undelete_post</methodName><params><param><value><string>"
  1418.                 + string1
  1419.                 + "</string></value></param><param><value><base64>"
  1420.                 + base2
  1421.                 + "</base64></value></param></params></methodCall>");
  1422.     }
  1423.  
  1424.     public Element m_delete_post_by_user(String string1, Base64 base2)
  1425.     {
  1426.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_delete_post_by_user</methodName><params><param><value><string>"
  1427.                 + string1
  1428.                 + "</string></value></param><param><value><base64>"
  1429.                 + base2
  1430.                 + "</base64></value></param></params></methodCall>");
  1431.     }
  1432.  
  1433.     public Element m_move_topic(String string1, String string2)
  1434.     {
  1435.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_move_topic</methodName><params><param><value><string>"
  1436.                 + string1
  1437.                 + "</string></value></param><param><value><string>"
  1438.                 + string2
  1439.                 + "</string></value></param></params></methodCall>");
  1440.     }
  1441.  
  1442.     public Element m_rename_topic(String string1, Base64 base2, String string3)
  1443.     {
  1444.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_rename_topic</methodName><params><param><value><string>"
  1445.                 + string1
  1446.                 + "</string></value></param><param><value><base64>"
  1447.                 + base2
  1448.                 + "</base64></value></param><param><value><string>"
  1449.                 + string3
  1450.                 + "</string></value></param></params></methodCall>");
  1451.     }
  1452.  
  1453.     public Element m_rename_topic(String string1, Base64 base2)
  1454.     {
  1455.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_rename_topic</methodName><params><param><value><string>"
  1456.                 + string1
  1457.                 + "</string></value></param><param><value><base64>"
  1458.                 + base2
  1459.                 + "</base64></value></param></params></methodCall>");
  1460.     }
  1461.  
  1462.     public Element m_move_post(String string1, String string2, Base64 base3, String string4)
  1463.     {
  1464.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_move_post</methodName><params><param><value><string>"
  1465.                 + string1
  1466.                 + "</string></value></param><param><value><string>"
  1467.                 + string2
  1468.                 + "</string></value></param><param><value><base64>"
  1469.                 + base3
  1470.                 + "</base64></value></param><param><value><string>"
  1471.                 + string4
  1472.                 + "</string></value></param></params></methodCall>");
  1473.     }
  1474.  
  1475.     public Element m_merge_topic(String string1, String string2)
  1476.     {
  1477.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_merge_topic</methodName><params><param><value><string>"
  1478.                 + string1
  1479.                 + "</string></value></param><param><value><string>"
  1480.                 + string2
  1481.                 + "</string></value></param></params></methodCall>");
  1482.     }
  1483.  
  1484.     public Element m_merge_topic(String string1, String string2, boolean boolean3)
  1485.     {
  1486.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_merge_topic</methodName><params><param><value><string>"
  1487.                 + string1
  1488.                 + "</string></value></param><param><value><string>"
  1489.                 + string2
  1490.                 + "</string></value></param><param><value><boolean>"
  1491.                 + boolean3
  1492.                 + "</boolean></value></param></params></methodCall>");
  1493.     }
  1494.  
  1495.     public Element m_get_moderate_topic()
  1496.     {
  1497.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_topic</methodName><params></params></methodCall>");
  1498.     }
  1499.  
  1500.     public Element m_get_moderate_topic(int int1)
  1501.     {
  1502.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_topic</methodName><params><param><value><int>"
  1503.                 + int1 + "</int></value></param></params></methodCall>");
  1504.     }
  1505.  
  1506.     public Element m_get_moderate_topic(int int1, int int2)
  1507.     {
  1508.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_topic</methodName><params><param><value><int>"
  1509.                 + int1
  1510.                 + "</int></value></param><param><value><int>"
  1511.                 + int2
  1512.                 + "</int></value></param></params></methodCall>");
  1513.     }
  1514.  
  1515.     public Element m_get_moderate_topic(int int1, int int2, int int3)
  1516.     {
  1517.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_topic</methodName><params><param><value><int>"
  1518.                 + int1
  1519.                 + "</int></value></param><param><value><int>"
  1520.                 + int2
  1521.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  1522.     }
  1523.  
  1524.     public Element m_get_moderate_post()
  1525.     {
  1526.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_post</methodName><params></params></methodCall>");
  1527.     }
  1528.  
  1529.     public Element m_get_moderate_post(int int1)
  1530.     {
  1531.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_post</methodName><params><param><value><int>"
  1532.                 + int1 + "</int></value></param></params></methodCall>");
  1533.     }
  1534.  
  1535.     public Element m_get_moderate_post(int int1, int int2)
  1536.     {
  1537.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_post</methodName><params><param><value><int>"
  1538.                 + int1
  1539.                 + "</int></value></param><param><value><int>"
  1540.                 + int2
  1541.                 + "</int></value></param></params></methodCall>");
  1542.     }
  1543.  
  1544.     public Element m_get_moderate_post(int int1, int int2, int int3)
  1545.     {
  1546.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_moderate_post</methodName><params><param><value><int>"
  1547.                 + int1
  1548.                 + "</int></value></param><param><value><int>"
  1549.                 + int2
  1550.                 + "</int></value></param><param><value><int>" + int3 + "</int></value></param></params></methodCall>");
  1551.     }
  1552.  
  1553.     public Element m_approve_topic(String string1, int int2)
  1554.     {
  1555.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_approve_topic</methodName><params><param><value><string>"
  1556.                 + string1
  1557.                 + "</string></value></param><param><value><int>"
  1558.                 + int2
  1559.                 + "</int></value></param></params></methodCall>");
  1560.     }
  1561.  
  1562.     public Element m_approve_post(String string1, int int2)
  1563.     {
  1564.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_approve_post</methodName><params><param><value><string>"
  1565.                 + string1
  1566.                 + "</string></value></param><param><value><int>"
  1567.                 + int2
  1568.                 + "</int></value></param></params></methodCall>");
  1569.     }
  1570.  
  1571.     public Element m_ban_user(Base64 base1, int int2, Base64 base3)
  1572.     {
  1573.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_ban_user</methodName><params><param><value><base64>"
  1574.                 + base1
  1575.                 + "</base64></value></param><param><value><int>"
  1576.                 + int2
  1577.                 + "</int></value></param><param><value><base64>"
  1578.                 + base3
  1579.                 + "</base64></value></param></params></methodCall>");
  1580.     }
  1581.  
  1582.     public Element m_ban_user(Base64 base1, int int2, Base64 base3, int int4)
  1583.     {
  1584.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_ban_user</methodName><params><param><value><base64>"
  1585.                 + base1
  1586.                 + "</base64></value></param><param><value><int>"
  1587.                 + int2
  1588.                 + "</int></value></param><param><value><base64>"
  1589.                 + base3
  1590.                 + "</base64></value></param><param><value><int>"
  1591.                 + int4
  1592.                 + "</int></value></param></params></methodCall>");
  1593.     }
  1594.  
  1595.     public Element m_get_report_post()
  1596.     {
  1597.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_report_post</methodName><params></params></methodCall>");
  1598.     }
  1599.  
  1600.     public Element m_get_report_post(int int1, int int2)
  1601.     {
  1602.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_get_report_post</methodName><params><param><value><int>"
  1603.                 + int1
  1604.                 + "</int></value></param><param><value><int>"
  1605.                 + int2
  1606.                 + "</int></value></param></params></methodCall>");
  1607.     }
  1608.  
  1609.     public Element update_push_status(Object struct1)
  1610.     {
  1611.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>update_push_status</methodName><params><param><value><struct>"
  1612.                 + struct1 + "</struct></value></param></params></methodCall>");
  1613.     }
  1614.  
  1615.     public Element update_push_status(Object struct1, Base64 base2, Base64 base3)
  1616.     {
  1617.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>update_push_status</methodName><params><param><value><struct>"
  1618.                 + struct1
  1619.                 + "</struct></value></param><param><value><base64>"
  1620.                 + base2
  1621.                 + "</base64></value></param><param><value><base64>"
  1622.                 + base3
  1623.                 + "</base64></value></param></params></methodCall>");
  1624.     }
  1625.  
  1626.     public Element get_alert(int int1, int int2)
  1627.     {
  1628.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_alert</methodName><params><param><value><int>"
  1629.                 + int1
  1630.                 + "</int></value></param><param><value><int>"
  1631.                 + int2
  1632.                 + "</int></value></param></params></methodCall>");
  1633.     }
  1634.  
  1635.     public Element get_alert(int int1)
  1636.     {
  1637.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_alert</methodName><params><param><value><int>"
  1638.                 + int1 + "</int></value></param></params></methodCall>");
  1639.     }
  1640.  
  1641.     public Element get_alert()
  1642.     {
  1643.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>get_alert</methodName><params></params></methodCall>");
  1644.     }
  1645.  
  1646.     public Element prefetch_account(Base64 base1)
  1647.     {
  1648.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>prefetch_account</methodName><params><param><value><base64>"
  1649.                 + base1 + "</base64></value></param></params></methodCall>");
  1650.     }
  1651.  
  1652.     public Element m_unban_user(String string1)
  1653.     {
  1654.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_unban_user</methodName><params><param><value><string>"
  1655.                 + string1 + "</string></value></param></params></methodCall>");
  1656.     }
  1657.  
  1658.     public Element m_close_report(String string1)
  1659.     {
  1660.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>m_close_report</methodName><params><param><value><string>"
  1661.                 + string1 + "</string></value></param></params></methodCall>");
  1662.     }
  1663.  
  1664.     public Element update_signature(Base64 base1)
  1665.     {
  1666.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>update_signature</methodName><params><param><value><base64>"
  1667.                 + base1 + "</base64></value></param></params></methodCall>");
  1668.     }
  1669.  
  1670.     public Element activate_account(Base64 base1, String string2, String string3)
  1671.     {
  1672.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>activate_account</methodName><params><param><value><base64>"
  1673.                 + base1
  1674.                 + "</base64></value></param><param><value><string>"
  1675.                 + string2
  1676.                 + "</string></value></param><param><value><string>"
  1677.                 + string3
  1678.                 + "</string></value></param></params></methodCall>");
  1679.     }
  1680.  
  1681.     public Element set_api_key()
  1682.     {
  1683.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>set_api_key</methodName><params></params></methodCall>");
  1684.     }
  1685.  
  1686.     public Element reset_push_slug()
  1687.     {
  1688.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>reset_push_slug</methodName><params></params></methodCall>");
  1689.     }
  1690.  
  1691.     public Element user_subscription()
  1692.     {
  1693.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>user_subscription</methodName><params></params></methodCall>");
  1694.     }
  1695.  
  1696.     public Element push_content_check()
  1697.     {
  1698.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>push_content_check</methodName><params></params></methodCall>");
  1699.     }
  1700.  
  1701.     public Element system_listMethods()
  1702.     {
  1703.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>system.listMethods</methodName><params></params></methodCall>");
  1704.     }
  1705.  
  1706.     public Element system_methodHelp(String string1)
  1707.     {
  1708.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>system.methodHelp</methodName><params><param><value><string>"
  1709.                 + string1 + "</string></value></param></params></methodCall>");
  1710.     }
  1711.  
  1712.     public Element system_methodSignature(String string1)
  1713.     {
  1714.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>system.methodSignature</methodName><params><param><value><string>"
  1715.                 + string1 + "</string></value></param></params></methodCall>");
  1716.     }
  1717.  
  1718.     public Element system_multicall(String array1)
  1719.     {
  1720.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>system.multicall</methodName><params><param><value><array>"
  1721.                 + array1 + "</array></value></param></params></methodCall>");
  1722.     }
  1723.  
  1724.     public Element system_getCapabilities()
  1725.     {
  1726.         return getReturn("<?xml version=\"1.0\"?><methodCall><methodName>system.getCapabilities</methodName><params></params></methodCall>");
  1727.     }
  1728. }
Advertisement
Add Comment
Please, Sign In to add comment