using Gameplay.Net;
using PhxhSDK;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gameplay.FirstTimeFlow
{
///
/// 新号强制流程管理器
///
public sealed class FirstTimeFlowManager : Singlenton, IInitable
{
///
/// 强制流程步骤链表
///
private LinkedList linkStep;
///
/// 当前步骤索引
///
private int curIndex;
public void Init()
{
curIndex = 0;
linkStep = new LinkedList();
}
public void Release()
{
}
///
/// 开始强制流程
///
public void StartFirstTimeFlow()
{
int severFlowId = (int)Actor.Instance.Logic.GetCount((uint)NLDPB.LogicID.NoviceProcessId); // 服务器所在强制引导步骤id
if (severFlowId < (int)E_FirstTimeFlow.StarVideo)
linkStep.AddLast(PlayVideoStep.Create(""));
if (severFlowId < (int)E_FirstTimeFlow.StoryLevel_1)
linkStep.AddLast(PlayVideoStep.Create(""));
}
}
}