static public int QueueAction(IntPtr l) { try { GameFramework.PluginFramework self = (GameFramework.PluginFramework)checkSelf(l); GameFramework.MyAction a1; LuaDelegation.checkDelegate(l, 2, out a1); self.QueueAction(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }