{"action":"closed","number":112,"pull_request":{"url":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/112","id":45470923,"html_url":"https://github.com/RJacksonm1/node-dota2/pull/112","diff_url":"https://github.com/RJacksonm1/node-dota2/pull/112.diff","patch_url":"https://github.com/RJacksonm1/node-dota2/pull/112.patch","issue_url":"https://api.github.com/repos/RJacksonm1/node-dota2/issues/112","number":112,"state":"closed","locked":false,"title":"using proto enums","user":{"login":"howardchung","id":3134520,"avatar_url":"https://avatars.githubusercontent.com/u/3134520?v=3","gravatar_id":"","url":"https://api.github.com/users/howardchung","html_url":"https://github.com/howardchung","followers_url":"https://api.github.com/users/howardchung/followers","following_url":"https://api.github.com/users/howardchung/following{/other_user}","gists_url":"https://api.github.com/users/howardchung/gists{/gist_id}","starred_url":"https://api.github.com/users/howardchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howardchung/subscriptions","organizations_url":"https://api.github.com/users/howardchung/orgs","repos_url":"https://api.github.com/users/howardchung/repos","events_url":"https://api.github.com/users/howardchung/events{/privacy}","received_events_url":"https://api.github.com/users/howardchung/received_events","type":"User","site_admin":false},"body":"Turns out most of the mappings in messages.js are already in the .proto files and should be built into the builder object when we start up.\r\n\r\n* The exception is ServerRegions, which I just copied into index.js.\r\n* Added a npm script to update protos: `npm run update`\r\n* Enabled party handlers\r\n* Update protos\r\n","created_at":"2015-09-19T06:00:56Z","updated_at":"2015-09-20T04:31:25Z","closed_at":"2015-09-20T04:31:25Z","merged_at":"2015-09-20T04:31:25Z","merge_commit_sha":"ddbf218777d0e5c3f76803b958791eff1dd4797c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/112/commits","review_comments_url":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/112/comments","review_comment_url":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RJacksonm1/node-dota2/issues/112/comments","statuses_url":"https://api.github.com/repos/RJacksonm1/node-dota2/statuses/4d3468e43e8b4c2be82ee9a7bba67dfab9edf750","head":{"label":"yasp-dota:proto_enums","ref":"proto_enums","sha":"4d3468e43e8b4c2be82ee9a7bba67dfab9edf750","user":{"login":"yasp-dota","id":10602524,"avatar_url":"https://avatars.githubusercontent.com/u/10602524?v=3","gravatar_id":"","url":"https://api.github.com/users/yasp-dota","html_url":"https://github.com/yasp-dota","followers_url":"https://api.github.com/users/yasp-dota/followers","following_url":"https://api.github.com/users/yasp-dota/following{/other_user}","gists_url":"https://api.github.com/users/yasp-dota/gists{/gist_id}","starred_url":"https://api.github.com/users/yasp-dota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasp-dota/subscriptions","organizations_url":"https://api.github.com/users/yasp-dota/orgs","repos_url":"https://api.github.com/users/yasp-dota/repos","events_url":"https://api.github.com/users/yasp-dota/events{/privacy}","received_events_url":"https://api.github.com/users/yasp-dota/received_events","type":"Organization","site_admin":false},"repo":{"id":32771012,"name":"node-dota2","full_name":"yasp-dota/node-dota2","owner":{"login":"yasp-dota","id":10602524,"avatar_url":"https://avatars.githubusercontent.com/u/10602524?v=3","gravatar_id":"","url":"https://api.github.com/users/yasp-dota","html_url":"https://github.com/yasp-dota","followers_url":"https://api.github.com/users/yasp-dota/followers","following_url":"https://api.github.com/users/yasp-dota/following{/other_user}","gists_url":"https://api.github.com/users/yasp-dota/gists{/gist_id}","starred_url":"https://api.github.com/users/yasp-dota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasp-dota/subscriptions","organizations_url":"https://api.github.com/users/yasp-dota/orgs","repos_url":"https://api.github.com/users/yasp-dota/repos","events_url":"https://api.github.com/users/yasp-dota/events{/privacy}","received_events_url":"https://api.github.com/users/yasp-dota/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yasp-dota/node-dota2","description":"A node-steam plugin for Dota 2.","fork":true,"url":"https://api.github.com/repos/yasp-dota/node-dota2","forks_url":"https://api.github.com/repos/yasp-dota/node-dota2/forks","keys_url":"https://api.github.com/repos/yasp-dota/node-dota2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasp-dota/node-dota2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasp-dota/node-dota2/teams","hooks_url":"https://api.github.com/repos/yasp-dota/node-dota2/hooks","issue_events_url":"https://api.github.com/repos/yasp-dota/node-dota2/issues/events{/number}","events_url":"https://api.github.com/repos/yasp-dota/node-dota2/events","assignees_url":"https://api.github.com/repos/yasp-dota/node-dota2/assignees{/user}","branches_url":"https://api.github.com/repos/yasp-dota/node-dota2/branches{/branch}","tags_url":"https://api.github.com/repos/yasp-dota/node-dota2/tags","blobs_url":"https://api.github.com/repos/yasp-dota/node-dota2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasp-dota/node-dota2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasp-dota/node-dota2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasp-dota/node-dota2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasp-dota/node-dota2/statuses/{sha}","languages_url":"https://api.github.com/repos/yasp-dota/node-dota2/languages","stargazers_url":"https://api.github.com/repos/yasp-dota/node-dota2/stargazers","contributors_url":"https://api.github.com/repos/yasp-dota/node-dota2/contributors","subscribers_url":"https://api.github.com/repos/yasp-dota/node-dota2/subscribers","subscription_url":"https://api.github.com/repos/yasp-dota/node-dota2/subscription","commits_url":"https://api.github.com/repos/yasp-dota/node-dota2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasp-dota/node-dota2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasp-dota/node-dota2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasp-dota/node-dota2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasp-dota/node-dota2/contents/{+path}","compare_url":"https://api.github.com/repos/yasp-dota/node-dota2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasp-dota/node-dota2/merges","archive_url":"https://api.github.com/repos/yasp-dota/node-dota2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasp-dota/node-dota2/downloads","issues_url":"https://api.github.com/repos/yasp-dota/node-dota2/issues{/number}","pulls_url":"https://api.github.com/repos/yasp-dota/node-dota2/pulls{/number}","milestones_url":"https://api.github.com/repos/yasp-dota/node-dota2/milestones{/number}","notifications_url":"https://api.github.com/repos/yasp-dota/node-dota2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasp-dota/node-dota2/labels{/name}","releases_url":"https://api.github.com/repos/yasp-dota/node-dota2/releases{/id}","created_at":"2015-03-24T02:21:13Z","updated_at":"2015-07-01T20:30:44Z","pushed_at":"2015-09-19T06:06:25Z","git_url":"git://github.com/yasp-dota/node-dota2.git","ssh_url":"git@github.com:yasp-dota/node-dota2.git","clone_url":"https://github.com/yasp-dota/node-dota2.git","svn_url":"https://github.com/yasp-dota/node-dota2","homepage":"","size":709,"stargazers_count":0,"watchers_count":0,"language":"Protocol Buffer","has_issues":false,"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"}},"base":{"label":"RJacksonm1:1.0.0-dev","ref":"1.0.0-dev","sha":"91aef0ab3191a2cf9cee46f3a80e6c1269ce6ac6","user":{"login":"RJacksonm1","id":602850,"avatar_url":"https://avatars.githubusercontent.com/u/602850?v=3","gravatar_id":"","url":"https://api.github.com/users/RJacksonm1","html_url":"https://github.com/RJacksonm1","followers_url":"https://api.github.com/users/RJacksonm1/followers","following_url":"https://api.github.com/users/RJacksonm1/following{/other_user}","gists_url":"https://api.github.com/users/RJacksonm1/gists{/gist_id}","starred_url":"https://api.github.com/users/RJacksonm1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJacksonm1/subscriptions","organizations_url":"https://api.github.com/users/RJacksonm1/orgs","repos_url":"https://api.github.com/users/RJacksonm1/repos","events_url":"https://api.github.com/users/RJacksonm1/events{/privacy}","received_events_url":"https://api.github.com/users/RJacksonm1/received_events","type":"User","site_admin":false},"repo":{"id":11098955,"name":"node-dota2","full_name":"RJacksonm1/node-dota2","owner":{"login":"RJacksonm1","id":602850,"avatar_url":"https://avatars.githubusercontent.com/u/602850?v=3","gravatar_id":"","url":"https://api.github.com/users/RJacksonm1","html_url":"https://github.com/RJacksonm1","followers_url":"https://api.github.com/users/RJacksonm1/followers","following_url":"https://api.github.com/users/RJacksonm1/following{/other_user}","gists_url":"https://api.github.com/users/RJacksonm1/gists{/gist_id}","starred_url":"https://api.github.com/users/RJacksonm1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJacksonm1/subscriptions","organizations_url":"https://api.github.com/users/RJacksonm1/orgs","repos_url":"https://api.github.com/users/RJacksonm1/repos","events_url":"https://api.github.com/users/RJacksonm1/events{/privacy}","received_events_url":"https://api.github.com/users/RJacksonm1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RJacksonm1/node-dota2","description":"A node-steam plugin for Dota 2.","fork":false,"url":"https://api.github.com/repos/RJacksonm1/node-dota2","forks_url":"https://api.github.com/repos/RJacksonm1/node-dota2/forks","keys_url":"https://api.github.com/repos/RJacksonm1/node-dota2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RJacksonm1/node-dota2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RJacksonm1/node-dota2/teams","hooks_url":"https://api.github.com/repos/RJacksonm1/node-dota2/hooks","issue_events_url":"https://api.github.com/repos/RJacksonm1/node-dota2/issues/events{/number}","events_url":"https://api.github.com/repos/RJacksonm1/node-dota2/events","assignees_url":"https://api.github.com/repos/RJacksonm1/node-dota2/assignees{/user}","branches_url":"https://api.github.com/repos/RJacksonm1/node-dota2/branches{/branch}","tags_url":"https://api.github.com/repos/RJacksonm1/node-dota2/tags","blobs_url":"https://api.github.com/repos/RJacksonm1/node-dota2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RJacksonm1/node-dota2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RJacksonm1/node-dota2/git/refs{/sha}","trees_url":"https://api.github.com/repos/RJacksonm1/node-dota2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RJacksonm1/node-dota2/statuses/{sha}","languages_url":"https://api.github.com/repos/RJacksonm1/node-dota2/languages","stargazers_url":"https://api.github.com/repos/RJacksonm1/node-dota2/stargazers","contributors_url":"https://api.github.com/repos/RJacksonm1/node-dota2/contributors","subscribers_url":"https://api.github.com/repos/RJacksonm1/node-dota2/subscribers","subscription_url":"https://api.github.com/repos/RJacksonm1/node-dota2/subscription","commits_url":"https://api.github.com/repos/RJacksonm1/node-dota2/commits{/sha}","git_commits_url":"https://api.github.com/repos/RJacksonm1/node-dota2/git/commits{/sha}","comments_url":"https://api.github.com/repos/RJacksonm1/node-dota2/comments{/number}","issue_comment_url":"https://api.github.com/repos/RJacksonm1/node-dota2/issues/comments{/number}","contents_url":"https://api.github.com/repos/RJacksonm1/node-dota2/contents/{+path}","compare_url":"https://api.github.com/repos/RJacksonm1/node-dota2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RJacksonm1/node-dota2/merges","archive_url":"https://api.github.com/repos/RJacksonm1/node-dota2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RJacksonm1/node-dota2/downloads","issues_url":"https://api.github.com/repos/RJacksonm1/node-dota2/issues{/number}","pulls_url":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls{/number}","milestones_url":"https://api.github.com/repos/RJacksonm1/node-dota2/milestones{/number}","notifications_url":"https://api.github.com/repos/RJacksonm1/node-dota2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RJacksonm1/node-dota2/labels{/name}","releases_url":"https://api.github.com/repos/RJacksonm1/node-dota2/releases{/id}","created_at":"2013-07-01T15:30:09Z","updated_at":"2015-09-16T17:19:05Z","pushed_at":"2015-09-20T04:31:25Z","git_url":"git://github.com/RJacksonm1/node-dota2.git","ssh_url":"git@github.com:RJacksonm1/node-dota2.git","clone_url":"https://github.com/RJacksonm1/node-dota2.git","svn_url":"https://github.com/RJacksonm1/node-dota2","homepage":"","size":1161,"stargazers_count":141,"watchers_count":141,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":13,"forks":67,"open_issues":13,"watchers":141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/112"},"html":{"href":"https://github.com/RJacksonm1/node-dota2/pull/112"},"issue":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/issues/112"},"comments":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/RJacksonm1/node-dota2/statuses/4d3468e43e8b4c2be82ee9a7bba67dfab9edf750"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jimmydorry","id":5135141,"avatar_url":"https://avatars.githubusercontent.com/u/5135141?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmydorry","html_url":"https://github.com/jimmydorry","followers_url":"https://api.github.com/users/jimmydorry/followers","following_url":"https://api.github.com/users/jimmydorry/following{/other_user}","gists_url":"https://api.github.com/users/jimmydorry/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmydorry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmydorry/subscriptions","organizations_url":"https://api.github.com/users/jimmydorry/orgs","repos_url":"https://api.github.com/users/jimmydorry/repos","events_url":"https://api.github.com/users/jimmydorry/events{/privacy}","received_events_url":"https://api.github.com/users/jimmydorry/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":129,"deletions":250,"changed_files":18}}