{"action":"created","issue":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/251","labels_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/251/comments","events_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/251/events","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/251","id":85861587,"number":251,"title":"IMyAssembler: Added queue management functions","user":{"login":"Sibz","id":12050358,"avatar_url":"https://avatars.githubusercontent.com/u/12050358?v=3","gravatar_id":"","url":"https://api.github.com/users/Sibz","html_url":"https://github.com/Sibz","followers_url":"https://api.github.com/users/Sibz/followers","following_url":"https://api.github.com/users/Sibz/following{/other_user}","gists_url":"https://api.github.com/users/Sibz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sibz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sibz/subscriptions","organizations_url":"https://api.github.com/users/Sibz/orgs","repos_url":"https://api.github.com/users/Sibz/repos","events_url":"https://api.github.com/users/Sibz/events{/privacy}","received_events_url":"https://api.github.com/users/Sibz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-07T05:36:55Z","updated_at":"2015-06-08T17:49:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/pulls/251","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/251","diff_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/251.diff","patch_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/251.patch"},"body":"Added the following functions:\r\n```c# \r\nbool AddQueueItem(string itemType, string subtypeName, int amount);\r\nint GetQueueCount();\r\nIMyAssemblerQueueItem GetQueueItemAt(int idx);\r\nvoid RemoveQueueItemAt(int idx);\r\nvoid ClearQueue();\r\nint CountQueueItems(string itemType, string subtypeName);\r\n```\r\nAdded interface IMyAssemblerQueueItem\r\n\r\nAdded class MyAssemblerQueueItem to MyAssembler\r\n\r\nUses existing functions that are sync friendly for modifying the queue.\r\n\r\nCompiles and tested OK.\r\nIn game test code: http://pastebin.com/ybWuqxTw\r\n\r\nCloses #96"},"comment":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/comments/110090493","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/251#issuecomment-110090493","issue_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/251","id":110090493,"user":{"login":"joemorin73","id":12202018,"avatar_url":"https://avatars.githubusercontent.com/u/12202018?v=3","gravatar_id":"","url":"https://api.github.com/users/joemorin73","html_url":"https://github.com/joemorin73","followers_url":"https://api.github.com/users/joemorin73/followers","following_url":"https://api.github.com/users/joemorin73/following{/other_user}","gists_url":"https://api.github.com/users/joemorin73/gists{/gist_id}","starred_url":"https://api.github.com/users/joemorin73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joemorin73/subscriptions","organizations_url":"https://api.github.com/users/joemorin73/orgs","repos_url":"https://api.github.com/users/joemorin73/repos","events_url":"https://api.github.com/users/joemorin73/events{/privacy}","received_events_url":"https://api.github.com/users/joemorin73/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T17:49:09Z","updated_at":"2015-06-08T17:49:09Z","body":"What would you think about adding an overload for AddQueueItem?\r\n\r\nbool AddQueueItem(string itemType, string subtypeName, int amount, int idx);\r\n\r\nAllow insertion within the queue."}}