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

This commit is contained in:
gamer147
2026-07-03 22:00:30 -04:00
parent 6cf95bcfd6
commit e9b112d083
52 changed files with 6 additions and 2562 deletions

View File

@@ -58,36 +58,6 @@ public class WebViewHelper
_OpenWebView(WebViewType.ANNOUNCE, null, null, 0, 0, announceId, "", null, null, onDialogOpening);
}
public void OpenWebViewDirectly(string openUrl, bool isLimited = false)
{
string directOpenUrl = CustomPreference.GetApplicationServerURL() + openUrl + GetWebviewBaseQueryParameters();
if (isLimited)
{
_OpenWebView(WebViewType.LIMITED_INFO, null, null, 0, 0, null, directOpenUrl);
}
else
{
_OpenWebView(WebViewType.INFO, null, null, 0, 0, null, directOpenUrl);
}
}
public void OpenWebviewWithPageId(string pageId, bool isLimited = false)
{
string text = CustomPreference.GetApplicationServerURL() + "webview2/index#/info_detail" + GetWebviewBaseQueryParameters();
if (!string.IsNullOrEmpty(pageId))
{
text = text + "&id=" + pageId;
}
if (isLimited)
{
_OpenWebView(WebViewType.LIMITED_INFO, null, null, 0, 0, null, text);
}
else
{
_OpenWebView(WebViewType.INFO, null, null, 0, 0, null, text);
}
}
private void _OpenWebView(WebViewType webviewtype, ActionWebviewOpen cbWebviewOpen = null, Action cbWebviewClose = null, int ratePackId = 0, int packCategory = 0, string announceId = null, string directOpenUrl = "", Action onButton1 = null, Action onCancel = null, Action<DialogBase> onDialogOpening = null)
{
VideoHostingUtil.CheckVideoHostingAndExecAction(delegate