summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs')
-rw-r--r--Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs95
1 files changed, 95 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs b/Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs
new file mode 100644
index 00000000..ee5bd618
--- /dev/null
+++ b/Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs
@@ -0,0 +1,95 @@
+using System;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace XUtliPoolLib
+{
+ public interface IUiUtility : IXInterface
+ {
+ void ShowSystemTip(string text, string rgb = "fece00");
+
+ void ShowSystemTip(int errcode, string rgb = "fece00");
+
+ void ShowItemAccess(int itemid, AccessCallback callback = null);
+
+ void ShowTooltipDialog(int itemID, GameObject icon = null);
+
+ void ShowDetailTooltip(int itemID, GameObject icon = null);
+
+ void ShowTooltipDialogByUID(string strUID, GameObject icon = null);
+
+ void ShowPressToolTips(bool pressed, string content, Vector3 pos, Vector3 offset);
+
+ string GlobalConfigGetValue(string cfgName);
+
+ void OnPayCallback(string msg);
+
+ void OnQQVipPayCallback(string msg);
+
+ void OnReplayStart();
+
+ void PushBarrage(string nick, string content);
+
+ void StartBroadcast(bool start);
+
+ void OnGameCenterWakeUp(int type);
+
+ void OnPayMarketingInfo(List<PayMarketingInfo> listInfo);
+
+ void OnGetPlatFriendsInfo();
+
+ void SerialHandle3DTouch(string msg);
+
+ void SerialHandleScreenLock(string msg);
+
+ string GetPartitionId();
+
+ string GetRoleId();
+
+ void OnSetBg(bool on);
+
+ void OnSetWebViewMenu(int menutype);
+
+ void OnWebViewBackGame(int backtype);
+
+ void OnWebViewRefershRefPoint(string jsonstr);
+
+ void OnWebViewSetheaderInfo(string jsonstr);
+
+ void OnWebViewCloseLoading(int show);
+
+ void OnWebViewShowReconnect(int show);
+
+ void OnWebViewClose();
+
+ void OnWebViewLiveTab();
+
+ void ShowPandoraPopView(bool bShow);
+
+ void NoticeShareResult(string result, ShareCallBackType type);
+
+ bool CheckQQInstalled();
+
+ bool CheckWXInstalled();
+
+ void OpenUrl(string url, bool landscape);
+
+ void UpdatePandoraSDKRedPoint(int pandoraSysID, bool showRedPoint, string module);
+
+ void AttachPandoraSDKRedPoint(int sysID, string module);
+
+ void ResetAllPopPLParent();
+
+ void SDKPandoraBuyGoods(string json);
+
+ void ShareToWXFriendBackEnd(string openID, string title, string desc, string tag);
+
+ void ShareToQQFreindBackEnd(string openID, string title, string desc, string tag, string targetUrl, string imageUrl, string previewText);
+
+ void PandoraPicShare(string accountType, string scene, string objPath);
+
+ void OnWXGroupResult(string apiId, string result, int error, WXGroupCallBackType type);
+
+ void RefreshWXGroupBtn(WXGroupCallBackType type);
+ }
+}