{"action":"created","comment":{"url":"https://api.github.com/repos/runelite/runelite/pulls/comments/187384322","pull_request_review_id":119154562,"id":187384322,"diff_hunk":"@@ -0,0 +1,93 @@\n+/*\n+ * Copyright (c) 2018 Chdata\n+ * All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ *\n+ * 1. Redistributions of source code must retain the above copyright notice, this\n+ *    list of conditions and the following disclaimer.\n+ * 2. Redistributions in binary form must reproduce the above copyright notice,\n+ *    this list of conditions and the following disclaimer in the documentation\n+ *    and/or other materials provided with the distribution.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\n+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+package net.runelite.client.plugins.prayerbar;\n+\n+import java.awt.Color;\n+import net.runelite.client.config.Config;\n+import net.runelite.client.config.ConfigGroup;\n+import net.runelite.client.config.ConfigItem;\n+\n+@ConfigGroup(\n+\tkeyName = \"prayerbar\",\n+\tname = \"Prayer Bar\",\n+\tdescription = \"Configuration for the overhead prayer bar\"\n+)\n+public interface PrayerBarConfig extends Config\n+{\n+\t@ConfigItem(\n+\t\tkeyName = \"prayerBarHideIfNotPraying\",\n+\t\tname = \"Hide while prayer is inactive\",\n+\t\tdescription = \"Prayer bar will be hidden while prayers are inactivate.\",\n+\t\tposition = 1\n+\t)\n+\tdefault boolean hideIfNotPraying()\n+\t{\n+\t\treturn true;\n+\t}\n+\n+\t@ConfigItem(\n+\t\tkeyName = \"prayerBarHideIfNonCombat\",\n+\t\tname = \"Hide while out-of-combat\",\n+\t\tdescription = \"Prayer bar will be hidden while out-of-combat.\",\n+\t\tposition = 2\n+\t)\n+\tdefault boolean hideIfOutOfCombat()\n+\t{\n+\t\treturn false;\n+\t}\n+\n+\t@ConfigItem(\n+\t\tkeyName = \"prayerBarFgColor\",\n+\t\tname = \"Prayer Bar FG Color\",\n+\t\tdescription = \"Color of the overhead prayer bar\",\n+\t\tposition = 3\n+\t)\n+\tdefault Color getPrayerBarColor()\n+\t{\n+\t\treturn Color.cyan;\n+\t}\n+\n+\t@ConfigItem(\n+\t\tkeyName = \"prayerBarBgColor\",\n+\t\tname = \"Prayer Bar BG Color\",\n+\t\tdescription = \"Color of the background of the overhead prayer bar\",\n+\t\tposition = 4\n+\t)\n+\tdefault Color getPrayerBarBackgroundColor()","path":"runelite-client/src/main/java/net/runelite/client/plugins/prayerbar/PrayerBarConfig.java","position":78,"original_position":78,"commit_id":"f0a9198bdf53b7206bc5a7d7e81f1fb6ec9b9cb8","original_commit_id":"f0a9198bdf53b7206bc5a7d7e81f1fb6ec9b9cb8","user":{"login":"deathbeam","id":5115805,"avatar_url":"https://avatars3.githubusercontent.com/u/5115805?v=4","gravatar_id":"","url":"https://api.github.com/users/deathbeam","html_url":"https://github.com/deathbeam","followers_url":"https://api.github.com/users/deathbeam/followers","following_url":"https://api.github.com/users/deathbeam/following{/other_user}","gists_url":"https://api.github.com/users/deathbeam/gists{/gist_id}","starred_url":"https://api.github.com/users/deathbeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathbeam/subscriptions","organizations_url":"https://api.github.com/users/deathbeam/orgs","repos_url":"https://api.github.com/users/deathbeam/repos","events_url":"https://api.github.com/users/deathbeam/events{/privacy}","received_events_url":"https://api.github.com/users/deathbeam/received_events","type":"User","site_admin":false},"body":"See my previous comment","created_at":"2018-05-10T16:30:18Z","updated_at":"2018-05-10T16:34:17Z","html_url":"https://github.com/runelite/runelite/pull/2549#discussion_r187384322","pull_request_url":"https://api.github.com/repos/runelite/runelite/pulls/2549","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/runelite/runelite/pulls/comments/187384322"},"html":{"href":"https://github.com/runelite/runelite/pull/2549#discussion_r187384322"},"pull_request":{"href":"https://api.github.com/repos/runelite/runelite/pulls/2549"}}},"pull_request":{"url":"https://api.github.com/repos/runelite/runelite/pulls/2549","id":187227194,"html_url":"https://github.com/runelite/runelite/pull/2549","diff_url":"https://github.com/runelite/runelite/pull/2549.diff","patch_url":"https://github.com/runelite/runelite/pull/2549.patch","issue_url":"https://api.github.com/repos/runelite/runelite/issues/2549","number":2549,"state":"open","locked":false,"title":"Prayer bar","user":{"login":"Chdata","id":5341444,"avatar_url":"https://avatars1.githubusercontent.com/u/5341444?v=4","gravatar_id":"","url":"https://api.github.com/users/Chdata","html_url":"https://github.com/Chdata","followers_url":"https://api.github.com/users/Chdata/followers","following_url":"https://api.github.com/users/Chdata/following{/other_user}","gists_url":"https://api.github.com/users/Chdata/gists{/gist_id}","starred_url":"https://api.github.com/users/Chdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chdata/subscriptions","organizations_url":"https://api.github.com/users/Chdata/orgs","repos_url":"https://api.github.com/users/Chdata/repos","events_url":"https://api.github.com/users/Chdata/events{/privacy}","received_events_url":"https://api.github.com/users/Chdata/received_events","type":"User","site_admin":false},"body":"Adds a toggle-able prayer bar underneath the health bar, indicating your amount of prayer left.\r\n\r\nit can be toggled to show only while praying, only show if your health bar is also visible, or simply be \"always on\".\r\n\r\nColors for the fill and background of the bar can also be configured.\r\n\r\n![image](https://user-images.githubusercontent.com/5341444/39879212-d2011292-543f-11e8-8970-50c69ac79d7a.png)\r\n\r\n![image](https://user-images.githubusercontent.com/5341444/39879264-f7b23a48-543f-11e8-8a13-46ed9d1105df.png)","created_at":"2018-05-10T15:35:07Z","updated_at":"2018-05-10T16:34:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33aaf80ce15458082d61c430e6c993cf537fdcdd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":771846940,"url":"https://api.github.com/repos/runelite/runelite/labels/feature-request","name":"feature-request","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/runelite/runelite/pulls/2549/commits","review_comments_url":"https://api.github.com/repos/runelite/runelite/pulls/2549/comments","review_comment_url":"https://api.github.com/repos/runelite/runelite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runelite/runelite/issues/2549/comments","statuses_url":"https://api.github.com/repos/runelite/runelite/statuses/f0a9198bdf53b7206bc5a7d7e81f1fb6ec9b9cb8","head":{"label":"Chdata:prayer-bar","ref":"prayer-bar","sha":"f0a9198bdf53b7206bc5a7d7e81f1fb6ec9b9cb8","user":{"login":"Chdata","id":5341444,"avatar_url":"https://avatars1.githubusercontent.com/u/5341444?v=4","gravatar_id":"","url":"https://api.github.com/users/Chdata","html_url":"https://github.com/Chdata","followers_url":"https://api.github.com/users/Chdata/followers","following_url":"https://api.github.com/users/Chdata/following{/other_user}","gists_url":"https://api.github.com/users/Chdata/gists{/gist_id}","starred_url":"https://api.github.com/users/Chdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chdata/subscriptions","organizations_url":"https://api.github.com/users/Chdata/orgs","repos_url":"https://api.github.com/users/Chdata/repos","events_url":"https://api.github.com/users/Chdata/events{/privacy}","received_events_url":"https://api.github.com/users/Chdata/received_events","type":"User","site_admin":false},"repo":{"id":132793940,"name":"runelite","full_name":"Chdata/runelite","owner":{"login":"Chdata","id":5341444,"avatar_url":"https://avatars1.githubusercontent.com/u/5341444?v=4","gravatar_id":"","url":"https://api.github.com/users/Chdata","html_url":"https://github.com/Chdata","followers_url":"https://api.github.com/users/Chdata/followers","following_url":"https://api.github.com/users/Chdata/following{/other_user}","gists_url":"https://api.github.com/users/Chdata/gists{/gist_id}","starred_url":"https://api.github.com/users/Chdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chdata/subscriptions","organizations_url":"https://api.github.com/users/Chdata/orgs","repos_url":"https://api.github.com/users/Chdata/repos","events_url":"https://api.github.com/users/Chdata/events{/privacy}","received_events_url":"https://api.github.com/users/Chdata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chdata/runelite","description":"Open source Old School RuneScape client","fork":true,"url":"https://api.github.com/repos/Chdata/runelite","forks_url":"https://api.github.com/repos/Chdata/runelite/forks","keys_url":"https://api.github.com/repos/Chdata/runelite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chdata/runelite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chdata/runelite/teams","hooks_url":"https://api.github.com/repos/Chdata/runelite/hooks","issue_events_url":"https://api.github.com/repos/Chdata/runelite/issues/events{/number}","events_url":"https://api.github.com/repos/Chdata/runelite/events","assignees_url":"https://api.github.com/repos/Chdata/runelite/assignees{/user}","branches_url":"https://api.github.com/repos/Chdata/runelite/branches{/branch}","tags_url":"https://api.github.com/repos/Chdata/runelite/tags","blobs_url":"https://api.github.com/repos/Chdata/runelite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chdata/runelite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chdata/runelite/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chdata/runelite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chdata/runelite/statuses/{sha}","languages_url":"https://api.github.com/repos/Chdata/runelite/languages","stargazers_url":"https://api.github.com/repos/Chdata/runelite/stargazers","contributors_url":"https://api.github.com/repos/Chdata/runelite/contributors","subscribers_url":"https://api.github.com/repos/Chdata/runelite/subscribers","subscription_url":"https://api.github.com/repos/Chdata/runelite/subscription","commits_url":"https://api.github.com/repos/Chdata/runelite/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chdata/runelite/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chdata/runelite/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chdata/runelite/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chdata/runelite/contents/{+path}","compare_url":"https://api.github.com/repos/Chdata/runelite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chdata/runelite/merges","archive_url":"https://api.github.com/repos/Chdata/runelite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chdata/runelite/downloads","issues_url":"https://api.github.com/repos/Chdata/runelite/issues{/number}","pulls_url":"https://api.github.com/repos/Chdata/runelite/pulls{/number}","milestones_url":"https://api.github.com/repos/Chdata/runelite/milestones{/number}","notifications_url":"https://api.github.com/repos/Chdata/runelite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chdata/runelite/labels{/name}","releases_url":"https://api.github.com/repos/Chdata/runelite/releases{/id}","deployments_url":"https://api.github.com/repos/Chdata/runelite/deployments","created_at":"2018-05-09T17:54:16Z","updated_at":"2018-05-09T17:54:23Z","pushed_at":"2018-05-10T15:34:14Z","git_url":"git://github.com/Chdata/runelite.git","ssh_url":"git@github.com:Chdata/runelite.git","clone_url":"https://github.com/Chdata/runelite.git","svn_url":"https://github.com/Chdata/runelite","homepage":"https://runelite.net","size":39715,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"runelite:master","ref":"master","sha":"f86f9286579ac361c98913a3a526634bfda8591e","user":{"login":"runelite","id":13814776,"avatar_url":"https://avatars1.githubusercontent.com/u/13814776?v=4","gravatar_id":"","url":"https://api.github.com/users/runelite","html_url":"https://github.com/runelite","followers_url":"https://api.github.com/users/runelite/followers","following_url":"https://api.github.com/users/runelite/following{/other_user}","gists_url":"https://api.github.com/users/runelite/gists{/gist_id}","starred_url":"https://api.github.com/users/runelite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runelite/subscriptions","organizations_url":"https://api.github.com/users/runelite/orgs","repos_url":"https://api.github.com/users/runelite/repos","events_url":"https://api.github.com/users/runelite/events{/privacy}","received_events_url":"https://api.github.com/users/runelite/received_events","type":"Organization","site_admin":false},"repo":{"id":57461213,"name":"runelite","full_name":"runelite/runelite","owner":{"login":"runelite","id":13814776,"avatar_url":"https://avatars1.githubusercontent.com/u/13814776?v=4","gravatar_id":"","url":"https://api.github.com/users/runelite","html_url":"https://github.com/runelite","followers_url":"https://api.github.com/users/runelite/followers","following_url":"https://api.github.com/users/runelite/following{/other_user}","gists_url":"https://api.github.com/users/runelite/gists{/gist_id}","starred_url":"https://api.github.com/users/runelite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runelite/subscriptions","organizations_url":"https://api.github.com/users/runelite/orgs","repos_url":"https://api.github.com/users/runelite/repos","events_url":"https://api.github.com/users/runelite/events{/privacy}","received_events_url":"https://api.github.com/users/runelite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runelite/runelite","description":"Open source Old School RuneScape client","fork":false,"url":"https://api.github.com/repos/runelite/runelite","forks_url":"https://api.github.com/repos/runelite/runelite/forks","keys_url":"https://api.github.com/repos/runelite/runelite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runelite/runelite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runelite/runelite/teams","hooks_url":"https://api.github.com/repos/runelite/runelite/hooks","issue_events_url":"https://api.github.com/repos/runelite/runelite/issues/events{/number}","events_url":"https://api.github.com/repos/runelite/runelite/events","assignees_url":"https://api.github.com/repos/runelite/runelite/assignees{/user}","branches_url":"https://api.github.com/repos/runelite/runelite/branches{/branch}","tags_url":"https://api.github.com/repos/runelite/runelite/tags","blobs_url":"https://api.github.com/repos/runelite/runelite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runelite/runelite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runelite/runelite/git/refs{/sha}","trees_url":"https://api.github.com/repos/runelite/runelite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runelite/runelite/statuses/{sha}","languages_url":"https://api.github.com/repos/runelite/runelite/languages","stargazers_url":"https://api.github.com/repos/runelite/runelite/stargazers","contributors_url":"https://api.github.com/repos/runelite/runelite/contributors","subscribers_url":"https://api.github.com/repos/runelite/runelite/subscribers","subscription_url":"https://api.github.com/repos/runelite/runelite/subscription","commits_url":"https://api.github.com/repos/runelite/runelite/commits{/sha}","git_commits_url":"https://api.github.com/repos/runelite/runelite/git/commits{/sha}","comments_url":"https://api.github.com/repos/runelite/runelite/comments{/number}","issue_comment_url":"https://api.github.com/repos/runelite/runelite/issues/comments{/number}","contents_url":"https://api.github.com/repos/runelite/runelite/contents/{+path}","compare_url":"https://api.github.com/repos/runelite/runelite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runelite/runelite/merges","archive_url":"https://api.github.com/repos/runelite/runelite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runelite/runelite/downloads","issues_url":"https://api.github.com/repos/runelite/runelite/issues{/number}","pulls_url":"https://api.github.com/repos/runelite/runelite/pulls{/number}","milestones_url":"https://api.github.com/repos/runelite/runelite/milestones{/number}","notifications_url":"https://api.github.com/repos/runelite/runelite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runelite/runelite/labels{/name}","releases_url":"https://api.github.com/repos/runelite/runelite/releases{/id}","deployments_url":"https://api.github.com/repos/runelite/runelite/deployments","created_at":"2016-04-30T20:48:02Z","updated_at":"2018-05-10T16:28:20Z","pushed_at":"2018-05-10T16:27:50Z","git_url":"git://github.com/runelite/runelite.git","ssh_url":"git@github.com:runelite/runelite.git","clone_url":"https://github.com/runelite/runelite.git","svn_url":"https://github.com/runelite/runelite","homepage":"https://runelite.net","size":39705,"stargazers_count":511,"watchers_count":511,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":477,"mirror_url":null,"archived":false,"open_issues_count":741,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":477,"open_issues":741,"watchers":511,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runelite/runelite/pulls/2549"},"html":{"href":"https://github.com/runelite/runelite/pull/2549"},"issue":{"href":"https://api.github.com/repos/runelite/runelite/issues/2549"},"comments":{"href":"https://api.github.com/repos/runelite/runelite/issues/2549/comments"},"review_comments":{"href":"https://api.github.com/repos/runelite/runelite/pulls/2549/comments"},"review_comment":{"href":"https://api.github.com/repos/runelite/runelite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runelite/runelite/pulls/2549/commits"},"statuses":{"href":"https://api.github.com/repos/runelite/runelite/statuses/f0a9198bdf53b7206bc5a7d7e81f1fb6ec9b9cb8"}},"author_association":"NONE"}}
{"actor":{"display_login":"deathbeam"}}