static int SetPlayerEnd(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); GameFramework.VideoPlayerEvent obj = (GameFramework.VideoPlayerEvent)ToLua.CheckObject <GameFramework.VideoPlayerEvent>(L, 1); System.Action arg0 = (System.Action)ToLua.CheckDelegate <System.Action>(L, 2); obj.SetPlayerEnd(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_IsPlayEnd(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.VideoPlayerEvent obj = (GameFramework.VideoPlayerEvent)o; bool ret = obj.IsPlayEnd; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index IsPlayEnd on a nil value")); } }