Test.cs 737 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Xml;
  4. public class Test : MonoBehaviour {
  5. private XmlDocument oldXml;
  6. private XmlDocument newXml;
  7. // Use this for initialization
  8. void Start ()
  9. {
  10. Debuger.EnableLog = true;
  11. //
  12. string a = "fuck lily everyday";
  13. string en = DecryptionUtil.Encryption(a);
  14. Debuger.Log(en);
  15. string de = DecryptionUtil.Decryption(en);
  16. Debuger.Log(de);
  17. }
  18. public void Dotest()
  19. {
  20. URLRequestData data = new URLRequestData();
  21. data.Add("email", "232800773@qq.com");
  22. data.Add("pwd", "123abc");
  23. string url = "http://battlearray.dashgame.com/login_getcoin.php";
  24. URLRequest.CreateURLRequest(url, data, OnLogin);
  25. }
  26. private void OnLogin(LitJson.JsonData data)
  27. {
  28. }
  29. }