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/ILuaExtion.cs | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs b/Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs new file mode 100644 index 00000000..6fdffedc --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs @@ -0,0 +1,45 @@ +using System; + +namespace XUtliPoolLib +{ + public interface ILuaExtion : IXInterface + { + void SetPlayerProprerty(string key, object value); + + object GetPlayeProprerty(string key); + + object CallPlayerMethod(bool isPublic, string method, params object[] args); + + object GetDocument(string doc); + + object GetDocumentMember(string doc, string key, bool isPublic, bool isField); + + object GetDocumentStaticMember(string doc, string key, bool isPublic, bool isField); + + void SetDocumentMember(string doc, string key, object value, bool isPublic, bool isField); + + object CallDocumentMethod(string doc, bool isPublic, string method, params object[] args); + + object CallDocumentStaticMethod(string doc, bool isPublic, string method, params object[] args); + + object GetSingle(string className); + + object GetSingleMember(string className, string key, bool isPublic, bool isField, bool isStatic); + + void SetSingleMember(string className, string key, object value, bool isPublic, bool isField, bool isStatic); + + object CallSingleMethod(string className, bool isPublic, bool isStatic, string methodName, params object[] args); + + void RefreshPlayerName(); + + Type GetType(string classname); + + object GetEnumType(string classname, string value); + + string GetStringTable(string key, params object[] args); + + string GetGlobalString(string key); + + XLuaLong Get(string str); + } +} -- cgit v1.1-26-g67d0