{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/13","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/13/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/13/events","html_url":"https://github.com/chrsmith/bwapi/issues/13","id":58648014,"number":13,"title":"UnitPrototype correcting","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Task","name":"Type-Task","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T21:07:32Z","updated_at":"2015-02-23T21:07:33Z","closed_at":"2015-02-23T21:07:33Z","body":"```\nWhen everything but unitID will be removed from BWAPI::UnitPrototype it will\n1) Be moved to BW namespace\n2) Be used insted the u16 for unitID everywhere\n3) So there won't be need for files like \nUnitPrototypeDefinitions.h\nUnitPrototypeDefinitions.cpp\nThat practicly doubled the info defined in UnitTypes.\ngetPrototype will not be also needed.\n\nI will just do unit->getType() (that returns the u16 now)\nunit->getType().methodOfUnitPrototype();\n\nThis will make the code much more clearer, smaller and more powerful\n\n```\n\n-----\nOriginal issue reported on code.google.com by `kovarex` on 20 May 2008 at 10:13"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75631900","html_url":"https://github.com/chrsmith/bwapi/issues/13#issuecomment-75631900","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/13","id":75631900,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T21:07:33Z","updated_at":"2015-02-23T21:07:33Z","body":"```\nAll done\n```\n\n-----\nOriginal comment by `kovarex` on 20 May 2008 at 1:48\n* Changed state: **Verified**"}}