2024-06-26 17:20:52 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using Gameplay;
|
|
|
|
|
|
using Gameplay.Character;
|
2024-06-27 13:35:52 +08:00
|
|
|
|
using Gameplay.Guide;
|
2024-06-26 17:20:52 +08:00
|
|
|
|
using Gameplay.Level;
|
|
|
|
|
|
using Gameplay.Net;
|
|
|
|
|
|
using Gameplay.SubSystems;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
public partial class SROptions
|
|
|
|
|
|
{
|
|
|
|
|
|
private int guideGroupId = 0;
|
|
|
|
|
|
|
2024-08-27 13:34:16 +08:00
|
|
|
|
[Category("新手引导"), DisplayName("引导步骤id")]
|
|
|
|
|
|
public int GuideId
|
2024-06-26 17:20:52 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
get { return guideGroupId; }
|
|
|
|
|
|
|
|
|
|
|
|
set { guideGroupId = value; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-08-27 13:34:16 +08:00
|
|
|
|
[Category("新手引导"), DisplayName("设置完成的引导步骤id")]
|
2024-06-26 17:20:52 +08:00
|
|
|
|
public void SaveGuide()
|
|
|
|
|
|
{
|
2024-08-27 13:34:16 +08:00
|
|
|
|
NetHelper.SaveGuideProgress((uint)GuideId);
|
2024-06-26 17:20:52 +08:00
|
|
|
|
}
|
2024-06-27 13:35:52 +08:00
|
|
|
|
|
2024-08-27 13:34:16 +08:00
|
|
|
|
[Category("新手引导"), DisplayName("跳过所有引导")]
|
2024-06-27 13:35:52 +08:00
|
|
|
|
public void SkipGuide()
|
|
|
|
|
|
{
|
|
|
|
|
|
if (GuideManager.Instance.IsGuiding)
|
2024-10-21 15:41:57 +08:00
|
|
|
|
GuideManager.Instance.SkipAllGuide(true);
|
2024-06-27 13:35:52 +08:00
|
|
|
|
}
|
2024-06-26 17:20:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|