{"action":"created","issue":{"url":"https://api.github.com/repos/aws/lumberyard/issues/126","repository_url":"https://api.github.com/repos/aws/lumberyard","labels_url":"https://api.github.com/repos/aws/lumberyard/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/aws/lumberyard/issues/126/comments","events_url":"https://api.github.com/repos/aws/lumberyard/issues/126/events","html_url":"https://github.com/aws/lumberyard/pull/126","id":312867788,"number":126,"title":"68) Fix for not being able to connect to the MultiplayerEvents bus from Lua","user":{"login":"tkgdhughes","id":36986799,"avatar_url":"https://avatars1.githubusercontent.com/u/36986799?v=4","gravatar_id":"","url":"https://api.github.com/users/tkgdhughes","html_url":"https://github.com/tkgdhughes","followers_url":"https://api.github.com/users/tkgdhughes/followers","following_url":"https://api.github.com/users/tkgdhughes/following{/other_user}","gists_url":"https://api.github.com/users/tkgdhughes/gists{/gist_id}","starred_url":"https://api.github.com/users/tkgdhughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkgdhughes/subscriptions","organizations_url":"https://api.github.com/users/tkgdhughes/orgs","repos_url":"https://api.github.com/users/tkgdhughes/repos","events_url":"https://api.github.com/users/tkgdhughes/events{/privacy}","received_events_url":"https://api.github.com/users/tkgdhughes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T10:42:25Z","updated_at":"2018-04-16T18:58:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/aws/lumberyard/pulls/126","html_url":"https://github.com/aws/lumberyard/pull/126","diff_url":"https://github.com/aws/lumberyard/pull/126.diff","patch_url":"https://github.com/aws/lumberyard/pull/126.patch"},"body":"### Description \r\n\t\r\nFix for not being able to connect to the MultiplayerEvents bus from Lua. The bus requires you to pass a pointer to GridMate as the bus address in order to connect, prior to this change there was no way to achieve this from Lua. It looks like the bus intended the user to be able to pass a null pointer as the id when connecting, however, there is no way to specify a nullptr from Lua, and additionally, it is not possible to call Connect without an address if you are connecting to an addressed bus.\r\n\r\n``` lua\r\n    local gridMate = GridMate_IGridMate.GetHandle();\r\n    ebus:AddHandler(gridMate, MultiplayerEvents, self)\r\n```"},"comment":{"url":"https://api.github.com/repos/aws/lumberyard/issues/comments/381712244","html_url":"https://github.com/aws/lumberyard/pull/126#issuecomment-381712244","issue_url":"https://api.github.com/repos/aws/lumberyard/issues/126","id":381712244,"user":{"login":"ranilianaws","id":26983931,"avatar_url":"https://avatars0.githubusercontent.com/u/26983931?v=4","gravatar_id":"","url":"https://api.github.com/users/ranilianaws","html_url":"https://github.com/ranilianaws","followers_url":"https://api.github.com/users/ranilianaws/followers","following_url":"https://api.github.com/users/ranilianaws/following{/other_user}","gists_url":"https://api.github.com/users/ranilianaws/gists{/gist_id}","starred_url":"https://api.github.com/users/ranilianaws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranilianaws/subscriptions","organizations_url":"https://api.github.com/users/ranilianaws/orgs","repos_url":"https://api.github.com/users/ranilianaws/repos","events_url":"https://api.github.com/users/ranilianaws/events{/privacy}","received_events_url":"https://api.github.com/users/ranilianaws/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T18:58:04Z","updated_at":"2018-04-16T18:58:04Z","author_association":"CONTRIBUTOR","body":"Hey @tkgdhughes ,\r\n\r\nThanks for the contribution. We will evaluate the code and get back to you soon!"}}
{"actor":{"display_login":"ranilianaws"}}