From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XUtliPoolLib/IHotfixManager.cs | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/IHotfixManager.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/IHotfixManager.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/IHotfixManager.cs b/Client/Assets/Scripts/XUtliPoolLib/IHotfixManager.cs new file mode 100644 index 00000000..5abe8eff --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/IHotfixManager.cs @@ -0,0 +1,40 @@ +using System; +using UnityEngine; + +namespace XUtliPoolLib +{ + public interface IHotfixManager + { + void Dispose(); + + bool DoLuaFile(string name); + + void TryFixMsglist(); + + bool TryFixClick(HotfixMode _mode, string _path); + + bool TryFixRefresh(HotfixMode _mode, string _pageName, GameObject go); + + bool TryFixHandler(HotfixMode _mode, string _handlerName, GameObject go); + + void RegistedPtc(uint _type, byte[] body, int length); + + void ProcessOveride(uint _type, byte[] body, int length); + + void OnLeaveScene(); + + void OnEnterScene(); + + void OnEnterSceneFinally(); + + void OnAttachToHost(); + + void OnReconnect(); + + void OnDetachFromHost(); + + void CallLuaFunc(string className, string funcName); + + void OnPayCallback(string result, string paramID); + } +} -- cgit v1.1-26-g67d0