2025-05-18 01:04:31 +08:00

121 lines
4.5 KiB
C#

// ***********************************************************************
// Assembly : Unity
// Author : Kimch
// Created : 2018-2-29
// Description : 游戏角色逻辑类
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "EntityCha" company=""></copyright>
// <summary></summary>
// ***********************************************************************
using System.Collections.Generic;
using UnityEngine;
namespace G
{
public enum enStat
{
STAT_NONE = -1,
STAT_ACTION = 0,
STAT_ACTION_IDLE = 1,
STAT_ACTION_MOVE = 2,
STAT_ACTION_ATK = 3,
STAT_ACTION_DODGE = 4,
STAT_ACTION_SPRINT = 5,
STAT_ACTION_SUPERSPRINT = 6,
STAT_ACTION_BORN = 7,
STAT_ACTION_DEAD = 8,
STAT_ACTION_HIT = 9,
STAT_ACTION_SHIELD = 10,
STAT_ACTION_RUN_AWAY = 11,
STAT_ACTION_FOLLOW = 12,
STAT_ACTION_CHARM = 13,
STAT_ACTION_CHACKLES = 14,
STAT_ACTION_AVATAR = 15,
STAT_ACTION_REVIVE = 16,
STAT_ACTION_ANGER = 17,
STAT_ACTION_ATK_MOVE = 18,
STAT_ACTION_XULI_HIT = 19,
STAT_ACTION_COMMONANI = 20,
STAT_ACTION_GRABATK = 21,
STAT_ACTION_DASHATTACK = 22,
STAT_ACTION_ZHAOYUNER_AVATAR = 23,
STAT_ACTION_GRABED = 24,
STAT_ACTION_WALK = 25,
STAT_ACTION_SHOCK = 26,
STAT_ACTION_FREEZE = 27,
STAT_ACTION_DARKEN = 28,
STAT_ACTION_SKILL = 50,
STAT_ACTION_JUMP_SKILL = 51,
STAT_ACTION_WHEEL_SKILL = 52,
STAT_ACTION_ROLL_SKILL = 53,
STAT_ACTION_SPURT_SKILL = 54,
STAT_ACTION_ZHANGFEI2_SKILL = 55,
STAT_ACTION_LVBU3_SKILL = 56,
STAT_ACTION_DIANWEI3_SKILL = 57,
STAT_ACTION_XULI_SKILL = 58,
STAT_ACTION_GENERAL_CAST = 59,
STAT_ACTION_SKILL_MAX = 80,
STAT_ACTION_MAX = 99,
STAT_CONTROL = 100,
STAT_CONTROL_AI = 101,
STAT_CONTROL_USER = 102,
STAT_CONTROL_CUTSCENES = 103,
STAT_CONTROL_MAX = 199
}
/// <summary>
/// 角色类
/// </summary>
public partial class EntityCha
{
#region AnimatorHash
public readonly static int Hash_Idle = Animator.StringToHash("idle");
public readonly static int Hash_Move = Animator.StringToHash("move");
public readonly static int Hash_Down = Animator.StringToHash("down");
public readonly static int Hash_Down_High = Animator.StringToHash("down_high");
public readonly static int Hash_Trans = Animator.StringToHash("trans");
public readonly static int Hash_Attack = Animator.StringToHash("attack");
public readonly static int Hash_Attack_I = Animator.StringToHash("attack_i");
public readonly static int Hash_Attack1 = Animator.StringToHash("attack1");
public readonly static int Hash_Attack1_I = Animator.StringToHash("attack1_i");
public readonly static int Hash_Attack2 = Animator.StringToHash("attack2");
public readonly static int Hash_Attack2_I = Animator.StringToHash("attack2_i");
public readonly static int Hash_Attack3 = Animator.StringToHash("attack3");
public readonly static int Hash_Attack3_I = Animator.StringToHash("attack3_i");
public readonly static int Hash_Begrab = Animator.StringToHash("begrab");
public readonly static int Hash_Begrab1 = Animator.StringToHash("begrab1");
public readonly static int Hash_Begrab2 = Animator.StringToHash("begrab2");
public readonly static int Hash_Begrab3 = Animator.StringToHash("begrab3");
public readonly static int Hash_Begrab4 = Animator.StringToHash("begrab4");
public readonly static int Hash_Begrab5 = Animator.StringToHash("begrab5");
public readonly static int Hash_Bethrust = Animator.StringToHash("bethrust");
public readonly static int Hash_Bekicked = Animator.StringToHash("bekicked");
public readonly static int Hash_Getup = Animator.StringToHash("getup");
public readonly static int Hash_Pierced = Animator.StringToHash("pierced");
public readonly static int Hash_Summon = Animator.StringToHash("summon");
public readonly static int Hash_Speed_Idle = Animator.StringToHash("speed_idle");
public readonly static int Hash_Speed_Move = Animator.StringToHash("speed_move");
public readonly static int Hash_Speed_Attack1 = Animator.StringToHash("speed_attack1");
public readonly static int Hash_Speed_Attack1_I = Animator.StringToHash("speed_attack1_i");
public readonly static int Hash_Speed_Attack2 = Animator.StringToHash("speed_attack2");
public readonly static int Hash_Speed_Attack2_I = Animator.StringToHash("speed_attack2_i");
public readonly static int Hash_Speed_Attack3 = Animator.StringToHash("speed_attack3");
public readonly static int Hash_Speed_Attack3_I = Animator.StringToHash("speed_attack3_i");
#endregion
}
}