{"action":"created","issue":{"url":"https://api.github.com/repos/gdsmithrus/Multirun/issues/9","repository_url":"https://api.github.com/repos/gdsmithrus/Multirun","labels_url":"https://api.github.com/repos/gdsmithrus/Multirun/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/gdsmithrus/Multirun/issues/9/comments","events_url":"https://api.github.com/repos/gdsmithrus/Multirun/issues/9/events","html_url":"https://github.com/gdsmithrus/Multirun/issues/9","id":354503625,"node_id":"MDU6SXNzdWUzNTQ1MDM2MjU=","number":9,"title":"Реализовать поиск передаваемых аргументов ","user":{"login":"gdsmithrus","id":37711642,"node_id":"MDQ6VXNlcjM3NzExNjQy","avatar_url":"https://avatars3.githubusercontent.com/u/37711642?v=4","gravatar_id":"","url":"https://api.github.com/users/gdsmithrus","html_url":"https://github.com/gdsmithrus","followers_url":"https://api.github.com/users/gdsmithrus/followers","following_url":"https://api.github.com/users/gdsmithrus/following{/other_user}","gists_url":"https://api.github.com/users/gdsmithrus/gists{/gist_id}","starred_url":"https://api.github.com/users/gdsmithrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdsmithrus/subscriptions","organizations_url":"https://api.github.com/users/gdsmithrus/orgs","repos_url":"https://api.github.com/users/gdsmithrus/repos","events_url":"https://api.github.com/users/gdsmithrus/events{/privacy}","received_events_url":"https://api.github.com/users/gdsmithrus/received_events","type":"User","site_admin":false},"labels":[{"id":1025441329,"node_id":"MDU6TGFiZWwxMDI1NDQxMzI5","url":"https://api.github.com/repos/gdsmithrus/Multirun/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"gdsmithrus","id":37711642,"node_id":"MDQ6VXNlcjM3NzExNjQy","avatar_url":"https://avatars3.githubusercontent.com/u/37711642?v=4","gravatar_id":"","url":"https://api.github.com/users/gdsmithrus","html_url":"https://github.com/gdsmithrus","followers_url":"https://api.github.com/users/gdsmithrus/followers","following_url":"https://api.github.com/users/gdsmithrus/following{/other_user}","gists_url":"https://api.github.com/users/gdsmithrus/gists{/gist_id}","starred_url":"https://api.github.com/users/gdsmithrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdsmithrus/subscriptions","organizations_url":"https://api.github.com/users/gdsmithrus/orgs","repos_url":"https://api.github.com/users/gdsmithrus/repos","events_url":"https://api.github.com/users/gdsmithrus/events{/privacy}","received_events_url":"https://api.github.com/users/gdsmithrus/received_events","type":"User","site_admin":false},"assignees":[{"login":"gdsmithrus","id":37711642,"node_id":"MDQ6VXNlcjM3NzExNjQy","avatar_url":"https://avatars3.githubusercontent.com/u/37711642?v=4","gravatar_id":"","url":"https://api.github.com/users/gdsmithrus","html_url":"https://github.com/gdsmithrus","followers_url":"https://api.github.com/users/gdsmithrus/followers","following_url":"https://api.github.com/users/gdsmithrus/following{/other_user}","gists_url":"https://api.github.com/users/gdsmithrus/gists{/gist_id}","starred_url":"https://api.github.com/users/gdsmithrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdsmithrus/subscriptions","organizations_url":"https://api.github.com/users/gdsmithrus/orgs","repos_url":"https://api.github.com/users/gdsmithrus/repos","events_url":"https://api.github.com/users/gdsmithrus/events{/privacy}","received_events_url":"https://api.github.com/users/gdsmithrus/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-08-27T22:37:55Z","updated_at":"2018-09-01T12:29:34Z","closed_at":null,"author_association":"OWNER","body":"\r\nСоздать отдельный класс определения аргументов и его обработка"},"comment":{"url":"https://api.github.com/repos/gdsmithrus/Multirun/issues/comments/417856459","html_url":"https://github.com/gdsmithrus/Multirun/issues/9#issuecomment-417856459","issue_url":"https://api.github.com/repos/gdsmithrus/Multirun/issues/9","id":417856459,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzg1NjQ1OQ==","user":{"login":"Trubkin","id":11445005,"node_id":"MDQ6VXNlcjExNDQ1MDA1","avatar_url":"https://avatars1.githubusercontent.com/u/11445005?v=4","gravatar_id":"","url":"https://api.github.com/users/Trubkin","html_url":"https://github.com/Trubkin","followers_url":"https://api.github.com/users/Trubkin/followers","following_url":"https://api.github.com/users/Trubkin/following{/other_user}","gists_url":"https://api.github.com/users/Trubkin/gists{/gist_id}","starred_url":"https://api.github.com/users/Trubkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trubkin/subscriptions","organizations_url":"https://api.github.com/users/Trubkin/orgs","repos_url":"https://api.github.com/users/Trubkin/repos","events_url":"https://api.github.com/users/Trubkin/events{/privacy}","received_events_url":"https://api.github.com/users/Trubkin/received_events","type":"User","site_admin":false},"created_at":"2018-09-01T12:29:34Z","updated_at":"2018-09-01T12:29:34Z","author_association":"COLLABORATOR","body":"Разбить на классы.\r\nКласс 1 - ArgumentHandler\r\nНе знает о AutoRun и NetworkManager. Он просто удобный контейнер аргументов запуска.\r\n\r\nРеализует примерно такой интерфейс\r\n`interface IConfig\r\n{\r\n    bool KeyExist(string key);\r\n    string GetValue(string key);\r\n    void SetValue(string key);\r\n}`\r\n\r\nК моменту в игре Awake() и Start() все аргументы должны быть установлены, попытка добавить новый в рантайме должен приводить к исключению.\r\n\r\nДобавить поле для аргументов в инспектор.\r\n\r\n2. Класс AutoRun\r\nЗнает о ArgumentHandler, знает о NetworkManager. Если есть аргументы \"сервер\" или \"клиент\" и настройки, запускает сеть.\r\n\r\n3. Другие классы-обработчики аргументов (если понадобятся). Знают об ArgumentHandler, знают о своих объектах воздействия.\r\n\r\nAutoRun тоже является класс-обработчик аргументов. "}}
{"actor":{"display_login":"Trubkin"}}