static int get_DestoryDelegate(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); UITimeDestory obj = (UITimeDestory)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name DestoryDelegate"); } else { LuaDLL.luaL_error(L, "attempt to index DestoryDelegate on a nil value"); } } LuaScriptMgr.Push(L, obj.DestoryDelegate); return(1); }
static int set_Time(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); UITimeDestory obj = (UITimeDestory)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name Time"); } else { LuaDLL.luaL_error(L, "attempt to index Time on a nil value"); } } obj.Time = (float)LuaScriptMgr.GetNumber(L, 3); return(0); }
static int set_DestoryDelegate(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); UITimeDestory obj = (UITimeDestory)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name DestoryDelegate"); } else { LuaDLL.luaL_error(L, "attempt to index DestoryDelegate on a nil value"); } } obj.DestoryDelegate = LuaScriptMgr.GetNetObject <UtilCommon.VoidDelegate>(L, 3); return(0); }