diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs | 45 |
1 files changed, 45 insertions, 0 deletions
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);
+ }
+}
|