static int HasCommand(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Controller obj = (Controller)ToLua.CheckObject <Controller>(L, 1); string arg0 = ToLua.CheckString(L, 2); bool o = obj.HasCommand(arg0); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public bool HasCommand(NotifyDefine notiid) { return(m_controller.HasCommand(notiid)); }
/// <summary> /// Check if a Command is registered for a given Notification /// </summary> /// <param name="notificationName"></param> /// <returns>whether a Command is currently registered for the given <c>notificationName</c>.</returns> public virtual bool HasCommand(string notificationName) { return(Controller.HasCommand(notificationName)); }
public bool HasCommand <T>(string name) where T : ICommand { return(Controller.HasCommand <T>(name)); }
public bool HasCommand(IEvent evt) { return(Controller.HasCommand(evt)); }
public bool HasCommand(string notificationName) { return(_controller.HasCommand(notificationName)); }