32 lines
742 B
C#
32 lines
742 B
C#
using Gameplay.Net;
|
|
using PhxhSDK;
|
|
|
|
namespace Gameplay.HeroSelect
|
|
{
|
|
/// <summary>
|
|
/// 角色选择管理器
|
|
/// </summary>
|
|
public sealed class HeroSelectManager : Singlenton<HeroSelectManager>
|
|
{
|
|
/// <summary>
|
|
/// 角色形象1id
|
|
/// </summary>
|
|
public const int HERO_ID_1 = 1;
|
|
/// <summary>
|
|
/// 角色形象2id
|
|
/// </summary>
|
|
public const int HERO_ID_2 = 1;
|
|
|
|
/// <summary>
|
|
/// 是否选择过角色
|
|
/// </summary>
|
|
public bool IsChangeHero
|
|
{
|
|
get
|
|
{
|
|
uint index = Actor.Instance.Base.GetProp(NLDPB.ActorProp.Avatar);
|
|
return 0 != index;
|
|
}
|
|
}
|
|
}
|
|
} |