ServerMethod.cs 634 B

12345678910111213141516171819
  1. using UnityEngine;
  2. using System.Collections;
  3. public class ServerMethod {
  4. /// <summary>启动游戏时获取支付用二维码</summary>
  5. public const string SERVER_QRCODE = "qrcode/";
  6. /// <summary>获取等待游戏的玩家列表</summary>
  7. public const string GET_PLAYER_LIST = "game_list/";
  8. /// <summary>开始一次游戏</summary>
  9. public const string SERVER_START_GAME = "start/";
  10. /// <summary>提交游戏结果</summary>
  11. public const string SERVER_COMMIT_GAME = "end/";
  12. /// <summary>获取排行榜</summary>
  13. public const string SERVER_GET_RANK = "rank/";
  14. }