static int Set(IntPtr L)
 {
     try
     {
         LuaInterface.LuaProperty obj = (LuaInterface.LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaInterface.LuaProperty));
         return(obj.Set(L));
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #2
0
 static void PushLuaProperty(IntPtr L, PropertyInfo p, Type t)
 {
     if (p != null)
     {
         LuaProperty lp = new LuaProperty(p, t);
         ToLua.PushSealed(L, lp);
     }
     else
     {
         LuaDLL.lua_pushnil(L);
     }
 }
예제 #3
0
 private static void PushLuaProperty(IntPtr L, PropertyInfo p, Type t)
 {
     if (p != null)
     {
         LuaProperty o = new LuaProperty(p, t);
         ToLua.PushObject(L, o);
     }
     else
     {
         LuaDLL.lua_pushnil(L);
     }
 }
 static void PushLuaProperty(IntPtr L, PropertyInfo p, Type t)
 {
     if (p != null)
     {
         LuaProperty lp = new LuaProperty(p, t);
         ToLua.PushObject(L, lp);
     }
     else
     {
         LuaDLL.lua_pushnil(L);
     }
 }