{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/4","id":78476116,"html_url":"https://github.com/cstrachan88/PoGo-Proxy.NET/pull/4","diff_url":"https://github.com/cstrachan88/PoGo-Proxy.NET/pull/4.diff","patch_url":"https://github.com/cstrachan88/PoGo-Proxy.NET/pull/4.patch","issue_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues/4","number":4,"state":"open","locked":false,"title":"Allow edit response","user":{"login":"shargon","id":3167973,"avatar_url":"https://avatars.githubusercontent.com/u/3167973?v=3","gravatar_id":"","url":"https://api.github.com/users/shargon","html_url":"https://github.com/shargon","followers_url":"https://api.github.com/users/shargon/followers","following_url":"https://api.github.com/users/shargon/following{/other_user}","gists_url":"https://api.github.com/users/shargon/gists{/gist_id}","starred_url":"https://api.github.com/users/shargon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shargon/subscriptions","organizations_url":"https://api.github.com/users/shargon/orgs","repos_url":"https://api.github.com/users/shargon/repos","events_url":"https://api.github.com/users/shargon/events{/privacy}","received_events_url":"https://api.github.com/users/shargon/received_events","type":"User","site_admin":false},"body":"```\r\nstatic Random r = new Random();\r\n        private static void Controller_ResponseReceived(object sender, RequestHandledEventArgs e)\r\n        {\r\n            if (e.RequestBlock.ParsedMessages[RequestType.GetInventory] != null)\r\n            {\r\n                //GetMapObjectsResponse msg = (GetMapObjectsResponse)e.RequestBlock.ParsedMessages[RequestType.GetMapObjects];\r\n                GetInventoryResponse msg = (GetInventoryResponse)e.RequestBlock.ParsedMessages[RequestType.GetInventory];\r\n\r\n                //Random r = new Random();\r\n                foreach (InventoryItem o in msg.InventoryDelta.InventoryItems)\r\n                {\r\n                    if (o.InventoryItemData != null && o.InventoryItemData.PokemonData != null)\r\n                    {\r\n                        o.InventoryItemData.PokemonData.PokemonId = (POGOProtos.Enums.PokemonId)r.Next(144, 151);\r\n                    }\r\n                }\r\n                //foreach (MapCell o in msg.MapCells)\r\n                //{\r\n                //    if (o.Forts != null && o.Forts.Count > 0)\r\n                //    {\r\n                //        o.Forts[0].GuardPokemonCp = 69;\r\n                //        o.Forts[0].GuardPokemonId = POGOProtos.Enums.PokemonId.Mewtwo;\r\n                //        o.Forts[0].Sponsor = POGOProtos.Map.Fort.FortSponsor.Mcdonalds;\r\n                //    }\r\n                //}\r\n            }\r\n\r\n            // Update log\r\n            _apiLog.Add(e);\r\n\r\n            Console.WriteLine(\"Response Block -\");\r\n            foreach (var responsePair in e.ResponseBlock.ParsedMessages)\r\n            {\r\n                Console.WriteLine(\"  \" + responsePair.Key);\r\n            }\r\n        }\r\n```","created_at":"2016-07-22T13:22:40Z","updated_at":"2016-07-22T13:22:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/4/commits","review_comments_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/4/comments","review_comment_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues/4/comments","statuses_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/statuses/06e284437dcb631ce0895175e98c18e60dd15ab0","head":{"label":"shargon:patch-1","ref":"patch-1","sha":"06e284437dcb631ce0895175e98c18e60dd15ab0","user":{"login":"shargon","id":3167973,"avatar_url":"https://avatars.githubusercontent.com/u/3167973?v=3","gravatar_id":"","url":"https://api.github.com/users/shargon","html_url":"https://github.com/shargon","followers_url":"https://api.github.com/users/shargon/followers","following_url":"https://api.github.com/users/shargon/following{/other_user}","gists_url":"https://api.github.com/users/shargon/gists{/gist_id}","starred_url":"https://api.github.com/users/shargon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shargon/subscriptions","organizations_url":"https://api.github.com/users/shargon/orgs","repos_url":"https://api.github.com/users/shargon/repos","events_url":"https://api.github.com/users/shargon/events{/privacy}","received_events_url":"https://api.github.com/users/shargon/received_events","type":"User","site_admin":false},"repo":{"id":63954839,"name":"PoGo-Proxy.NET","full_name":"shargon/PoGo-Proxy.NET","owner":{"login":"shargon","id":3167973,"avatar_url":"https://avatars.githubusercontent.com/u/3167973?v=3","gravatar_id":"","url":"https://api.github.com/users/shargon","html_url":"https://github.com/shargon","followers_url":"https://api.github.com/users/shargon/followers","following_url":"https://api.github.com/users/shargon/following{/other_user}","gists_url":"https://api.github.com/users/shargon/gists{/gist_id}","starred_url":"https://api.github.com/users/shargon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shargon/subscriptions","organizations_url":"https://api.github.com/users/shargon/orgs","repos_url":"https://api.github.com/users/shargon/repos","events_url":"https://api.github.com/users/shargon/events{/privacy}","received_events_url":"https://api.github.com/users/shargon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shargon/PoGo-Proxy.NET","description":"A .NET MITM proxy for Pokemon Go","fork":true,"url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET","forks_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/forks","keys_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/teams","hooks_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/hooks","issue_events_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/issues/events{/number}","events_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/events","assignees_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/assignees{/user}","branches_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/branches{/branch}","tags_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/tags","blobs_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/git/refs{/sha}","trees_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/statuses/{sha}","languages_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/languages","stargazers_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/stargazers","contributors_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/contributors","subscribers_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/subscribers","subscription_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/subscription","commits_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/commits{/sha}","git_commits_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/git/commits{/sha}","comments_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/comments{/number}","issue_comment_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/issues/comments{/number}","contents_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/contents/{+path}","compare_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/merges","archive_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/downloads","issues_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/issues{/number}","pulls_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/pulls{/number}","milestones_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/milestones{/number}","notifications_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/labels{/name}","releases_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/releases{/id}","deployments_url":"https://api.github.com/repos/shargon/PoGo-Proxy.NET/deployments","created_at":"2016-07-22T13:19:46Z","updated_at":"2016-07-22T13:19:47Z","pushed_at":"2016-07-22T13:22:11Z","git_url":"git://github.com/shargon/PoGo-Proxy.NET.git","ssh_url":"git@github.com:shargon/PoGo-Proxy.NET.git","clone_url":"https://github.com/shargon/PoGo-Proxy.NET.git","svn_url":"https://github.com/shargon/PoGo-Proxy.NET","homepage":"","size":269,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cstrachan88:master","ref":"master","sha":"a07cff6031275853f37a34d7d1f57a4c1188a2d3","user":{"login":"cstrachan88","id":1736198,"avatar_url":"https://avatars.githubusercontent.com/u/1736198?v=3","gravatar_id":"","url":"https://api.github.com/users/cstrachan88","html_url":"https://github.com/cstrachan88","followers_url":"https://api.github.com/users/cstrachan88/followers","following_url":"https://api.github.com/users/cstrachan88/following{/other_user}","gists_url":"https://api.github.com/users/cstrachan88/gists{/gist_id}","starred_url":"https://api.github.com/users/cstrachan88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstrachan88/subscriptions","organizations_url":"https://api.github.com/users/cstrachan88/orgs","repos_url":"https://api.github.com/users/cstrachan88/repos","events_url":"https://api.github.com/users/cstrachan88/events{/privacy}","received_events_url":"https://api.github.com/users/cstrachan88/received_events","type":"User","site_admin":false},"repo":{"id":63823991,"name":"PoGo-Proxy.NET","full_name":"cstrachan88/PoGo-Proxy.NET","owner":{"login":"cstrachan88","id":1736198,"avatar_url":"https://avatars.githubusercontent.com/u/1736198?v=3","gravatar_id":"","url":"https://api.github.com/users/cstrachan88","html_url":"https://github.com/cstrachan88","followers_url":"https://api.github.com/users/cstrachan88/followers","following_url":"https://api.github.com/users/cstrachan88/following{/other_user}","gists_url":"https://api.github.com/users/cstrachan88/gists{/gist_id}","starred_url":"https://api.github.com/users/cstrachan88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstrachan88/subscriptions","organizations_url":"https://api.github.com/users/cstrachan88/orgs","repos_url":"https://api.github.com/users/cstrachan88/repos","events_url":"https://api.github.com/users/cstrachan88/events{/privacy}","received_events_url":"https://api.github.com/users/cstrachan88/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cstrachan88/PoGo-Proxy.NET","description":"A .NET MITM proxy for Pokemon Go","fork":false,"url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET","forks_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/forks","keys_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/teams","hooks_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/hooks","issue_events_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues/events{/number}","events_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/events","assignees_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/assignees{/user}","branches_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/branches{/branch}","tags_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/tags","blobs_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/git/refs{/sha}","trees_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/statuses/{sha}","languages_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/languages","stargazers_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/stargazers","contributors_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/contributors","subscribers_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/subscribers","subscription_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/subscription","commits_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/commits{/sha}","git_commits_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/git/commits{/sha}","comments_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/comments{/number}","issue_comment_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues/comments{/number}","contents_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/contents/{+path}","compare_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/merges","archive_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/downloads","issues_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues{/number}","pulls_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls{/number}","milestones_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/milestones{/number}","notifications_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/labels{/name}","releases_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/releases{/id}","deployments_url":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/deployments","created_at":"2016-07-21T00:34:06Z","updated_at":"2016-07-22T02:15:26Z","pushed_at":"2016-07-22T13:22:40Z","git_url":"git://github.com/cstrachan88/PoGo-Proxy.NET.git","ssh_url":"git@github.com:cstrachan88/PoGo-Proxy.NET.git","clone_url":"https://github.com/cstrachan88/PoGo-Proxy.NET.git","svn_url":"https://github.com/cstrachan88/PoGo-Proxy.NET","homepage":"","size":269,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/4"},"html":{"href":"https://github.com/cstrachan88/PoGo-Proxy.NET/pull/4"},"issue":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues/4"},"comments":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/cstrachan88/PoGo-Proxy.NET/statuses/06e284437dcb631ce0895175e98c18e60dd15ab0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"shargon"}}