cull(engine-cleanup): pass-8 phase-2 cascade round 3 after MyPageItemHome stub

This commit is contained in:
gamer147
2026-07-03 22:01:31 -04:00
parent e9b112d083
commit 17b436d33d
19 changed files with 1 additions and 393 deletions

View File

@@ -1,50 +0,0 @@
namespace Wizard;
public class AcceptAgreementTask : BaseTask
{
private class Param : BaseParam
{
}
public enum Type
{
TOS = 1,
PrivacyPolicy,
KorAuthority
}
private Type _agreedType;
public static int _tosId;
public static int _privacyPolicyId;
public static int KorAuthorityId;
public AcceptAgreementTask()
{
base.type = ApiType.Type.AcceptAgreement;
}
protected override int Parse()
{
int num = base.Parse();
if (num != 1)
{
return num;
}
switch (_agreedType)
{
case Type.TOS:
PlayerStaticData._tosAgreementState = PlayerStaticData.AgreementState.Agreed;
break;
case Type.PrivacyPolicy:
PlayerStaticData._privacyPolicyAgreementState = PlayerStaticData.AgreementState.Agreed;
break;
case Type.KorAuthority:
PlayerStaticData.KorAuthorityAgreementState = PlayerStaticData.AgreementState.Agreed;
break;
}
return num;
}
}

View File

@@ -1,55 +0,0 @@
using System;
using Cute;
using UnityEngine;
using Wizard.Dialog.Setting;
namespace Wizard;
public class AccountBase : MonoBehaviour
{
public enum DisplayType
{
NONE}
public enum TransitionOriginalScreen
{
}
[SerializeField]
private UIButton _appleButton;
[SerializeField]
private UIGrid ButtonGrid;
[SerializeField]
public NguiObjs BtnTransferCode;
[SerializeField]
public NguiObjs BtnGoogle;
[SerializeField]
public NguiObjs ButtonGetCode;
[SerializeField]
public UILabel CommonLabelTop;
[SerializeField]
public UILabel CommonLabelBtm;
private void Awake()
{
SetLabels();
BtnGoogle.gameObject.SetActive(value: false);
_appleButton.gameObject.SetActive(value: false);
ButtonGrid.repositionNow = true;
}
private void SetLabels()
{
SystemText systemText = Data.SystemText;
BtnTransferCode.labels[0].text = systemText.Get("Account_0094");
ButtonGetCode.labels[0].text = (GameStartCheckTask.IsSetTransitionPassword ? systemText.Get("Account_0100") : systemText.Get("Account_0099"));
CommonLabelTop.text = systemText.Get("Account_0095");
CommonLabelBtm.text = systemText.Get("Account_0073");
}
}

View File

@@ -45,8 +45,6 @@ public class Footer : UIBase
public UIButton[] _underButtons => underButtons;
public GameObject _footerMenuObj => m_footerMenuObj;
public int CurrentIndex { get; private set; }
private void Awake()

View File

@@ -21,8 +21,6 @@ public class Master
private List<BattleInformation> _roomChaosBattleInfo;
private List<BattleInformation> _colosseumChaosBattleInfo;
private List<List<BattleInformation>> _chaosBattleInfoList;
private Dictionary<int, List<int>> _classInfomationOrder;

View File

@@ -206,7 +206,6 @@ public class PlayerStaticData : MonoBehaviour
public enum AgreementState
{
Agreed,
NotAgree,
Reset
}

View File

@@ -1,43 +0,0 @@
using System;
using LitJson;
namespace Wizard;
public class SpeedChallengeInfo
{
public DateTime Begin { get; private set; }
public DateTime ApplyEnd { get; private set; }
public DateTime Announce { get; private set; }
public DateTime End { get; private set; }
public string Message { get; private set; }
public string ApplyUrl { get; private set; }
public SpeedChallengeInfo(JsonData data)
{
Parse(data);
}
private void Parse(JsonData data)
{
if (data.TryGetValue("schedule", out var value))
{
Begin = DateTime.Parse(value["begin_time"].ToString());
ApplyEnd = DateTime.Parse(value["apply_end_time"].ToString());
Announce = DateTime.Parse(value["announce_time"].ToString());
End = DateTime.Parse(value["end_time"].ToString());
}
if (data.TryGetValue("dialog_message", out var value2))
{
Message = value2.ToString().Replace("\\n", "\n");
}
if (data.TryGetValue("apply_url", out var value3))
{
ApplyUrl = value3.ToString();
}
}
}

View File

@@ -79,14 +79,6 @@ public class WebViewHelper
});
}
private string GetWebviewBaseQueryParameters()
{
string encodedViewerId = Certification.GetEncodedViewerId();
string encodedSessionId = Certification.GetEncodedSessionId();
string encodedShortUdid = Certification.GetEncodedShortUdid();
return "?lang=" + CustomPreference.GetTextLanguage() + "&HASH_ID=" + encodedViewerId + "&SID=" + encodedSessionId + "&SUDID=" + encodedShortUdid;
}
private string GetWebViewDialogTitleId(WebViewType webviewtype)
{
string result = null;