static public int FreeGameMode(IntPtr l) { try { GameModeBase self = (GameModeBase)checkSelf(l); self.FreeGameMode(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }