static public int RemoveData(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 2) { GameFramework.TypedDataCollection self = (GameFramework.TypedDataCollection)checkSelf(l); System.Type a1; checkType(l, 2, out a1); self.RemoveData(a1); pushValue(l, true); return(1); } else if (argc == 3) { GameFramework.TypedDataCollection self = (GameFramework.TypedDataCollection)checkSelf(l); System.Type a1; checkType(l, 2, out a1); System.String a2; checkType(l, 3, out a2); self.RemoveData(a1, a2); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Visit(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 2) { GameFramework.TypedDataCollection self = (GameFramework.TypedDataCollection)checkSelf(l); GameFramework.MyAction <System.Object, System.Object> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.Visit(a1); pushValue(l, true); return(1); } else if (argc == 3) { GameFramework.TypedDataCollection self = (GameFramework.TypedDataCollection)checkSelf(l); GameFramework.MyAction <System.Object, System.Object> a1; LuaDelegation.checkDelegate(l, 2, out a1); System.Object a2; checkType(l, 3, out a2); self.Visit(a1, a2); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Clear(IntPtr l) { try { GameFramework.TypedDataCollection self = (GameFramework.TypedDataCollection)checkSelf(l); self.Clear(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { GameFramework.TypedDataCollection o; o = new GameFramework.TypedDataCollection(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int GetData(IntPtr l) { try { GameFramework.TypedDataCollection self = (GameFramework.TypedDataCollection)checkSelf(l); System.Type a1; checkType(l, 2, out a1); var ret = self.GetData(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }