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

This commit is contained in:
gamer147
2026-07-03 21:59:29 -04:00
parent d89e7d9634
commit 6cf95bcfd6
20 changed files with 0 additions and 585 deletions

View File

@@ -25,8 +25,6 @@ public abstract class MyPageBannerBase : MonoBehaviour
public bool NeedBadge;
public GameObject BannerGameObject { get; set; }
public override bool Equals(object obj)
{
if (obj == null || GetType() != obj.GetType())
@@ -53,9 +51,6 @@ public abstract class MyPageBannerBase : MonoBehaviour
[SerializeField]
private GameObject _deckIntroductionPrefab;
[SerializeField]
protected GameObject _bannerImagePrefab;
protected List<BannerInfo> _bannerList;
private List<string> _loadAssetList;
@@ -84,15 +79,6 @@ public abstract class MyPageBannerBase : MonoBehaviour
protected abstract IEnumerator CreateBannerImage();
public void CreateMyPageBanner()
{
if (!_isCreate)
{
_createCoroutine = UIManager.GetInstance().StartCoroutine(CreateBanner());
_isCreate = true;
}
}
private IEnumerator CreateBanner()
{
yield return CreateBannerImage();
@@ -104,14 +90,6 @@ public abstract class MyPageBannerBase : MonoBehaviour
}
}
public void Show()
{
if (!_isFirstTips)
{
base.gameObject.SetActive(value: true);
}
}
public void SetActive(bool inActive)
{
_isActive = inActive;
@@ -134,21 +112,6 @@ public abstract class MyPageBannerBase : MonoBehaviour
}
}
protected IEnumerator LoadBannerImage()
{
if (IsEnableBanner)
{
_loadAssetList = new List<string>();
List<string> loadImagePath = new List<string>();
for (int i = 0; i < _bannerList.Count; i++)
{
loadImagePath.Add(Toolbox.ResourcesManager.GetAssetTypePath(_bannerList[i].ImageName, ResourcesManager.AssetLoadPathType.UiDownLoad));
}
yield return UIManager.GetInstance().StartCoroutine(Toolbox.ResourcesManager.LoadAssetGroupAsync(loadImagePath, null));
_loadAssetList.AddRange(loadImagePath);
}
}
public static void SceneChangeBySetting(string click, string status)
{
switch (click)
@@ -261,50 +224,6 @@ public abstract class MyPageBannerBase : MonoBehaviour
};
}
protected void InitializeEventHandler(GameObject go, BannerInfo bannerInfo)
{
UITexture component = go.GetComponent<UITexture>();
component.mainTexture = Toolbox.ResourcesManager.LoadObject<Texture>(Toolbox.ResourcesManager.GetAssetTypePath(bannerInfo.ImageName, ResourcesManager.AssetLoadPathType.UiDownLoad, isfetch: true));
component.depth = 5;
_ = Data.SystemText;
string click = bannerInfo.Click;
if (click == "dialog_info")
{
UIEventListener.Get(go).onClick = delegate
{
OnClickDialogInfo(bannerInfo);
};
}
else if (click == "dialog")
{
UIEventListener.Get(go).onClick = delegate
{
OnClickDialog(bannerInfo);
};
}
else if (click == "deck_intro_rotation")
{
UIEventListener.Get(go).onClick = delegate
{
OnClickDeckIntroduction(bannerInfo.Status, Format.Rotation);
};
}
else if (click == "deck_intro_unlimited")
{
UIEventListener.Get(go).onClick = delegate
{
OnClickDeckIntroduction(bannerInfo.Status, Format.Unlimited);
};
}
else
{
UIEventListener.Get(go).onClick = delegate
{
SceneChangeBySetting(click, bannerInfo.Status);
};
}
}
private static void HandleSpeedChallenge(string kind, string status)
{
SystemText systemText = Data.SystemText;