summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/ILuaExtion.cs
blob: 6fdffedca8332b1dbe47b1e6e5e80eabc88a6ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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);
	}
}