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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
| using UnityEngine;
|
| [XLua.Hotfix]
| public class StatefullTest {
| public StatefullTest()
| {
|
| }
|
| public StatefullTest(int a, int b)
| {
| if (a > 0)
| {
| return;
| }
|
| Debug.Log("a=" + a);
| if (b > 0)
| {
| return;
| }
| else
| {
| if (a + b > 0)
| {
| return;
| }
| }
| Debug.Log("b=" + b);
| }
|
| public int AProp
| {
| get;
| set;
| }
|
| public event System.Action<int, double> AEvent;
|
| public int this[string field]
| {
| get
| {
| return 1;
| }
| set
| {
| }
| }
|
| public void Start () {
|
| }
|
| void Update () {
|
| }
|
| public void GenericTest<T>(T a)
| {
|
| }
|
| static public void StaticFunc(int a, int b)
| {
| }
| static public void StaticFunc(string a, int b, int c)
| {
| }
|
| ~StatefullTest()
| {
| Debug.Log("~StatefullTest");
| }
| }
|
|