2026-06-08 21:23:40 +08:00
|
|
|
|
using System;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// ���뱣�����������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SaveSafeBoxParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int gold; // ������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �����������������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SetSafeBoxPasswordParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public string password; // ������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �������������������GET��
|
2026-06-26 17:26:10 +08:00
|
|
|
|
/// Swagger: /api/Hall/ResetSafeBoxPassword?password=&code=
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ResetSafeBoxPasswordParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-06-26 17:26:10 +08:00
|
|
|
|
public string password;
|
|
|
|
|
|
public string code;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// ȡ�����������������GET��
|
2026-06-26 17:26:10 +08:00
|
|
|
|
/// Swagger: /api/Hall/GetSafeBox?gold=&password=
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class GetSafeBoxInfoParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public long gold;
|
|
|
|
|
|
public string password;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// ��ȡ�ʲ��䶯��¼������GET��
|
2026-06-26 17:26:10 +08:00
|
|
|
|
/// Swagger: /api/Hall/GetUserRewardList
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class GetUserRewardListObj : RequestObjBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string keyWord;
|
|
|
|
|
|
public int pageIndex;
|
|
|
|
|
|
public int pageSize;
|
|
|
|
|
|
public string userId;
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int type; // 1���� 2���� 0ȫ��
|
2026-06-26 17:26:10 +08:00
|
|
|
|
public int source;
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int currencyType; // 1��� 2��ұ����� 3��ʯ 0ȫ��
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �ϳ���Ƭ�������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SynthesisFragmentParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int fragmentId; // ��ƬID
|
|
|
|
|
|
public int count; // ����
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �����¿����������GET��
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// Swagger: GET /api/Hall/BuyMonthCard
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyMonthCardParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>�¿����� 1=�ܿ� 2=�¿� 3=�꿨</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public int type;
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��Ҽ۸�����У�飩</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public int gold;
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>�ֽ�۸�</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public double money;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// ����������������GET��
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// Swagger: GET /api/Hall/BuyProp
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyPropParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>���߱��</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public string propNumber;
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��������</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// ���������������GET��
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// Swagger: GET /api/Hall/BuyGold
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyGoldParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��Ʒ��ţ�GoldShopConfig.number��</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public string number;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��������</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// ������ʯ���������GET��
|
2026-04-13 18:30:55 +08:00
|
|
|
|
/// Swagger: GET /api/Hall/BuyDiamond
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyDiamondParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��Ʒ��ţ�DiamondShopConfig.number��</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public string number;
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��������</summary>
|
2026-04-13 18:30:55 +08:00
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �л���̨�������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ChangeCannonParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public string number; // ��̨���
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �����������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ChangeWingParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public string number; // �����
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-25 01:32:54 +08:00
|
|
|
|
/// 切换战神请求参数
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ChangeGodWarParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-25 01:32:54 +08:00
|
|
|
|
public string number; // 战神编号
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 使用VIP经验包请求参数(count=使用数量)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class UseVipExpParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int count;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// �������������
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class DistributeRewardsParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public string id; // ����/���� ID
|
2026-02-03 11:35:19 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
2026-07-03 04:47:39 +08:00
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>��ȡս��ȼ�������GET��</summary>
|
2026-07-03 04:47:39 +08:00
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class ReceiveBattleOrderLevelRewardParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int level; // �ȼ�
|
2026-07-03 04:47:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>����ս��ȼ���GET��</summary>
|
2026-07-03 04:47:39 +08:00
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyBattleOrderLevelParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int levelCount; // ����ȼ���
|
2026-07-03 04:47:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>����ս����ף�GET��</summary>
|
2026-07-03 04:47:39 +08:00
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuyBattleOrderAdvanceParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-10 23:26:42 +08:00
|
|
|
|
public int type; // �������� 1=��Ӣ 2=����
|
2026-07-03 04:47:39 +08:00
|
|
|
|
}
|
2026-07-03 18:55:56 +08:00
|
|
|
|
|
2026-07-23 15:07:51 +08:00
|
|
|
|
/// <summary>获取用户任务列表(GET)</summary>
|
2026-07-03 18:55:56 +08:00
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class GetUserTaskListParam : RequestParamBase
|
|
|
|
|
|
{
|
2026-07-23 15:07:51 +08:00
|
|
|
|
public int taskType = -1; // -1=全部
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-10 23:26:42 +08:00
|
|
|
|
/// <summary>发送全服广播(GET)</summary>
|
2026-07-09 14:29:17 +08:00
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SendBroadcastParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string message;
|
|
|
|
|
|
}
|
2026-07-10 23:26:42 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>获取房间专属 socket 地址(GET /api/Room/Assign?roomId=)</summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class RoomAssignParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public string roomId;
|
|
|
|
|
|
}
|
2026-07-20 22:32:52 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>快速加入房间(GET /api/Room/QuickJoin?gameType=&level=)</summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class RoomQuickJoinParam : RequestParamBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public int gameType;
|
|
|
|
|
|
public int level;
|
|
|
|
|
|
}
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|