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/IPlatform.cs | 106 ++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/IPlatform.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/IPlatform.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/IPlatform.cs b/Client/Assets/Scripts/XUtliPoolLib/IPlatform.cs new file mode 100644 index 00000000..b7e5d6ca --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/IPlatform.cs @@ -0,0 +1,106 @@ +using System; +using UnityEngine; + +namespace XUtliPoolLib +{ + public interface IPlatform : IXInterface + { + XPlatformType Platfrom(); + + bool IsEdior(); + + void SetNoBackupFlag(string fullpath); + + void OnPlatformLogin(); + + void OnQQLogin(); + + void OnWeChatLogin(); + + void OnGuestLogin(); + + void LogOut(); + + void ResgiterSDONotification(uint serverid, string rolename); + + string GetPFToken(); + + string GetVersionServer(); + + string GetHostUrl(); + + string GetLoginServer(string loginType); + + bool IsPublish(); + + bool IsTestMode(); + + void SendGameExData(string type, string json); + + void SetPushStatus(bool status); + + string GetHostWithHttpDns(string url); + + bool CheckStatus(string type, string json); + + string GetSDKConfig(string type, string json); + + bool CheckWeChatInstalled(); + + string GetChannelID(); + + string GetBatteryLevel(); + + void SendUserInfo(uint serverID, ulong roleID); + + int GetQualityLevel(); + + void MarkLoadlevel(string scene_name); + + void InitApm(); + + void MarkLoadlevelCompleted(); + + void MarkLevelEnd(); + + void SetApmUserID(string userID); + + void SetScreenLightness(int percentage); + + void ResetScreenLightness(); + + object CreateClass(EClassType type); + + void ReturnClass(EClassType type, object obj); + + void ClearClass(); + + string GetPayBill(); + + void Pay(int price, string orderID, string paramID, ulong role, uint serverID); + + void SendExtDara(string key, string param); + + void CreateWXGroup(string param); + + void JoinWXGroup(string param); + + void ShareWithWXGroup(string param); + + void QueryWXGroup(string param); + + string GetMD5(string plainText); + + string UserMd5(string str); + + int GetDensity(); + + string GetSim(); + + Component AddComponent(GameObject go, EComponentType type); + + void ReloadFMOD(); + + INativePlugin GetNativePlugin(); + } +} -- cgit v1.1-26-g67d0