2025-11-20 00:57:10 +08:00

49 lines
1.2 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public struct STRUCT_TURN_OS
{
public struct LET_OS_DEAL_CARD // 系统发牌
{
public REQUEST_METHODS METHOD;
public int DEFAULT_HAND_CARD_COUNT; // 手牌数量
public int DECK_CARD_COUNT; // 牌堆数量
public float MOVE_ANIMATION_DURATION; // 移动动画时长
public float DRAG_ANIMATION_DURATION; // 拖拽动画时长
}
}
public struct STRUCT_TURN_CHARACTER
{
public struct CHARACTER_RENDER_DATA
{
public Vector2 RENDER_POSITION;
public GameObject RENDER_PREFAB;
public bool IS_ENEMY;
public string NAME;
public Quaternion ROTATION;
}
}
public struct STRUCT_TURN_CARD
{
public struct LET_CARD_DEAL_SELF // 抽卡
{
public REQUEST_METHODS METHOD;
public int ID;
public Vector3 POSITION;
public Quaternion ROTATION;
public Vector3 SCALE;
public int LAYER_SORT_ORDER;
public float DURATION;
}
public struct LET_CARD_DROP_SELF // 弃牌
{
public REQUEST_METHODS METHOD;
public int ID;
public Vector3 POSITION;
public float DURATION;
}
}