すくすくゴートうちゃん Android 版(黒歴史)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

user.mod.hsp 442 B

1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031
  1. #module \
  2. User
  3. #define CREATE_URL (CONFIG_SERVER_URL + "/create_user.php")
  4. #define FETCH_URL (CONFIG_SERVER_URL + "/fetch_user.php")
  5. #deffunc local \
  6. Create \
  7. local l_data
  8. HTTPLoad CREATE_URL
  9. HTTPInfo l_data
  10. id = 0
  11. pass = ""
  12. Return
  13. #deffunc local \
  14. Fetch \
  15. int p_id,\
  16. local l_data
  17. id = userId@Setting
  18. pass = userPasscode@Setting
  19. HTTPLoad StrF ("%s?id=%d&pass=%s", CREATE_URL, id, pass)
  20. HTTPInfo l_data
  21. Return
  22. #global