public static int AddRecentLoginServerID(IntPtr l) { int result; try { LocalConfig localConfig = (LocalConfig)LuaObject.checkSelf(l); int id; LuaObject.checkType(l, 2, out id); localConfig.AddRecentLoginServerID(id); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }