static public int Init(IntPtr l) { try { GameFramework.PluginFramework self = (GameFramework.PluginFramework)checkSelf(l); System.Boolean a1; checkType(l, 2, out a1); self.Init(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }