{"action":"created","comment":{"url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/comments/79882372","id":79882372,"diff_hunk":"@@ -166,6 +168,47 @@ public double Zoomlevel\n \t\t\tset { Set(value); }\n \t\t}\n \n+\t\tpublic bool IsIncenseActive","path":"PokemonGo-UWP/Utils/Settings/SettingsService.cs","position":13,"original_position":13,"commit_id":"4583d0f65dcec0166e3a3f025b57d51bee82f001","original_commit_id":"4583d0f65dcec0166e3a3f025b57d51bee82f001","user":{"login":"BadiBasso","id":20957355,"avatar_url":"https://avatars.githubusercontent.com/u/20957355?v=3","gravatar_id":"","url":"https://api.github.com/users/BadiBasso","html_url":"https://github.com/BadiBasso","followers_url":"https://api.github.com/users/BadiBasso/followers","following_url":"https://api.github.com/users/BadiBasso/following{/other_user}","gists_url":"https://api.github.com/users/BadiBasso/gists{/gist_id}","starred_url":"https://api.github.com/users/BadiBasso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BadiBasso/subscriptions","organizations_url":"https://api.github.com/users/BadiBasso/orgs","repos_url":"https://api.github.com/users/BadiBasso/repos","events_url":"https://api.github.com/users/BadiBasso/events{/privacy}","received_events_url":"https://api.github.com/users/BadiBasso/received_events","type":"User","site_admin":false},"body":"@ST-Apps I think you are on the right track. Looked into the protos and querying AppliedItems seem to return id, type, and both activation and expiration time. So no need to save them locally.","created_at":"2016-09-21T17:02:08Z","updated_at":"2016-09-21T17:02:08Z","html_url":"https://github.com/ST-Apps/PoGo-UWP/pull/1690#discussion_r79882372","pull_request_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690","_links":{"self":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/comments/79882372"},"html":{"href":"https://github.com/ST-Apps/PoGo-UWP/pull/1690#discussion_r79882372"},"pull_request":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690"}}},"pull_request":{"url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690","id":86046086,"html_url":"https://github.com/ST-Apps/PoGo-UWP/pull/1690","diff_url":"https://github.com/ST-Apps/PoGo-UWP/pull/1690.diff","patch_url":"https://github.com/ST-Apps/PoGo-UWP/pull/1690.patch","issue_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues/1690","number":1690,"state":"open","locked":false,"title":"Use Incense and Lucky Egg, small UI change in Pokestop page","user":{"login":"mtaheij","id":769923,"avatar_url":"https://avatars.githubusercontent.com/u/769923?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaheij","html_url":"https://github.com/mtaheij","followers_url":"https://api.github.com/users/mtaheij/followers","following_url":"https://api.github.com/users/mtaheij/following{/other_user}","gists_url":"https://api.github.com/users/mtaheij/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaheij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaheij/subscriptions","organizations_url":"https://api.github.com/users/mtaheij/orgs","repos_url":"https://api.github.com/users/mtaheij/repos","events_url":"https://api.github.com/users/mtaheij/events{/privacy}","received_events_url":"https://api.github.com/users/mtaheij/received_events","type":"User","site_admin":false},"body":"Closes issues\r\n-------------\r\n- Closes #1662 (Thanks to the IncensePokemon retrieval by @BadiBasso)\r\n- Closes #1658 (Not sure it works on all screen sizes)\r\n\r\nChanges\r\n-------\r\n- Added ability to use Incense items and Lucky Eggs\r\n- On the Pokestop page, when a Lure module is installed, it will show the deployer name right away\r\n\r\nChange details\r\n--------------\r\nWhen using an Incense (of any type in your inventory), you will have Pokemon spawned in your location for 30 minutes.\r\nUsing a Lucky Egg will double earned XP for 30 minutes.\r\n![useincensequestion](https://cloud.githubusercontent.com/assets/769923/18686754/5af2aa82-7f7d-11e6-9292-b731665b5fef.png)\r\n![applieditems](https://cloud.githubusercontent.com/assets/769923/18686756/5e53fc9e-7f7d-11e6-884f-47f344caba95.png)\r\n\r\nOther informations\r\n------------------\r\nTODO:\r\n- A new class, RoundProgressBar is included, it should create a completely round progressbar like a clock, but it involves a lot of math to get it working. So for now, it's just a copy of the CircularProgressBar.\r\n- On the GameMapPage, there are Storyboards available (ShowAppliedItemStoryboard and HideAppliedItemStoryboard) that can be used to animate the activation of an applied item.\r\nI will leave these for someone that can animate the items when they have to appear and disappear.\r\n- There is a Textbox containing the ItemName of the applied Item, it must be shown when the applied item is selected in the AppliedItem list on the GameMapPage, but again, I do not know how to achieve this. May be someone can help.\r\n- For both above changes, you can test by using fake items, they will not take items from your inventory. To use, switch the following lines of code in ItemsInventoryPageViewModel.cs:\r\n```\r\nvar res = await GameClient.UseIncense(item.ItemId);\r\n//var res = GetFakeIncenseResponse(item.ItemId);\r\n```\r\nand\r\n```\r\nvar res = await GameClient.UseXpBoost(item.ItemId);\r\n//var res = GetFakeXpBoostResponse(item.ItemId);\r\n```","created_at":"2016-09-20T20:02:20Z","updated_at":"2016-09-21T17:02:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e081460aa4656a39c750299c75ef95ffed40367d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690/commits","review_comments_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690/comments","review_comment_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues/1690/comments","statuses_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/statuses/4583d0f65dcec0166e3a3f025b57d51bee82f001","head":{"label":"mtaheij:master","ref":"master","sha":"4583d0f65dcec0166e3a3f025b57d51bee82f001","user":{"login":"mtaheij","id":769923,"avatar_url":"https://avatars.githubusercontent.com/u/769923?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaheij","html_url":"https://github.com/mtaheij","followers_url":"https://api.github.com/users/mtaheij/followers","following_url":"https://api.github.com/users/mtaheij/following{/other_user}","gists_url":"https://api.github.com/users/mtaheij/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaheij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaheij/subscriptions","organizations_url":"https://api.github.com/users/mtaheij/orgs","repos_url":"https://api.github.com/users/mtaheij/repos","events_url":"https://api.github.com/users/mtaheij/events{/privacy}","received_events_url":"https://api.github.com/users/mtaheij/received_events","type":"User","site_admin":false},"repo":{"id":66388612,"name":"PoGo-UWP","full_name":"mtaheij/PoGo-UWP","owner":{"login":"mtaheij","id":769923,"avatar_url":"https://avatars.githubusercontent.com/u/769923?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaheij","html_url":"https://github.com/mtaheij","followers_url":"https://api.github.com/users/mtaheij/followers","following_url":"https://api.github.com/users/mtaheij/following{/other_user}","gists_url":"https://api.github.com/users/mtaheij/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaheij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaheij/subscriptions","organizations_url":"https://api.github.com/users/mtaheij/orgs","repos_url":"https://api.github.com/users/mtaheij/repos","events_url":"https://api.github.com/users/mtaheij/events{/privacy}","received_events_url":"https://api.github.com/users/mtaheij/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtaheij/PoGo-UWP","description":"UWP Client for Pokemon Go","fork":true,"url":"https://api.github.com/repos/mtaheij/PoGo-UWP","forks_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/forks","keys_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/teams","hooks_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/hooks","issue_events_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/issues/events{/number}","events_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/events","assignees_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/assignees{/user}","branches_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/branches{/branch}","tags_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/tags","blobs_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/statuses/{sha}","languages_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/languages","stargazers_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/stargazers","contributors_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/contributors","subscribers_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/subscribers","subscription_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/subscription","commits_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/contents/{+path}","compare_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/merges","archive_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/downloads","issues_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/issues{/number}","pulls_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/pulls{/number}","milestones_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/milestones{/number}","notifications_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/labels{/name}","releases_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/releases{/id}","deployments_url":"https://api.github.com/repos/mtaheij/PoGo-UWP/deployments","created_at":"2016-08-23T17:31:23Z","updated_at":"2016-08-23T17:31:27Z","pushed_at":"2016-09-21T16:31:09Z","git_url":"git://github.com/mtaheij/PoGo-UWP.git","ssh_url":"git@github.com:mtaheij/PoGo-UWP.git","clone_url":"https://github.com/mtaheij/PoGo-UWP.git","svn_url":"https://github.com/mtaheij/PoGo-UWP","homepage":"","size":251135,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ST-Apps:master","ref":"master","sha":"772b72cf54e5efaf48760554ce135a6260b290ce","user":{"login":"ST-Apps","id":20584116,"avatar_url":"https://avatars.githubusercontent.com/u/20584116?v=3","gravatar_id":"","url":"https://api.github.com/users/ST-Apps","html_url":"https://github.com/ST-Apps","followers_url":"https://api.github.com/users/ST-Apps/followers","following_url":"https://api.github.com/users/ST-Apps/following{/other_user}","gists_url":"https://api.github.com/users/ST-Apps/gists{/gist_id}","starred_url":"https://api.github.com/users/ST-Apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ST-Apps/subscriptions","organizations_url":"https://api.github.com/users/ST-Apps/orgs","repos_url":"https://api.github.com/users/ST-Apps/repos","events_url":"https://api.github.com/users/ST-Apps/events{/privacy}","received_events_url":"https://api.github.com/users/ST-Apps/received_events","type":"User","site_admin":false},"repo":{"id":63892154,"name":"PoGo-UWP","full_name":"ST-Apps/PoGo-UWP","owner":{"login":"ST-Apps","id":20584116,"avatar_url":"https://avatars.githubusercontent.com/u/20584116?v=3","gravatar_id":"","url":"https://api.github.com/users/ST-Apps","html_url":"https://github.com/ST-Apps","followers_url":"https://api.github.com/users/ST-Apps/followers","following_url":"https://api.github.com/users/ST-Apps/following{/other_user}","gists_url":"https://api.github.com/users/ST-Apps/gists{/gist_id}","starred_url":"https://api.github.com/users/ST-Apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ST-Apps/subscriptions","organizations_url":"https://api.github.com/users/ST-Apps/orgs","repos_url":"https://api.github.com/users/ST-Apps/repos","events_url":"https://api.github.com/users/ST-Apps/events{/privacy}","received_events_url":"https://api.github.com/users/ST-Apps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ST-Apps/PoGo-UWP","description":"UWP Client for Pokemon Go","fork":true,"url":"https://api.github.com/repos/ST-Apps/PoGo-UWP","forks_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/forks","keys_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/teams","hooks_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/hooks","issue_events_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues/events{/number}","events_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/events","assignees_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/assignees{/user}","branches_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/branches{/branch}","tags_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/tags","blobs_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/git/refs{/sha}","trees_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/statuses/{sha}","languages_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/languages","stargazers_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/stargazers","contributors_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/contributors","subscribers_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/subscribers","subscription_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/subscription","commits_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/commits{/sha}","git_commits_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/git/commits{/sha}","comments_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/comments{/number}","issue_comment_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues/comments{/number}","contents_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/contents/{+path}","compare_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/merges","archive_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/downloads","issues_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues{/number}","pulls_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls{/number}","milestones_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/milestones{/number}","notifications_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/labels{/name}","releases_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/releases{/id}","deployments_url":"https://api.github.com/repos/ST-Apps/PoGo-UWP/deployments","created_at":"2016-07-21T18:14:09Z","updated_at":"2016-09-21T13:16:24Z","pushed_at":"2016-09-21T14:35:15Z","git_url":"git://github.com/ST-Apps/PoGo-UWP.git","ssh_url":"git@github.com:ST-Apps/PoGo-UWP.git","clone_url":"https://github.com/ST-Apps/PoGo-UWP.git","svn_url":"https://github.com/ST-Apps/PoGo-UWP","homepage":"","size":295660,"stargazers_count":1013,"watchers_count":1013,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":466,"mirror_url":null,"open_issues_count":80,"forks":466,"open_issues":80,"watchers":1013,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690"},"html":{"href":"https://github.com/ST-Apps/PoGo-UWP/pull/1690"},"issue":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues/1690"},"comments":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/issues/1690/comments"},"review_comments":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690/comments"},"review_comment":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/pulls/1690/commits"},"statuses":{"href":"https://api.github.com/repos/ST-Apps/PoGo-UWP/statuses/4583d0f65dcec0166e3a3f025b57d51bee82f001"}}}}
{"actor":{"display_login":"BadiBasso"}}