{"action":"created","comment":{"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments/29598145","id":29598145,"diff_hunk":"@@ -0,0 +1,78 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System;\n+using System.Linq;\n+using System.Reactive.Linq;\n+using System.Windows.Forms;\n+using GTA;\n+using GTA.Math;\n+using GTA.Native;\n+using Reactive.Bindings;\n+using System.Reactive.Concurrency;\n+\n+namespace Inferno.ChaosMode\n+{\n+    class GivePedWepon : InfernoScript\n+    {\n+        private readonly string Keyword = \"chaos\";\n+\n+        public ReactiveProperty<bool> _isActive = new ReactiveProperty<bool>(Scheduler.Immediate);\n+\n+        protected override void Setup()\n+        {\n+            //キーワードが入力されたらON／OFFを切り替える\n+            CreateInputKeywordAsObservable(Keyword)\n+                .Subscribe(_ =>\n+                {\n+                    _isActive.Value = !_isActive.Value;\n+                });\n+\n+            //interval間隔で実行\n+            OnTickAsObservable\n+                .Where(_ => _isActive.Value)\n+                .Subscribe(_ => GetPeds());\n+        }\n+\n+        /// <summary>\n+        /// 市民を取得\n+        /// </summary>\n+        private void GetPeds()","path":"Inferno/ChaosMode/GivePedWepon.cs","position":40,"original_position":40,"commit_id":"5a2099f13be9c32de5597d1f59db289dcef560a4","original_commit_id":"5a2099f13be9c32de5597d1f59db289dcef560a4","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":"2015-05-04T16:19:18Z","updated_at":"2015-05-04T16:19:18Z","html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/1#discussion_r29598145","pull_request_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments/29598145"},"html":{"href":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/1#discussion_r29598145"},"pull_request":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1","id":34647876,"html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/1","diff_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/1.diff","patch_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/1.patch","issue_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/1","number":1,"state":"open","locked":false,"title":"市民武装とテキスト表示（暫定）","user":{"login":"meronmks","id":12034371,"avatar_url":"https://avatars.githubusercontent.com/u/12034371?v=3","gravatar_id":"","url":"https://api.github.com/users/meronmks","html_url":"https://github.com/meronmks","followers_url":"https://api.github.com/users/meronmks/followers","following_url":"https://api.github.com/users/meronmks/following{/other_user}","gists_url":"https://api.github.com/users/meronmks/gists{/gist_id}","starred_url":"https://api.github.com/users/meronmks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meronmks/subscriptions","organizations_url":"https://api.github.com/users/meronmks/orgs","repos_url":"https://api.github.com/users/meronmks/repos","events_url":"https://api.github.com/users/meronmks/events{/privacy}","received_events_url":"https://api.github.com/users/meronmks/received_events","type":"User","site_admin":false},"body":"市民武装は現状RPGのみですが実現出来ました","created_at":"2015-05-04T15:40:40Z","updated_at":"2015-05-04T16:19:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15995a43ff5a0c2c8ae9312cec03b8784ac61d04","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1/commits","review_comments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1/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/1/comments","statuses_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/5a2099f13be9c32de5597d1f59db289dcef560a4","head":{"label":"meronmks:GivePedWeapon","ref":"GivePedWeapon","sha":"5a2099f13be9c32de5597d1f59db289dcef560a4","user":{"login":"meronmks","id":12034371,"avatar_url":"https://avatars.githubusercontent.com/u/12034371?v=3","gravatar_id":"","url":"https://api.github.com/users/meronmks","html_url":"https://github.com/meronmks","followers_url":"https://api.github.com/users/meronmks/followers","following_url":"https://api.github.com/users/meronmks/following{/other_user}","gists_url":"https://api.github.com/users/meronmks/gists{/gist_id}","starred_url":"https://api.github.com/users/meronmks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meronmks/subscriptions","organizations_url":"https://api.github.com/users/meronmks/orgs","repos_url":"https://api.github.com/users/meronmks/repos","events_url":"https://api.github.com/users/meronmks/events{/privacy}","received_events_url":"https://api.github.com/users/meronmks/received_events","type":"User","site_admin":false},"repo":{"id":34991628,"name":"GTAV_InfernoScripts","full_name":"meronmks/GTAV_InfernoScripts","owner":{"login":"meronmks","id":12034371,"avatar_url":"https://avatars.githubusercontent.com/u/12034371?v=3","gravatar_id":"","url":"https://api.github.com/users/meronmks","html_url":"https://github.com/meronmks","followers_url":"https://api.github.com/users/meronmks/followers","following_url":"https://api.github.com/users/meronmks/following{/other_user}","gists_url":"https://api.github.com/users/meronmks/gists{/gist_id}","starred_url":"https://api.github.com/users/meronmks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meronmks/subscriptions","organizations_url":"https://api.github.com/users/meronmks/orgs","repos_url":"https://api.github.com/users/meronmks/repos","events_url":"https://api.github.com/users/meronmks/events{/privacy}","received_events_url":"https://api.github.com/users/meronmks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meronmks/GTAV_InfernoScripts","description":"GTAV用のカオスモードとインフェルノモードのソースコード","fork":true,"url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts","forks_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/forks","keys_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/teams","hooks_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/hooks","issue_events_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/issues/events{/number}","events_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/events","assignees_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/assignees{/user}","branches_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/branches{/branch}","tags_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/tags","blobs_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/statuses/{sha}","languages_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/languages","stargazers_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/stargazers","contributors_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/contributors","subscribers_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/subscribers","subscription_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/subscription","commits_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/contents/{+path}","compare_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/merges","archive_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/downloads","issues_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/issues{/number}","pulls_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/pulls{/number}","milestones_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/milestones{/number}","notifications_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/labels{/name}","releases_url":"https://api.github.com/repos/meronmks/GTAV_InfernoScripts/releases{/id}","created_at":"2015-05-03T16:00:08Z","updated_at":"2015-05-04T16:15:14Z","pushed_at":"2015-05-04T16:15:14Z","git_url":"git://github.com/meronmks/GTAV_InfernoScripts.git","ssh_url":"git@github.com:meronmks/GTAV_InfernoScripts.git","clone_url":"https://github.com/meronmks/GTAV_InfernoScripts.git","svn_url":"https://github.com/meronmks/GTAV_InfernoScripts","homepage":null,"size":0,"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":"TORISOUP:master","ref":"master","sha":"b0a621ebd63354919c4868249762e2fbd7a59f4e","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}","created_at":"2015-05-01T16:56:39Z","updated_at":"2015-05-04T15:44:54Z","pushed_at":"2015-05-04T16:15:14Z","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":0,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1"},"html":{"href":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/1"},"issue":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/1"},"comments":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/1/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/1/commits"},"statuses":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/5a2099f13be9c32de5597d1f59db289dcef560a4"}}}}