{"action":"closed","number":17720,"pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/17720","id":177040534,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc3MDQwNTM0","html_url":"https://github.com/godotengine/godot/pull/17720","diff_url":"https://github.com/godotengine/godot/pull/17720.diff","patch_url":"https://github.com/godotengine/godot/pull/17720.patch","issue_url":"https://api.github.com/repos/godotengine/godot/issues/17720","number":17720,"state":"closed","locked":false,"title":"[mono] Generic Typed GetNode, GetChild, etc.","user":{"login":"paulloz","id":437025,"node_id":"MDQ6VXNlcjQzNzAyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/437025?v=4","gravatar_id":"","url":"https://api.github.com/users/paulloz","html_url":"https://github.com/paulloz","followers_url":"https://api.github.com/users/paulloz/followers","following_url":"https://api.github.com/users/paulloz/following{/other_user}","gists_url":"https://api.github.com/users/paulloz/gists{/gist_id}","starred_url":"https://api.github.com/users/paulloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulloz/subscriptions","organizations_url":"https://api.github.com/users/paulloz/orgs","repos_url":"https://api.github.com/users/paulloz/repos","events_url":"https://api.github.com/users/paulloz/events{/privacy}","received_events_url":"https://api.github.com/users/paulloz/received_events","type":"User","site_admin":false},"body":"Related issues are #16871, #16309.  \r\nAs discussed, this solution with extensions may be temporary.  \r\n\r\nThis PR introduce the following extension methods to the `Node` class:\r\n\r\n* `GetNode<T>() where T : Node`\r\n* `GetChild<T>(int) where T : Node`\r\n* `GetOwner<T>() where T : Node`\r\n* `GetParent<T>() where T : Node`\r\n\r\nIt is trying to `(T)` cast the return value and throws an `InvalidCastException` if needed.  \r\nTo comply with GDScript version of these methods, it returns `null` if the `Node` we're trying to access can't be found.  ","created_at":"2018-03-23T11:22:23Z","updated_at":"2018-07-27T16:47:20Z","closed_at":"2018-07-27T16:47:19Z","merged_at":"2018-07-27T16:47:19Z","merge_commit_sha":"92c59384ec3ad48dfad0e09f0067193f532cd367","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":820006056,"node_id":"MDU6TGFiZWw4MjAwMDYwNTY=","url":"https://api.github.com/repos/godotengine/godot/labels/cherrypick","name":"cherrypick","color":"043a96","default":false},{"id":73330068,"node_id":"MDU6TGFiZWw3MzMzMDA2OA==","url":"https://api.github.com/repos/godotengine/godot/labels/feature%20proposal","name":"feature proposal","color":"1144ff","default":false},{"id":709269775,"node_id":"MDU6TGFiZWw3MDkyNjk3NzU=","url":"https://api.github.com/repos/godotengine/godot/labels/topic:mono","name":"topic:mono","color":"ffdd44","default":false}],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/7","html_url":"https://github.com/godotengine/godot/milestone/7","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/7/labels","id":2529217,"node_id":"MDk6TWlsZXN0b25lMjUyOTIxNw==","number":7,"title":"3.1","description":"","creator":{"login":"akien-mga","id":4701338,"node_id":"MDQ6VXNlcjQ3MDEzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":1054,"closed_issues":2168,"state":"open","created_at":"2017-05-18T13:33:56Z","updated_at":"2018-07-27T16:47:20Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/godotengine/godot/pulls/17720/commits","review_comments_url":"https://api.github.com/repos/godotengine/godot/pulls/17720/comments","review_comment_url":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/17720/comments","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/877ea882ce3a4938c3b73b903e5d6e1e8f970eef","head":{"label":"paulloz:custom-csharp-glue","ref":"custom-csharp-glue","sha":"877ea882ce3a4938c3b73b903e5d6e1e8f970eef","user":{"login":"paulloz","id":437025,"node_id":"MDQ6VXNlcjQzNzAyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/437025?v=4","gravatar_id":"","url":"https://api.github.com/users/paulloz","html_url":"https://github.com/paulloz","followers_url":"https://api.github.com/users/paulloz/followers","following_url":"https://api.github.com/users/paulloz/following{/other_user}","gists_url":"https://api.github.com/users/paulloz/gists{/gist_id}","starred_url":"https://api.github.com/users/paulloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulloz/subscriptions","organizations_url":"https://api.github.com/users/paulloz/orgs","repos_url":"https://api.github.com/users/paulloz/repos","events_url":"https://api.github.com/users/paulloz/events{/privacy}","received_events_url":"https://api.github.com/users/paulloz/received_events","type":"User","site_admin":false},"repo":{"id":19787494,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc4NzQ5NA==","name":"godot","full_name":"paulloz/godot","owner":{"login":"paulloz","id":437025,"node_id":"MDQ6VXNlcjQzNzAyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/437025?v=4","gravatar_id":"","url":"https://api.github.com/users/paulloz","html_url":"https://github.com/paulloz","followers_url":"https://api.github.com/users/paulloz/followers","following_url":"https://api.github.com/users/paulloz/following{/other_user}","gists_url":"https://api.github.com/users/paulloz/gists{/gist_id}","starred_url":"https://api.github.com/users/paulloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulloz/subscriptions","organizations_url":"https://api.github.com/users/paulloz/orgs","repos_url":"https://api.github.com/users/paulloz/repos","events_url":"https://api.github.com/users/paulloz/events{/privacy}","received_events_url":"https://api.github.com/users/paulloz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulloz/godot","description":"Godot Game Engine","fork":true,"url":"https://api.github.com/repos/paulloz/godot","forks_url":"https://api.github.com/repos/paulloz/godot/forks","keys_url":"https://api.github.com/repos/paulloz/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulloz/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulloz/godot/teams","hooks_url":"https://api.github.com/repos/paulloz/godot/hooks","issue_events_url":"https://api.github.com/repos/paulloz/godot/issues/events{/number}","events_url":"https://api.github.com/repos/paulloz/godot/events","assignees_url":"https://api.github.com/repos/paulloz/godot/assignees{/user}","branches_url":"https://api.github.com/repos/paulloz/godot/branches{/branch}","tags_url":"https://api.github.com/repos/paulloz/godot/tags","blobs_url":"https://api.github.com/repos/paulloz/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulloz/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulloz/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulloz/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulloz/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/paulloz/godot/languages","stargazers_url":"https://api.github.com/repos/paulloz/godot/stargazers","contributors_url":"https://api.github.com/repos/paulloz/godot/contributors","subscribers_url":"https://api.github.com/repos/paulloz/godot/subscribers","subscription_url":"https://api.github.com/repos/paulloz/godot/subscription","commits_url":"https://api.github.com/repos/paulloz/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulloz/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulloz/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulloz/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulloz/godot/contents/{+path}","compare_url":"https://api.github.com/repos/paulloz/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulloz/godot/merges","archive_url":"https://api.github.com/repos/paulloz/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulloz/godot/downloads","issues_url":"https://api.github.com/repos/paulloz/godot/issues{/number}","pulls_url":"https://api.github.com/repos/paulloz/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/paulloz/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/paulloz/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulloz/godot/labels{/name}","releases_url":"https://api.github.com/repos/paulloz/godot/releases{/id}","deployments_url":"https://api.github.com/repos/paulloz/godot/deployments","created_at":"2014-05-14T16:37:07Z","updated_at":"2018-07-27T06:23:03Z","pushed_at":"2018-07-27T06:50:58Z","git_url":"git://github.com/paulloz/godot.git","ssh_url":"git@github.com:paulloz/godot.git","clone_url":"https://github.com/paulloz/godot.git","svn_url":"https://github.com/paulloz/godot","homepage":null,"size":228807,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"godotengine:master","ref":"master","sha":"b5b8f52d4f96e019ed85174e117b766dcb703083","user":{"login":"godotengine","id":6318500,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMTg1MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6318500?v=4","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"repo":{"id":15634981,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYzNDk4MQ==","name":"godot","full_name":"godotengine/godot","owner":{"login":"godotengine","id":6318500,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMTg1MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6318500?v=4","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godotengine/godot","description":"Godot Engine – Multi-platform 2D and 3D game engine","fork":false,"url":"https://api.github.com/repos/godotengine/godot","forks_url":"https://api.github.com/repos/godotengine/godot/forks","keys_url":"https://api.github.com/repos/godotengine/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godotengine/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godotengine/godot/teams","hooks_url":"https://api.github.com/repos/godotengine/godot/hooks","issue_events_url":"https://api.github.com/repos/godotengine/godot/issues/events{/number}","events_url":"https://api.github.com/repos/godotengine/godot/events","assignees_url":"https://api.github.com/repos/godotengine/godot/assignees{/user}","branches_url":"https://api.github.com/repos/godotengine/godot/branches{/branch}","tags_url":"https://api.github.com/repos/godotengine/godot/tags","blobs_url":"https://api.github.com/repos/godotengine/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godotengine/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godotengine/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/godotengine/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/godotengine/godot/languages","stargazers_url":"https://api.github.com/repos/godotengine/godot/stargazers","contributors_url":"https://api.github.com/repos/godotengine/godot/contributors","subscribers_url":"https://api.github.com/repos/godotengine/godot/subscribers","subscription_url":"https://api.github.com/repos/godotengine/godot/subscription","commits_url":"https://api.github.com/repos/godotengine/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/godotengine/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/godotengine/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/godotengine/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/godotengine/godot/contents/{+path}","compare_url":"https://api.github.com/repos/godotengine/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godotengine/godot/merges","archive_url":"https://api.github.com/repos/godotengine/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godotengine/godot/downloads","issues_url":"https://api.github.com/repos/godotengine/godot/issues{/number}","pulls_url":"https://api.github.com/repos/godotengine/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/godotengine/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/godotengine/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godotengine/godot/labels{/name}","releases_url":"https://api.github.com/repos/godotengine/godot/releases{/id}","deployments_url":"https://api.github.com/repos/godotengine/godot/deployments","created_at":"2014-01-04T16:05:36Z","updated_at":"2018-07-27T14:54:33Z","pushed_at":"2018-07-27T16:47:19Z","git_url":"git://github.com/godotengine/godot.git","ssh_url":"git@github.com:godotengine/godot.git","clone_url":"https://github.com/godotengine/godot.git","svn_url":"https://github.com/godotengine/godot","homepage":"https://godotengine.org","size":250518,"stargazers_count":15924,"watchers_count":15924,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3288,"mirror_url":null,"archived":false,"open_issues_count":3858,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3288,"open_issues":3858,"watchers":15924,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot/pulls/17720"},"html":{"href":"https://github.com/godotengine/godot/pull/17720"},"issue":{"href":"https://api.github.com/repos/godotengine/godot/issues/17720"},"comments":{"href":"https://api.github.com/repos/godotengine/godot/issues/17720/comments"},"review_comments":{"href":"https://api.github.com/repos/godotengine/godot/pulls/17720/comments"},"review_comment":{"href":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godotengine/godot/pulls/17720/commits"},"statuses":{"href":"https://api.github.com/repos/godotengine/godot/statuses/877ea882ce3a4938c3b73b903e5d6e1e8f970eef"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"neikeq","id":7718100,"node_id":"MDQ6VXNlcjc3MTgxMDA=","avatar_url":"https://avatars3.githubusercontent.com/u/7718100?v=4","gravatar_id":"","url":"https://api.github.com/users/neikeq","html_url":"https://github.com/neikeq","followers_url":"https://api.github.com/users/neikeq/followers","following_url":"https://api.github.com/users/neikeq/following{/other_user}","gists_url":"https://api.github.com/users/neikeq/gists{/gist_id}","starred_url":"https://api.github.com/users/neikeq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neikeq/subscriptions","organizations_url":"https://api.github.com/users/neikeq/orgs","repos_url":"https://api.github.com/users/neikeq/repos","events_url":"https://api.github.com/users/neikeq/events{/privacy}","received_events_url":"https://api.github.com/users/neikeq/received_events","type":"User","site_admin":false},"comments":18,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":36,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"neikeq"}}