{"action":"created","comment":{"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments/41616934","id":41616934,"diff_hunk":"@@ -0,0 +1,62 @@\n+﻿\r\n+namespace Inferno\r\n+{\r\n+    /// <summary>\r\n+    /// カウンターのインターフェース定義\r\n+    /// </summary>\r\n+    interface ICountTimer\r\n+    {\r\n+        int CurrentTickCounter { get; }\r\n+        float CounterRate { get; }\r\n+        void Initialization(float setTime);\r\n+        void TimerUpdate();\r\n+    }\r\n+\r\n+    class CountTimer : ICountTimer\r\n+    {\r\n+        //表示を消すまで残りループ回数\r\n+        private int currentTickCounter;\r\n+        //使い回す計算結果\r\n+        private float counterAdd;\r\n+        //カウンター\r\n+        private float counter;\r\n+        //少数部一時保存用\r\n+        private float counterMinority;\r\n+\r\n+        /// <summary>\r\n+        /// 時間を指定し、インスタンスの初期化をする\r\n+        /// </summary>\r\n+        /// <param name=\"setTime\">表示させたい時間</param>\r\n+        public CountTimer(float setTime)\r\n+        {\r\n+            Initialization(setTime);\r\n+        }\r\n+\r\n+        public int CurrentTickCounter { get { return currentTickCounter; } }\r","path":"Inferno/InfernoScripts/InfernoCore/Interface/CountTimer.cs","position":35,"original_position":35,"commit_id":"5d327506d736bfeabf82bdbee08ecfeea60be1c3","original_commit_id":"5d327506d736bfeabf82bdbee08ecfeea60be1c3","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":"Summryをちゃんと書く","created_at":"2015-10-09T10:28:09Z","updated_at":"2015-10-09T10:28:09Z","html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/20#discussion_r41616934","pull_request_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/comments/41616934"},"html":{"href":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/20#discussion_r41616934"},"pull_request":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20","id":44865391,"html_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/20","diff_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/20.diff","patch_url":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/20.patch","issue_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/20","number":20,"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":"やったこと\r\n* 車両の回転をクォータニオンでするように\r\n* ゲージ表示管理用のクラス作成\r\n* ニトロの再装填までが見た目でわかりやすいようにゲージ追加\r\n* 市ニトロにジャンプを搭載（仕様は４をだいたい引き継ぐ形で）","created_at":"2015-09-13T02:20:54Z","updated_at":"2015-10-09T10:28:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f30737aa72b67b8a9cd71dd6bbfa7687f9b717d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20/commits","review_comments_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20/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/20/comments","statuses_url":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/5d327506d736bfeabf82bdbee08ecfeea60be1c3","head":{"label":"meronmks:NitroPath","ref":"NitroPath","sha":"5d327506d736bfeabf82bdbee08ecfeea60be1c3","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-05T17:00:04Z","pushed_at":"2015-10-08T12:58:24Z","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":557,"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":"8c29ac5c81131d8ba8feae8fec117af7a08cf227","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-07-23T12:40:57Z","pushed_at":"2015-10-08T12:58:24Z","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":1067,"stargazers_count":6,"watchers_count":6,"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":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20"},"html":{"href":"https://github.com/TORISOUP/GTAV_InfernoScripts/pull/20"},"issue":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/20"},"comments":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/pulls/20/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/20/commits"},"statuses":{"href":"https://api.github.com/repos/TORISOUP/GTAV_InfernoScripts/statuses/5d327506d736bfeabf82bdbee08ecfeea60be1c3"}}}}