42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public struct EVENT_STRUCT
|
|
{
|
|
// ************** 系统数据结构 ****************
|
|
// public struct STRUCT_EVENT_OS_SWITCH_STATUS
|
|
// {
|
|
// public EVENT_METHODS METHOD;
|
|
// public EVENT_STATUS_ENUM STATUS;
|
|
// }
|
|
|
|
public struct STRUCT_EVENT_OS_DEAL_CARD // 系统发牌
|
|
{
|
|
public EVENT_METHODS METHOD;
|
|
public int HAND_CARD_COUNT; // 手牌数量
|
|
public int DECK_CARD_COUNT; // 牌堆数量
|
|
public float DURATION; // 动画时长
|
|
}
|
|
|
|
|
|
// ************** 卡牌数据结构 ****************
|
|
public struct STRUCT_EVENT_CARD_DRAW_CARD // 抽卡
|
|
{
|
|
public EVENT_METHODS METHOD;
|
|
public int ID;
|
|
public Vector3 POSITION;
|
|
public Quaternion ROTATION;
|
|
public Vector3 SCALE;
|
|
public int LAYER_SORT_ORDER;
|
|
public float DURATION;
|
|
}
|
|
|
|
public struct STRUCT_EVENT_CARD_DROP_CARD // 弃牌
|
|
{
|
|
public EVENT_METHODS METHOD;
|
|
public int ID;
|
|
public Vector3 POSITION;
|
|
public float DURATION;
|
|
}
|
|
} |