33 lines
828 B
C#
Raw Normal View History

2025-11-18 19:22:47 +08:00
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
public enum REQUEST_METHODS // 事件方法
{
GET = 1, // 获取
PUT = 3, // 修改
POST = 0, // 默认发送, 不需要任何返回
DELETE = 2, // 删除
}
2025-11-18 22:26:13 +08:00
public enum TURN_ACTION_STATE
{
WAIT = 0, // 默认等待
DEAL_REQUEST, // 发牌请求
DEAL_RUNNING, // 正在发牌
DROP_REQUEST, // 弃牌请求
DROP_RUNNING, // 正在弃牌
PICK_RUNNING, // 正在选择
}
2025-11-18 19:22:47 +08:00
public enum TURN_OS_STATE
{
WAIT = 0, // 等待
2025-11-18 22:26:13 +08:00
ENTER_SELF_TURN, // 进入己方回合
STAY_SELF_TURN, // 停留己方回合
EXIT_SELF_TURN, // 退出己方回合
ENTER_ENEMY_TURN, // 进入敌方回合
STAY_ENEMY_TURN, // 停留敌方回合
EXIT_ENEMY_TURN, // 退出敌方回合
2025-11-18 19:22:47 +08:00
}