{"action":"created","comment":{"url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments/173157620","pull_request_review_id":102287121,"id":173157620,"diff_hunk":"@@ -0,0 +1,40 @@\n+package ObjUtil\n+\n+import ObjectIds\n+import Assets\n+import LinkedList\n+\n+function asList(LinkedList<int> idList) returns string","path":"wurst/objediting/ObjUtil.wurst","position":7,"original_position":7,"commit_id":"56582a11f1485bead1371665b062a33e11d48605","original_commit_id":"56582a11f1485bead1371665b062a33e11d48605","user":{"login":"Frotty","id":1486037,"avatar_url":"https://avatars0.githubusercontent.com/u/1486037?v=4","gravatar_id":"","url":"https://api.github.com/users/Frotty","html_url":"https://github.com/Frotty","followers_url":"https://api.github.com/users/Frotty/followers","following_url":"https://api.github.com/users/Frotty/following{/other_user}","gists_url":"https://api.github.com/users/Frotty/gists{/gist_id}","starred_url":"https://api.github.com/users/Frotty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frotty/subscriptions","organizations_url":"https://api.github.com/users/Frotty/orgs","repos_url":"https://api.github.com/users/Frotty/repos","events_url":"https://api.github.com/users/Frotty/events{/privacy}","received_events_url":"https://api.github.com/users/Frotty/received_events","type":"User","site_admin":false},"body":"I'd prefer a generic solution that could be repurposed like so https://bin.wurstlang.org/wunomidoxe.wurst","created_at":"2018-03-08T13:33:33Z","updated_at":"2018-03-08T13:33:52Z","html_url":"https://github.com/wurstscript/WurstStdlib2/pull/53#discussion_r173157620","pull_request_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments/173157620"},"html":{"href":"https://github.com/wurstscript/WurstStdlib2/pull/53#discussion_r173157620"},"pull_request":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53","id":173687246,"html_url":"https://github.com/wurstscript/WurstStdlib2/pull/53","diff_url":"https://github.com/wurstscript/WurstStdlib2/pull/53.diff","patch_url":"https://github.com/wurstscript/WurstStdlib2/pull/53.patch","issue_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/53","number":53,"state":"open","locked":false,"title":"ObjUtil adds support for concatenating id lists","user":{"login":"karlek","id":1278705,"avatar_url":"https://avatars0.githubusercontent.com/u/1278705?v=4","gravatar_id":"","url":"https://api.github.com/users/karlek","html_url":"https://github.com/karlek","followers_url":"https://api.github.com/users/karlek/followers","following_url":"https://api.github.com/users/karlek/following{/other_user}","gists_url":"https://api.github.com/users/karlek/gists{/gist_id}","starred_url":"https://api.github.com/users/karlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlek/subscriptions","organizations_url":"https://api.github.com/users/karlek/orgs","repos_url":"https://api.github.com/users/karlek/repos","events_url":"https://api.github.com/users/karlek/events{/privacy}","received_events_url":"https://api.github.com/users/karlek/received_events","type":"User","site_admin":false},"body":"These convenience functions will protect against typos when concatenating id lists for spells or available buildings, etc. \r\n\r\nUsage:\r\n```go\r\nsetStructuresBuilt(asList(ID_GUARD_TOWER, ID_CANNON_TOWER))\r\nsetNormalAbilities(asList(ID_FIREBALL, ID_FIRE_NOVA))\r\n```\r\n\r\nAlso add extension functions for:\r\n\r\n- string.fourchar2int() returns int\r\n- int.int2fourchar() returns string","created_at":"2018-03-08T09:40:07Z","updated_at":"2018-03-08T13:33:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9703e74f75095cf11093ba2933a481663081a768","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53/commits","review_comments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53/comments","review_comment_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/53/comments","statuses_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/statuses/56582a11f1485bead1371665b062a33e11d48605","head":{"label":"karlek:objutil","ref":"objutil","sha":"56582a11f1485bead1371665b062a33e11d48605","user":{"login":"karlek","id":1278705,"avatar_url":"https://avatars0.githubusercontent.com/u/1278705?v=4","gravatar_id":"","url":"https://api.github.com/users/karlek","html_url":"https://github.com/karlek","followers_url":"https://api.github.com/users/karlek/followers","following_url":"https://api.github.com/users/karlek/following{/other_user}","gists_url":"https://api.github.com/users/karlek/gists{/gist_id}","starred_url":"https://api.github.com/users/karlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlek/subscriptions","organizations_url":"https://api.github.com/users/karlek/orgs","repos_url":"https://api.github.com/users/karlek/repos","events_url":"https://api.github.com/users/karlek/events{/privacy}","received_events_url":"https://api.github.com/users/karlek/received_events","type":"User","site_admin":false},"repo":{"id":117000336,"name":"WurstStdlib2","full_name":"karlek/WurstStdlib2","owner":{"login":"karlek","id":1278705,"avatar_url":"https://avatars0.githubusercontent.com/u/1278705?v=4","gravatar_id":"","url":"https://api.github.com/users/karlek","html_url":"https://github.com/karlek","followers_url":"https://api.github.com/users/karlek/followers","following_url":"https://api.github.com/users/karlek/following{/other_user}","gists_url":"https://api.github.com/users/karlek/gists{/gist_id}","starred_url":"https://api.github.com/users/karlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlek/subscriptions","organizations_url":"https://api.github.com/users/karlek/orgs","repos_url":"https://api.github.com/users/karlek/repos","events_url":"https://api.github.com/users/karlek/events{/privacy}","received_events_url":"https://api.github.com/users/karlek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karlek/WurstStdlib2","description":"WurstScript Standard Library Version 2","fork":true,"url":"https://api.github.com/repos/karlek/WurstStdlib2","forks_url":"https://api.github.com/repos/karlek/WurstStdlib2/forks","keys_url":"https://api.github.com/repos/karlek/WurstStdlib2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karlek/WurstStdlib2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karlek/WurstStdlib2/teams","hooks_url":"https://api.github.com/repos/karlek/WurstStdlib2/hooks","issue_events_url":"https://api.github.com/repos/karlek/WurstStdlib2/issues/events{/number}","events_url":"https://api.github.com/repos/karlek/WurstStdlib2/events","assignees_url":"https://api.github.com/repos/karlek/WurstStdlib2/assignees{/user}","branches_url":"https://api.github.com/repos/karlek/WurstStdlib2/branches{/branch}","tags_url":"https://api.github.com/repos/karlek/WurstStdlib2/tags","blobs_url":"https://api.github.com/repos/karlek/WurstStdlib2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karlek/WurstStdlib2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karlek/WurstStdlib2/git/refs{/sha}","trees_url":"https://api.github.com/repos/karlek/WurstStdlib2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karlek/WurstStdlib2/statuses/{sha}","languages_url":"https://api.github.com/repos/karlek/WurstStdlib2/languages","stargazers_url":"https://api.github.com/repos/karlek/WurstStdlib2/stargazers","contributors_url":"https://api.github.com/repos/karlek/WurstStdlib2/contributors","subscribers_url":"https://api.github.com/repos/karlek/WurstStdlib2/subscribers","subscription_url":"https://api.github.com/repos/karlek/WurstStdlib2/subscription","commits_url":"https://api.github.com/repos/karlek/WurstStdlib2/commits{/sha}","git_commits_url":"https://api.github.com/repos/karlek/WurstStdlib2/git/commits{/sha}","comments_url":"https://api.github.com/repos/karlek/WurstStdlib2/comments{/number}","issue_comment_url":"https://api.github.com/repos/karlek/WurstStdlib2/issues/comments{/number}","contents_url":"https://api.github.com/repos/karlek/WurstStdlib2/contents/{+path}","compare_url":"https://api.github.com/repos/karlek/WurstStdlib2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karlek/WurstStdlib2/merges","archive_url":"https://api.github.com/repos/karlek/WurstStdlib2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karlek/WurstStdlib2/downloads","issues_url":"https://api.github.com/repos/karlek/WurstStdlib2/issues{/number}","pulls_url":"https://api.github.com/repos/karlek/WurstStdlib2/pulls{/number}","milestones_url":"https://api.github.com/repos/karlek/WurstStdlib2/milestones{/number}","notifications_url":"https://api.github.com/repos/karlek/WurstStdlib2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karlek/WurstStdlib2/labels{/name}","releases_url":"https://api.github.com/repos/karlek/WurstStdlib2/releases{/id}","deployments_url":"https://api.github.com/repos/karlek/WurstStdlib2/deployments","created_at":"2018-01-10T19:18:11Z","updated_at":"2017-12-28T16:32:50Z","pushed_at":"2018-03-08T09:42:13Z","git_url":"git://github.com/karlek/WurstStdlib2.git","ssh_url":"git@github.com:karlek/WurstStdlib2.git","clone_url":"https://github.com/karlek/WurstStdlib2.git","svn_url":"https://github.com/karlek/WurstStdlib2","homepage":"","size":705,"stargazers_count":0,"watchers_count":0,"language":null,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wurstscript:master","ref":"master","sha":"1252f787dcb1b5970ee737f4fac3a09ee8aca898","user":{"login":"wurstscript","id":30814797,"avatar_url":"https://avatars3.githubusercontent.com/u/30814797?v=4","gravatar_id":"","url":"https://api.github.com/users/wurstscript","html_url":"https://github.com/wurstscript","followers_url":"https://api.github.com/users/wurstscript/followers","following_url":"https://api.github.com/users/wurstscript/following{/other_user}","gists_url":"https://api.github.com/users/wurstscript/gists{/gist_id}","starred_url":"https://api.github.com/users/wurstscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurstscript/subscriptions","organizations_url":"https://api.github.com/users/wurstscript/orgs","repos_url":"https://api.github.com/users/wurstscript/repos","events_url":"https://api.github.com/users/wurstscript/events{/privacy}","received_events_url":"https://api.github.com/users/wurstscript/received_events","type":"Organization","site_admin":false},"repo":{"id":55271025,"name":"WurstStdlib2","full_name":"wurstscript/WurstStdlib2","owner":{"login":"wurstscript","id":30814797,"avatar_url":"https://avatars3.githubusercontent.com/u/30814797?v=4","gravatar_id":"","url":"https://api.github.com/users/wurstscript","html_url":"https://github.com/wurstscript","followers_url":"https://api.github.com/users/wurstscript/followers","following_url":"https://api.github.com/users/wurstscript/following{/other_user}","gists_url":"https://api.github.com/users/wurstscript/gists{/gist_id}","starred_url":"https://api.github.com/users/wurstscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurstscript/subscriptions","organizations_url":"https://api.github.com/users/wurstscript/orgs","repos_url":"https://api.github.com/users/wurstscript/repos","events_url":"https://api.github.com/users/wurstscript/events{/privacy}","received_events_url":"https://api.github.com/users/wurstscript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wurstscript/WurstStdlib2","description":"WurstScript Standard Library Version 2","fork":false,"url":"https://api.github.com/repos/wurstscript/WurstStdlib2","forks_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/forks","keys_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/teams","hooks_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/hooks","issue_events_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/events{/number}","events_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/events","assignees_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/assignees{/user}","branches_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/branches{/branch}","tags_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/tags","blobs_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/refs{/sha}","trees_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/statuses/{sha}","languages_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/languages","stargazers_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/stargazers","contributors_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/contributors","subscribers_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/subscribers","subscription_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/subscription","commits_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/commits{/sha}","git_commits_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/commits{/sha}","comments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/comments{/number}","issue_comment_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/comments{/number}","contents_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/contents/{+path}","compare_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/merges","archive_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/downloads","issues_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues{/number}","pulls_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls{/number}","milestones_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/milestones{/number}","notifications_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/labels{/name}","releases_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/releases{/id}","deployments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/deployments","created_at":"2016-04-02T00:54:25Z","updated_at":"2018-01-21T02:44:20Z","pushed_at":"2018-03-08T09:44:06Z","git_url":"git://github.com/wurstscript/WurstStdlib2.git","ssh_url":"git@github.com:wurstscript/WurstStdlib2.git","clone_url":"https://github.com/wurstscript/WurstStdlib2.git","svn_url":"https://github.com/wurstscript/WurstStdlib2","homepage":"","size":684,"stargazers_count":11,"watchers_count":11,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":9,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53"},"html":{"href":"https://github.com/wurstscript/WurstStdlib2/pull/53"},"issue":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/53"},"comments":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/statuses/56582a11f1485bead1371665b062a33e11d48605"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Frotty"}}