すくすくゴートうちゃん 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.

chat.mod.hsp 281 B

1 year ago
12345678910111213141516171819202122
  1. #include "./modules/http.mod.hsp"
  2. #ifndef __CHAT__
  3. #define __CHAT__
  4. #module \
  5. Chat
  6. #define URL (CONFIG_SERVER_URL + "/chat.php")
  7. #deffunc local \
  8. Send \
  9. str p_message
  10. Fetch@Http URL + StrF ("?id=%d&text=%s", id.p_insId, p_message)
  11. Return
  12. #global
  13. #endif ; not __CHAT__