static int Get(IntPtr L) { try { LuaProperty obj = (LuaProperty)ToLua.CheckObject <LuaProperty>(L, 1); return(obj.Get(L)); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Set(IntPtr L) { try { LuaProperty obj = (LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaProperty)); return(obj.Set(L)); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int Set(IntPtr L) { int result; try { LuaProperty luaProperty = (LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaProperty)); result = luaProperty.Set(L); } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }