Esempio n. 1
0
 public void Sub(HasConstructStructReflect invar, ref HasConstructStructReflect refvar, out HasConstructStructReflect outvar)
 {
     outvar   = invar;
     outvar.x = invar.x - refvar.x;
     refvar.x = invar.x;
     LuaTestCommon.Log("refvar.x:" + refvar.x + ",refvar.y:" + refvar.y + ", refvar.z:" + refvar.z);
 }
Esempio n. 2
0
 public void Add(HasConstructStructReflect invar, ref HasConstructStructReflect refvar, out HasConstructStructReflect outvar)
 {
     outvar   = invar;
     outvar.x = invar.x + refvar.x;
     refvar.x = invar.x;
 }
Esempio n. 3
0
 public BClassReflect(int x, int y, string z) : base(x, y, z)
 {
     b_struct = new HasConstructStructReflect(x, y, z);
 }
Esempio n. 4
0
 public CClassReflect(int x, int y, string z)
 {
     c_struct = new HasConstructStructReflect(x, y, z);
 }