From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs | 95 ++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/IUiUtility.cs') 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 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); + } +} -- cgit v1.1-26-g67d0