42 lines
1.1 KiB
C#
Raw Normal View History

2025-11-18 01:08:04 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2025-11-18 16:43:59 +08:00
public struct EVENT_STRUCT
2025-11-18 01:08:04 +08:00
{
2025-11-18 17:11:25 +08:00
// ************** 系统数据结构 ****************
2025-11-18 18:12:49 +08:00
public struct STRUCT_EVENT_OS_SWITCH_STATUS
{
public EVENT_METHODS METHOD;
public EVENT_OS_STATE STATUS;
}
2025-11-18 17:50:01 +08:00
public struct STRUCT_EVENT_OS_DEAL_CARD // 系统发牌
2025-11-18 01:08:04 +08:00
{
2025-11-18 17:43:30 +08:00
public EVENT_METHODS METHOD;
2025-11-18 01:08:04 +08:00
public int HAND_CARD_COUNT; // 手牌数量
public int DECK_CARD_COUNT; // 牌堆数量
public float DURATION; // 动画时长
}
2025-11-18 17:11:25 +08:00
// ************** 卡牌数据结构 ****************
2025-11-18 17:50:01 +08:00
public struct STRUCT_EVENT_CARD_DRAW_CARD // 抽卡
2025-11-18 01:08:04 +08:00
{
2025-11-18 17:43:30 +08:00
public EVENT_METHODS METHOD;
2025-11-18 01:08:04 +08:00
public int ID;
public Vector3 POSITION;
public Quaternion ROTATION;
public Vector3 SCALE;
public int LAYER_SORT_ORDER;
public float DURATION;
}
2025-11-18 17:50:01 +08:00
public struct STRUCT_EVENT_CARD_DROP_CARD // 弃牌
2025-11-18 01:08:04 +08:00
{
2025-11-18 17:43:30 +08:00
public EVENT_METHODS METHOD;
2025-11-18 01:08:04 +08:00
public int ID;
public Vector3 POSITION;
public float DURATION;
}
}