{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/175970908","pull_request_review_id":105591658,"id":175970908,"diff_hunk":"@@ -17,7 +17,7 @@ namespace OpenRA.Mods.Common.Traits\n {\n \tpublic static class BuildingUtils\n \t{\n-\t\tpublic static bool IsCellBuildable(this World world, CPos cell, BuildingInfo bi, Actor toIgnore = null)\n+\t\tpublic static bool IsCellBuildable(this World world, CPos cell, ActorInfo ai, BuildingInfo bi, Actor toIgnore = null)","path":"OpenRA.Mods.Common/Traits/Buildings/BuildingUtils.cs","position":5,"original_position":5,"commit_id":"b9ea3db91b2ff7bfd076c1ec0e8012181e4f524c","original_commit_id":"b9ea3db91b2ff7bfd076c1ec0e8012181e4f524c","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars1.githubusercontent.com/u/167819?v=4","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"body":"Indeed.","created_at":"2018-03-21T01:53:56Z","updated_at":"2018-03-21T01:53:57Z","html_url":"https://github.com/OpenRA/OpenRA/pull/14955#discussion_r175970908","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/175970908"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/14955#discussion_r175970908"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955"}},"in_reply_to_id":175733879},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955","id":176076802,"html_url":"https://github.com/OpenRA/OpenRA/pull/14955","diff_url":"https://github.com/OpenRA/OpenRA/pull/14955.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/14955.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/14955","number":14955,"state":"open","locked":false,"title":"Pass ActorInfo through building-placement-validation code.","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars1.githubusercontent.com/u/167819?v=4","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"body":"This extracts the messy plumbing changes from #14862 with a few extra changes that I would otherwise have left as review comments.  I would prefer to split this out into its own PR so that #14862 can focus on the new behaviour.","created_at":"2018-03-20T02:57:30Z","updated_at":"2018-03-21T01:53:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"868eed523b0851c59b3b8875de76c4a709eb2198","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/14955/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/b9ea3db91b2ff7bfd076c1ec0e8012181e4f524c","head":{"label":"pchote:replaceable-plumbing","ref":"replaceable-plumbing","sha":"b9ea3db91b2ff7bfd076c1ec0e8012181e4f524c","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars1.githubusercontent.com/u/167819?v=4","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"repo":{"id":455831,"name":"OpenRA","full_name":"pchote/OpenRA","owner":{"login":"pchote","id":167819,"avatar_url":"https://avatars1.githubusercontent.com/u/167819?v=4","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pchote/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":true,"url":"https://api.github.com/repos/pchote/OpenRA","forks_url":"https://api.github.com/repos/pchote/OpenRA/forks","keys_url":"https://api.github.com/repos/pchote/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pchote/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pchote/OpenRA/teams","hooks_url":"https://api.github.com/repos/pchote/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/pchote/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/pchote/OpenRA/events","assignees_url":"https://api.github.com/repos/pchote/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/pchote/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/pchote/OpenRA/tags","blobs_url":"https://api.github.com/repos/pchote/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pchote/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pchote/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/pchote/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pchote/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/pchote/OpenRA/languages","stargazers_url":"https://api.github.com/repos/pchote/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/pchote/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/pchote/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/pchote/OpenRA/subscription","commits_url":"https://api.github.com/repos/pchote/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/pchote/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/pchote/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/pchote/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/pchote/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/pchote/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pchote/OpenRA/merges","archive_url":"https://api.github.com/repos/pchote/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pchote/OpenRA/downloads","issues_url":"https://api.github.com/repos/pchote/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/pchote/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/pchote/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/pchote/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pchote/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/pchote/OpenRA/releases{/id}","deployments_url":"https://api.github.com/repos/pchote/OpenRA/deployments","created_at":"2010-01-02T07:54:09Z","updated_at":"2017-07-29T10:55:06Z","pushed_at":"2018-03-21T01:52:46Z","git_url":"git://github.com/pchote/OpenRA.git","ssh_url":"git@github.com:pchote/OpenRA.git","clone_url":"https://github.com/pchote/OpenRA.git","svn_url":"https://github.com/pchote/OpenRA","homepage":"http://www.openra.net","size":132475,"stargazers_count":14,"watchers_count":14,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":14,"default_branch":"master"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"9122aac555d7894506c45ec3b5dfce96a8897f10","user":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars0.githubusercontent.com/u/409046?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"repo":{"id":959908,"name":"OpenRA","full_name":"OpenRA/OpenRA","owner":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars0.githubusercontent.com/u/409046?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRA/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":false,"url":"https://api.github.com/repos/OpenRA/OpenRA","forks_url":"https://api.github.com/repos/OpenRA/OpenRA/forks","keys_url":"https://api.github.com/repos/OpenRA/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRA/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRA/OpenRA/teams","hooks_url":"https://api.github.com/repos/OpenRA/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRA/OpenRA/events","assignees_url":"https://api.github.com/repos/OpenRA/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRA/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRA/OpenRA/tags","blobs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRA/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRA/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRA/OpenRA/languages","stargazers_url":"https://api.github.com/repos/OpenRA/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/OpenRA/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/OpenRA/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/OpenRA/OpenRA/subscription","commits_url":"https://api.github.com/repos/OpenRA/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRA/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRA/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRA/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRA/OpenRA/merges","archive_url":"https://api.github.com/repos/OpenRA/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRA/OpenRA/downloads","issues_url":"https://api.github.com/repos/OpenRA/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRA/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/OpenRA/OpenRA/releases{/id}","deployments_url":"https://api.github.com/repos/OpenRA/OpenRA/deployments","created_at":"2010-10-04T07:38:05Z","updated_at":"2018-03-20T16:56:58Z","pushed_at":"2018-03-21T01:52:48Z","git_url":"git://github.com/OpenRA/OpenRA.git","ssh_url":"git@github.com:OpenRA/OpenRA.git","clone_url":"https://github.com/OpenRA/OpenRA.git","svn_url":"https://github.com/OpenRA/OpenRA","homepage":"http://www.openra.net","size":131980,"stargazers_count":5061,"watchers_count":5061,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1492,"mirror_url":null,"archived":false,"open_issues_count":1457,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1492,"open_issues":1457,"watchers":5061,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/14955"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/14955"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/14955/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/14955/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/b9ea3db91b2ff7bfd076c1ec0e8012181e4f524c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"pchote"}}