{"action":"created","issue":{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/936","labels_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/936/comments","events_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/936/events","html_url":"https://github.com/pavel-pimenov/flylinkdc-r5xx/issues/936","id":102542158,"number":936,"title":"[Оптимизмция] Добавить функцию сброса-установки бита в Identity","user":{"login":"pavel-pimenov","id":920705,"avatar_url":"https://avatars.githubusercontent.com/u/920705?v=3","gravatar_id":"","url":"https://api.github.com/users/pavel-pimenov","html_url":"https://github.com/pavel-pimenov","followers_url":"https://api.github.com/users/pavel-pimenov/followers","following_url":"https://api.github.com/users/pavel-pimenov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-pimenov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-pimenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-pimenov/subscriptions","organizations_url":"https://api.github.com/users/pavel-pimenov/orgs","repos_url":"https://api.github.com/users/pavel-pimenov/repos","events_url":"https://api.github.com/users/pavel-pimenov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-pimenov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/Priority-Low","name":"Priority-Low","color":"FFFFFF"},{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/Type-Review","name":"Type-Review","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-22T14:45:16Z","updated_at":"2015-08-22T14:45:17Z","closed_at":null,"body":"_From [Pavel.Pimenov@gmail.com](https://code.google.com/u/Pavel.Pimenov@gmail.com/) on January 21, 2013 12:40:58_\n\nВ коде присуствует определенное кол-во парных команд \r\nget и set и сейчас они выполняют двойную блокировку секцией\r\n\r\n  C:\\vc10\\r5xx-trunk\\client\\CheatManager.h(142):\t\t\tou->getIdentity().set(\"FC\", Util::toString(Util::toInt(ou->getIdentity().get(\"FC\")) | Identity::BAD_LIST));\r\n  C:\\vc10\\r5xx-trunk\\client\\CheatManager.h(160):\t\tou->getIdentity().set(\"FC\", Util::toString(Util::toInt(ou->getIdentity().get(\"FC\")) | Identity::CHECKED));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(238):\t\tset(\"FC\", Util::toString(Util::toInt(get(\"FC\")) | BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(240):\t\tset(\"FC\", Util::toString(Util::toInt(get(\"FC\")) & ~BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(413):            set(\"FC\", Util::toString(Util::toInt(get(\"FC\")) | BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(414):            set(\"FC\", Util::toString(Util::toInt(get(\"FC\")) | BAD_LIST));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(424):            set(\"FC\", Util::toString(Util::toInt(get(\"FC\")) | BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(490):            set(\"FC\", Util::toString(Util::toInt(get(\"FC\")) & ~BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(492):            set(\"FC\", Util::toString(Util::toInt(get(\"FC\")) | BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(514):    set(\"FC\", Util::toString(Util::toInt(get(\"FC\")) & ~BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(580):\t\t\tset(\"FC\", Util::toString(Util::toInt(get(\"FC\")) & ~BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(582):\t\t\tset(\"FC\", Util::toString(Util::toInt(get(\"FC\")) | BAD_CLIENT));\r\n  C:\\vc10\\r5xx-trunk\\client\\User.cpp(606):\tset(\"FC\", Util::toString(Util::toInt(get(\"FC\")) & ~BAD_CLIENT));\r\n\r\nСделать метод выполняющий замену бита с одной блокировкой\n\n_Original issue: http://code.google.com/p/flylinkdc/issues/detail?id=897_"},"comment":{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/comments/133711977","html_url":"https://github.com/pavel-pimenov/flylinkdc-r5xx/issues/936#issuecomment-133711977","issue_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/936","id":133711977,"user":{"login":"pavel-pimenov","id":920705,"avatar_url":"https://avatars.githubusercontent.com/u/920705?v=3","gravatar_id":"","url":"https://api.github.com/users/pavel-pimenov","html_url":"https://github.com/pavel-pimenov","followers_url":"https://api.github.com/users/pavel-pimenov/followers","following_url":"https://api.github.com/users/pavel-pimenov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-pimenov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-pimenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-pimenov/subscriptions","organizations_url":"https://api.github.com/users/pavel-pimenov/orgs","repos_url":"https://api.github.com/users/pavel-pimenov/repos","events_url":"https://api.github.com/users/pavel-pimenov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-pimenov/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T14:45:17Z","updated_at":"2015-08-22T14:45:17Z","body":"_From [Pavel.Pimenov@gmail.com](https://code.google.com/u/Pavel.Pimenov@gmail.com/) on January 21, 2013 04:35:06_\n\nThis issue was closed by revision r12600 .\n\n**Status:** Fixed  \n"}}