static public int constructor(IntPtr l) { try { UEventDispatcher o; o = new UEventDispatcher(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
public static int constructor(IntPtr l) { try { UEventDispatcher o; o=new UEventDispatcher(); pushValue(l,true); pushValue(l,o); return 2; } catch(Exception e) { return error(l,e); } }
static public int hasListener(IntPtr l) { try { UEventDispatcher self = (UEventDispatcher)checkSelf(l); System.String a1; checkType(l, 2, out a1); var ret = self.hasListener(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int dispatchEvent(IntPtr l) { try { UEventDispatcher self = (UEventDispatcher)checkSelf(l); UEvent a1; checkType(l, 2, out a1); System.Object a2; checkType(l, 3, out a2); self.dispatchEvent(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int removeEventListener(IntPtr l) { try { UEventDispatcher self = (UEventDispatcher)checkSelf(l); System.String a1; checkType(l, 2, out a1); UEventListener.EventListenerDelegate a2; LuaDelegation.checkDelegate(l, 3, out a2); self.removeEventListener(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
// Unity Methods ------------------------------- protected void OnEnable() { _uEventDispatcher = new UEvents.UEventDispatcher.UEventDispatcher(); }