using GameFramework;
using GameFramework.Event;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace MetaClient
{
///
/// 自定义角色面部事件
///
public class CustomRoleBodyEventArgs : GameEventArgs
{
///
/// 打开界面成功事件编号。
///
public static readonly int EventId = typeof(CustomRoleBodyEventArgs).GetHashCode();
///
/// 获取打开界面成功事件编号。
///
public override int Id
{
get
{
return EventId;
}
}
public ECustomStyple Type { get; set; }
public int Part { get; set; }
public Vector3 ChangeValue { get; set; }
public static CustomRoleBodyEventArgs Create(ECustomStyple type,int part, Vector3 value)
{
CustomRoleBodyEventArgs customRoleFaceEvent = ReferencePool.Acquire();
customRoleFaceEvent.Type = type;
customRoleFaceEvent.Part = part;
customRoleFaceEvent.ChangeValue = value;
return customRoleFaceEvent;
}
public override void Clear()
{
}
}
}