static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); StrQueue o; if (argc == 1) { o = new StrQueue(); pushValue(l, true); pushValue(l, o); return(2); } else if (argc == 2) { System.Collections.Generic.IEnumerable <System.String> a1; checkType(l, 2, out a1); o = new StrQueue(a1); pushValue(l, true); pushValue(l, o); return(2); } return(error(l, "New object failed.")); } catch (Exception e) { return(error(l, e)); } }
static public int Clear(IntPtr l) { try { StrQueue self = (StrQueue)checkSelf(l); self.Clear(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_Count(IntPtr l) { try { StrQueue self = (StrQueue)checkSelf(l); pushValue(l, true); pushValue(l, self.Count); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Peek(IntPtr l) { try { StrQueue self = (StrQueue)checkSelf(l); var ret = self.Peek(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Enqueue(IntPtr l) { try { StrQueue self = (StrQueue)checkSelf(l); System.String a1; checkType(l, 2, out a1); self.Enqueue(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int Contains(IntPtr l) { try { StrQueue self = (StrQueue)checkSelf(l); System.String a1; checkType(l, 2, out a1); var ret = self.Contains(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }