summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs')
-rw-r--r--Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs45
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);
+ }
+}