{"action":"created","comment":{"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments/92657578","pull_request_review_id":13177650,"id":92657578,"diff_hunk":"@@ -16,6 +17,21 @@ public sealed class InfernoCore : Script\n \r\n         private static readonly Subject<Unit> OnTickSubject = new Subject<Unit>();\r\n         private static readonly Subject<KeyEventArgs> OnKeyDownSubject = new Subject<KeyEventArgs>();\r\n+        private static readonly Subject<IEventMessage> EventMessageSubject = new Subject<IEventMessage>();\r\n+\r\n+        /// <summary>\r\n+        /// イベントメッセージを発行する\r\n+        /// </summary>\r\n+        /// <param name=\"message\"></param>\r\n+        public static void Publish(IEventMessage message)\r","path":"Inferno/InfernoScripts/InfernoCore/InfernoCore.cs","position":18,"original_position":18,"commit_id":"23f49b5e50599527226fd602ce6deaf6fbcf487e","original_commit_id":"23f49b5e50599527226fd602ce6deaf6fbcf487e","user":{"login":"TORISOUP","id":861868,"avatar_url":"https://avatars.githubusercontent.com/u/861868?v=3","gravatar_id":"","url":"https://api.github.com/users/TORISOUP","html_url":"https://github.com/TORISOUP","followers_url":"https://api.github.com/users/TORISOUP/followers","following_url":"https://api.github.com/users/TORISOUP/following{/other_user}","gists_url":"https://api.github.com/users/TORISOUP/gists{/gist_id}","starred_url":"https://api.github.com/users/TORISOUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TORISOUP/subscriptions","organizations_url":"https://api.github.com/users/TORISOUP/orgs","repos_url":"https://api.github.com/users/TORISOUP/repos","events_url":"https://api.github.com/users/TORISOUP/events{/privacy}","received_events_url":"https://api.github.com/users/TORISOUP/received_events","type":"User","site_admin":false},"body":"こいつを叩けば全スクリプトにメッセージが送信される","created_at":"2016-12-15T17:26:10Z","updated_at":"2016-12-15T17:26:10Z","html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/54#discussion_r92657578","pull_request_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments/92657578"},"html":{"href":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/54#discussion_r92657578"},"pull_request":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54","id":98194477,"html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/54","diff_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/54.diff","patch_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/54.patch","issue_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/54","number":54,"state":"open","locked":false,"title":"Pub/Sub機構を追加してスクリプト間で連携を取れるようにした","user":{"login":"TORISOUP","id":861868,"avatar_url":"https://avatars.githubusercontent.com/u/861868?v=3","gravatar_id":"","url":"https://api.github.com/users/TORISOUP","html_url":"https://github.com/TORISOUP","followers_url":"https://api.github.com/users/TORISOUP/followers","following_url":"https://api.github.com/users/TORISOUP/following{/other_user}","gists_url":"https://api.github.com/users/TORISOUP/gists{/gist_id}","starred_url":"https://api.github.com/users/TORISOUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TORISOUP/subscriptions","organizations_url":"https://api.github.com/users/TORISOUP/orgs","repos_url":"https://api.github.com/users/TORISOUP/repos","events_url":"https://api.github.com/users/TORISOUP/events{/privacy}","received_events_url":"https://api.github.com/users/TORISOUP/received_events","type":"User","site_admin":false},"body":"InfernoCoreにPublishをはやしてスクリプト間で連携を取れるようにしました。\r\n","created_at":"2016-12-15T17:24:23Z","updated_at":"2016-12-15T17:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e840537380eeea1e91744e6d66ee625b536d4519","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54/commits","review_comments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54/comments","review_comment_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/54/comments","statuses_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/23f49b5e50599527226fd602ce6deaf6fbcf487e","head":{"label":"TORISOUP:add_inferno_scheduler","ref":"add_inferno_scheduler","sha":"23f49b5e50599527226fd602ce6deaf6fbcf487e","user":{"login":"TORISOUP","id":861868,"avatar_url":"https://avatars.githubusercontent.com/u/861868?v=3","gravatar_id":"","url":"https://api.github.com/users/TORISOUP","html_url":"https://github.com/TORISOUP","followers_url":"https://api.github.com/users/TORISOUP/followers","following_url":"https://api.github.com/users/TORISOUP/following{/other_user}","gists_url":"https://api.github.com/users/TORISOUP/gists{/gist_id}","starred_url":"https://api.github.com/users/TORISOUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TORISOUP/subscriptions","organizations_url":"https://api.github.com/users/TORISOUP/orgs","repos_url":"https://api.github.com/users/TORISOUP/repos","events_url":"https://api.github.com/users/TORISOUP/events{/privacy}","received_events_url":"https://api.github.com/users/TORISOUP/received_events","type":"User","site_admin":false},"repo":{"id":34913171,"name":"GTAV_InfernoScripts","full_name":"TORISOUP/GTAV_InfernoScripts","owner":{"login":"TORISOUP","id":861868,"avatar_url":"https://avatars.githubusercontent.com/u/861868?v=3","gravatar_id":"","url":"https://api.github.com/users/TORISOUP","html_url":"https://github.com/TORISOUP","followers_url":"https://api.github.com/users/TORISOUP/followers","following_url":"https://api.github.com/users/TORISOUP/following{/other_user}","gists_url":"https://api.github.com/users/TORISOUP/gists{/gist_id}","starred_url":"https://api.github.com/users/TORISOUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TORISOUP/subscriptions","organizations_url":"https://api.github.com/users/TORISOUP/orgs","repos_url":"https://api.github.com/users/TORISOUP/repos","events_url":"https://api.github.com/users/TORISOUP/events{/privacy}","received_events_url":"https://api.github.com/users/TORISOUP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts","description":"GTAV用のカオスモードとインフェルノモードのソースコード","fork":false,"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts","forks_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/forks","keys_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/teams","hooks_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/hooks","issue_events_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/events{/number}","events_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/events","assignees_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/assignees{/user}","branches_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/branches{/branch}","tags_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/tags","blobs_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/{sha}","languages_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/languages","stargazers_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/stargazers","contributors_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/contributors","subscribers_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/subscribers","subscription_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/subscription","commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/contents/{+path}","compare_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/merges","archive_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/downloads","issues_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues{/number}","pulls_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls{/number}","milestones_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/milestones{/number}","notifications_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/labels{/name}","releases_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/releases{/id}","deployments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/deployments","created_at":"2015-05-01T16:56:39Z","updated_at":"2016-12-04T08:44:10Z","pushed_at":"2016-12-15T17:24:23Z","git_url":"git://github.com/TORISOUP/GTAV_InfernoScripts.git","ssh_url":"git@github.com:TORISOUP/GTAV_InfernoScripts.git","clone_url":"https://github.com/TORISOUP/GTAV_InfernoScripts.git","svn_url":"https://github.com/TORISOUP/GTAV_InfernoScripts","homepage":null,"size":1890,"stargazers_count":8,"watchers_count":8,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":8,"default_branch":"master"}},"base":{"label":"TORISOUP:master","ref":"master","sha":"4e96deabc619e99ed808e874220f8d5e6e94955e","user":{"login":"TORISOUP","id":861868,"avatar_url":"https://avatars.githubusercontent.com/u/861868?v=3","gravatar_id":"","url":"https://api.github.com/users/TORISOUP","html_url":"https://github.com/TORISOUP","followers_url":"https://api.github.com/users/TORISOUP/followers","following_url":"https://api.github.com/users/TORISOUP/following{/other_user}","gists_url":"https://api.github.com/users/TORISOUP/gists{/gist_id}","starred_url":"https://api.github.com/users/TORISOUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TORISOUP/subscriptions","organizations_url":"https://api.github.com/users/TORISOUP/orgs","repos_url":"https://api.github.com/users/TORISOUP/repos","events_url":"https://api.github.com/users/TORISOUP/events{/privacy}","received_events_url":"https://api.github.com/users/TORISOUP/received_events","type":"User","site_admin":false},"repo":{"id":34913171,"name":"GTAV_InfernoScripts","full_name":"TORISOUP/GTAV_InfernoScripts","owner":{"login":"TORISOUP","id":861868,"avatar_url":"https://avatars.githubusercontent.com/u/861868?v=3","gravatar_id":"","url":"https://api.github.com/users/TORISOUP","html_url":"https://github.com/TORISOUP","followers_url":"https://api.github.com/users/TORISOUP/followers","following_url":"https://api.github.com/users/TORISOUP/following{/other_user}","gists_url":"https://api.github.com/users/TORISOUP/gists{/gist_id}","starred_url":"https://api.github.com/users/TORISOUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TORISOUP/subscriptions","organizations_url":"https://api.github.com/users/TORISOUP/orgs","repos_url":"https://api.github.com/users/TORISOUP/repos","events_url":"https://api.github.com/users/TORISOUP/events{/privacy}","received_events_url":"https://api.github.com/users/TORISOUP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts","description":"GTAV用のカオスモードとインフェルノモードのソースコード","fork":false,"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts","forks_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/forks","keys_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/teams","hooks_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/hooks","issue_events_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/events{/number}","events_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/events","assignees_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/assignees{/user}","branches_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/branches{/branch}","tags_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/tags","blobs_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/{sha}","languages_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/languages","stargazers_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/stargazers","contributors_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/contributors","subscribers_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/subscribers","subscription_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/subscription","commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/contents/{+path}","compare_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/merges","archive_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/downloads","issues_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues{/number}","pulls_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls{/number}","milestones_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/milestones{/number}","notifications_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/labels{/name}","releases_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/releases{/id}","deployments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/deployments","created_at":"2015-05-01T16:56:39Z","updated_at":"2016-12-04T08:44:10Z","pushed_at":"2016-12-15T17:24:23Z","git_url":"git://github.com/TORISOUP/GTAV_InfernoScripts.git","ssh_url":"git@github.com:TORISOUP/GTAV_InfernoScripts.git","clone_url":"https://github.com/TORISOUP/GTAV_InfernoScripts.git","svn_url":"https://github.com/TORISOUP/GTAV_InfernoScripts","homepage":null,"size":1890,"stargazers_count":8,"watchers_count":8,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54"},"html":{"href":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/54"},"issue":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/54"},"comments":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/23f49b5e50599527226fd602ce6deaf6fbcf487e"}}}}
{"actor":{"display_login":"TORISOUP"}}