42 lines
910 B
C#
42 lines
910 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using Gameplay;
|
|
using Gameplay.Character;
|
|
using Gameplay.Guide;
|
|
using Gameplay.Level;
|
|
using Gameplay.Net;
|
|
using Gameplay.SubSystems;
|
|
using UnityEngine;
|
|
|
|
public partial class SROptions
|
|
{
|
|
private int guideGroupId = 0;
|
|
|
|
[Category("新手引导"), DisplayName("引导组id")]
|
|
public int GuideGroupId
|
|
{
|
|
|
|
get { return guideGroupId; }
|
|
|
|
set { guideGroupId = value; }
|
|
|
|
}
|
|
|
|
[Category("新手引导"), DisplayName("设置完成的引导组id")]
|
|
public void SaveGuide()
|
|
{
|
|
NetHelper.SaveGuideProgress((uint)GuideGroupId);
|
|
}
|
|
|
|
[Category("新手引导"), DisplayName("跳过引导")]
|
|
public void SkipGuide()
|
|
{
|
|
if (GuideManager.Instance.IsGuiding)
|
|
{
|
|
NetHelper.SaveGuideProgress(int.MaxValue);
|
|
GuideManager.Instance.EndGuide(true);
|
|
}
|
|
}
|
|
}
|
|
|