{"id":482721,"date":"2026-06-07T18:34:26","date_gmt":"2026-06-07T18:34:26","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=482721"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=482721","title":{"rendered":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d \u041c\u041c\u041e \u0438\u0433\u0440 \u043d\u0430 PHP \u0447. 17 \u2014 \u0432\u043d\u0435\u0434\u0440\u044f\u044e \u0418\u0418: \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u044f \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u043f\u0438\u0448\u0443 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 2D MMO RPG. \u042d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u2014 \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0441\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438: \u0438\u0433\u0440\u043e\u0432\u0443\u044e \u0444\u0438\u0447\u0443 \u044f \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u044e \u0441\u0430\u043c, \u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e \u0435\u0451 \u0443\u0436\u0435 \u043d\u0435 \u043e\u0434\u0438\u043d.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0434\u0435\u043c\u043e \u0432 \u0434\u0443\u0445\u0435 \u00ab\u043c\u043e\u0434\u0435\u043b\u044c \u0432\u044b\u0434\u0430\u043b\u0430 \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u00bb. \u0412\u043d\u0443\u0442\u0440\u0438 \u2014 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f 2D MMO RPG: \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b, \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity. \u0418\u0418 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u043b \u044d\u0442\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0430 \u0443\u0441\u043a\u043e\u0440\u0438\u043b: \u0442\u043e, \u0447\u0442\u043e \u0440\u0430\u043d\u044c\u0448\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u0434\u043d\u0438 \u0438 \u043d\u0435\u0434\u0435\u043b\u0438, \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0447\u0430\u0441\u044b \u0438 \u0434\u043d\u0438, \u0438 \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u044f \u0434\u0435\u0440\u0436\u0443 \u0442\u0435\u043c\u043f \u0446\u0435\u043b\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443, \u043a\u0430\u043a \u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u0451\u043b \u0438 \u0433\u0434\u0435 \u0443 \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0447\u0435\u0441\u0442\u043d\u0430\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0a5\/81d\/c2b\/0a581dc2b29c0702d9d25faa170741f5.png\" width=\"1396\" height=\"787\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/0a5\/81d\/c2b\/0a581dc2b29c0702d9d25faa170741f5.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0a5\/81d\/c2b\/0a581dc2b29c0702d9d25faa170741f5.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h3>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b \u0432\u0441\u0451 \u043d\u0430 Symfony \u2014 \u0438 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u0418\u0418<\/h3>\n<p>\u041c\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0441\u044f \u043a\u0430\u043a \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 PHP. \u041e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u0434\u0435\u0440\u0436\u0430\u043b \u0431\u043e\u0439 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u043e \u0431\u044b\u043b \u00ab\u043c\u043e\u0439\u00bb \u0432 \u0445\u0443\u0434\u0448\u0435\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0441\u043b\u043e\u0432\u0430: \u043d\u0438 \u043e\u0434\u0438\u043d \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a, \u043d\u0438 \u043e\u0434\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f, \u043d\u0438 \u043e\u0434\u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0437\u043d\u0430\u043b\u0438, \u043a\u0430\u043a \u043e\u043d \u0443\u0441\u0442\u0440\u043e\u0435\u043d. \u041b\u044e\u0431\u043e\u043c\u0443 \u043d\u043e\u0432\u043e\u043c\u0443 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u2014 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0438\u043b\u0438 \u043c\u0430\u0448\u0438\u043d\u0435 \u2014 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0435\u0433\u043e \u0441 \u043d\u0443\u043b\u044f.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043d\u0430 Symfony \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f PHP, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043f\u0440\u043e\u0435\u043a\u0442. \u0423\u043b\u043e\u0436\u0438\u043b\u0441\u044f \u0432 \u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430; \u0431\u0435\u0437 \u0418\u0418 \u0443\u0448\u043b\u043e \u0431\u044b \u043f\u043e\u043b\u0433\u043e\u0434\u0430. \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043b \u0440\u0430\u0434\u0438 \u0418\u0418 \u0438 \u0440\u0430\u0434\u0438 \u0431\u0443\u0434\u0443\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u2014 \u043d\u0430 \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u043c \u043c\u043d\u043e\u0433\u0438\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 \u043f\u0440\u043e\u0449\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u041d\u0435 \u0440\u0430\u0434\u0438 \u043c\u043e\u0434\u044b.<\/p>\n<p>\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0430 \u043d\u0430 \u0433\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0445 \u043e\u0431\u044a\u0451\u043c\u0430\u0445 \u043a\u043e\u0434\u0430, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u0445. Symfony \u043e\u043d\u0430 \u00ab\u0437\u043d\u0430\u0435\u0442\u00bb \u2014 \u0435\u0451 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b, \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b, \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u043f\u043e \u043c\u0435\u0441\u0442\u0430\u043c. \u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u0440\u043e\u0448\u0443 \u0447\u0442\u043e-\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0430 Symfony, \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u043f\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u043d\u0430 \u043c\u043e\u0438 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u044f, \u0430 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443 \u043d\u0435\u0451 \u0438 \u0442\u0430\u043a \u0432 \u0433\u043e\u043b\u043e\u0432\u0435. \u041c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0430 \u0432\u0445\u043e\u0434, \u043c\u0435\u043d\u044c\u0448\u0435 \u0440\u0430\u0437\u043d\u043e\u0447\u0442\u0435\u043d\u0438\u0439, \u0442\u043e\u0447\u043d\u0435\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u0421\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 \u043b\u0435\u0433\u0430\u0441\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0440\u0430\u0437\u0436\u0451\u0432\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0435\u043b\u043e\u0447\u044c. \u0417\u043d\u0430\u043a\u043e\u043c\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b \u0418\u0418 \u0438\u0437 \u0441\u0442\u0430\u0436\u0451\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u0443\u0440\u0441, \u0432 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430, \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u0442\u0435\u043a\u043e\u043c \u0441\u043e\u0442\u043d\u0438 \u0440\u0430\u0437.<\/p>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0438 \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0431\u0430\u043d\u0434\u043b\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443: \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u0440\u0443\u043f\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u0431\u0430\u0437\u044b, \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438, \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u043c\u0438, \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c\u0438 \u0438 \u0447\u0451\u0442\u043a\u043e\u0439 \u0437\u043e\u043d\u043e\u0439 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u043d\u0435 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0430, \u0430 \u0442\u043e, \u043d\u0430 \u0447\u0451\u043c \u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043c\u0430\u0441\u0448\u0442\u0430\u0431 (\u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0440\u043d\u0443\u0441\u044c \u043d\u0438\u0436\u0435).<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/606\/df9\/1ee\/606df91eeb33440b18ea097086786fcb.png\" alt=\"\u041d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0443\u0440: \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0438 \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 \u0442\u043e\u0439 \u0436\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b, \u0447\u0442\u043e \u0432\u0438\u0434\u0438\u0442 \u0438\u0433\u0440\u043e\u043a\" title=\"\u041d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0443\u0440: \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0438 \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 \u0442\u043e\u0439 \u0436\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b, \u0447\u0442\u043e \u0432\u0438\u0434\u0438\u0442 \u0438\u0433\u0440\u043e\u043a\" width=\"1485\" height=\"1208\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/606\/df9\/1ee\/606df91eeb33440b18ea097086786fcb.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/606\/df9\/1ee\/606df91eeb33440b18ea097086786fcb.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption><em>\u041d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0443\u0440: \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0438 \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 \u0442\u043e\u0439 \u0436\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b, \u0447\u0442\u043e \u0432\u0438\u0434\u0438\u0442 \u0438\u0433\u0440\u043e\u043a<\/em><\/figcaption><\/div>\n<\/figure>\n<h3>\u041f\u043e\u0442\u043e\u043c \u0418\u0418 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0440\u0443\u043a\u0438 \u2014 \u0438 \u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0438 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435<\/h3>\n<p>\u041f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u2014 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u0434\u0435\u043b\u0430. \u0418\u0433\u0440\u0430 \u0436\u0438\u0432\u0451\u0442 \u043d\u0430 \u0434\u0432\u0443\u0445 \u0431\u0435\u0440\u0435\u0433\u0430\u0445: \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0434\u0443, \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity \u0435\u0451 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442. \u041f\u043e\u043a\u0430 \u0418\u0418 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0432\u0435\u0440, \u044f \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043e\u0441\u0442\u0430\u044e\u0441\u044c \u0443\u0437\u043a\u0438\u043c \u0433\u043e\u0440\u043b\u044b\u0448\u043a\u043e\u043c \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b MCP-\u043c\u043e\u0441\u0442 \u0432 \u043e\u0431\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b.<\/p>\n<p>\u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043c\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 MCP-\u0441\u0435\u0440\u0432\u0435\u0440. \u042d\u0442\u043e \u043c\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0418\u0418 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0451, \u0447\u0442\u043e \u0433\u0435\u0439\u043c\u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0434\u0435\u043b\u0430\u0435\u0442 \u0440\u0443\u043a\u0430\u043c\u0438: \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043f\u0440\u0430\u0432\u0438\u0442 \u043a\u0430\u0440\u0442\u044b, \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430 \u043d\u0438\u0445 \u0432\u0440\u0430\u0433\u043e\u0432, \u043c\u0435\u043d\u044f\u0435\u0442 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0431\u0430\u043b\u0430\u043d\u0441, \u0447\u0438\u0442\u0430\u0435\u0442 \u043b\u043e\u0433\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u2014 \u0438 \u0434\u0430\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0430\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0438\u0433\u0440\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438 \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u0442\u043e, \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b.<\/p>\n<p>\u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 MCP-\u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f Unity. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0418\u0418 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0443\u0436\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430: \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043f\u0440\u0430\u0432\u0438\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043d\u0430 \u0441\u0446\u0435\u043d\u0435, \u043f\u0438\u0448\u0435\u0442 C#-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0438\u0433\u0440\u0443, \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0438 \u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. (\u041f\u043b\u0430\u0433\u0438\u043d \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u2014 \u0431\u0443\u0434\u0435\u0442 \u0432 \u0441\u0442\u043e\u0440\u0435.)<\/p>\n<p>\u0421\u043e\u0435\u0434\u0438\u043d\u0438\u0432 \u043e\u0431\u0430 \u043c\u043e\u0441\u0442\u0430, \u044f \u043e\u0442\u0434\u0430\u043b \u0418\u0418 \u043e\u0431\u0435 \u0440\u0443\u043a\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u0441\u043a\u0432\u043e\u0437\u044c \u043e\u0431\u0430 \u0431\u0435\u0440\u0435\u0433\u0430: \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u2014 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0435\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u044b \u2014 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435, \u0430 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043d\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0448\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u043d\u044c\u0448\u0435 \u044f \u0441\u0448\u0438\u0432\u0430\u043b \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<h3>\u041a\u0430\u043a \u0444\u0438\u0447\u0430 \u0434\u043e\u0445\u043e\u0434\u0438\u0442 \u0434\u043e \u0438\u0433\u0440\u044b<\/h3>\n<p>\u041d\u0430\u0434 \u044d\u0442\u0438\u043c \u043c\u043e\u0441\u0442\u043e\u043c \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0441\u0432\u043e\u0439 \u0441\u043b\u043e\u0439: \u043d\u0430\u0431\u043e\u0440 \u0418\u0418-\u0430\u0433\u0435\u043d\u0442\u043e\u0432 \u0438 skill\u2019\u043e\u0432, \u0437\u0430\u0442\u043e\u0447\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u043c\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442. \u041e\u0434\u0438\u043d \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438, \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u0437\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity, \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443, \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u041a\u0430\u0436\u0434\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u0441\u0432\u043e\u044e \u0437\u043e\u043d\u0443 \u0438 \u0441\u0432\u043e\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430. \u042f \u043d\u0435 \u043f\u0438\u0448\u0443 \u043f\u0440\u043e\u043c\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0435\u043b\u043e\u0447\u044c \u2014 \u044f \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e \u0444\u0438\u0447\u0443, \u0430 \u0441\u043b\u043e\u0439 \u0441\u0430\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0435\u0451 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044f\u043c.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c4\/3f3\/289\/4c43f3289a6cae41f4ce49bdba542d2f.png\" alt=\"\u0421\u043b\u043e\u0439 \u0430\u0433\u0435\u043d\u0442\u043e\u0432: \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u044f \u0437\u043e\u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430.\" title=\"\u0421\u043b\u043e\u0439 \u0430\u0433\u0435\u043d\u0442\u043e\u0432: \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u044f \u0437\u043e\u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430.\" width=\"1981\" height=\"729\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/4c4\/3f3\/289\/4c43f3289a6cae41f4ce49bdba542d2f.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c4\/3f3\/289\/4c43f3289a6cae41f4ce49bdba542d2f.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption><em>\u0421\u043b\u043e\u0439 \u0430\u0433\u0435\u043d\u0442\u043e\u0432: \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u044f \u0437\u043e\u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430.<\/em><\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4e6\/348\/0db\/4e63480dbdcf61e6ee685c626c852e08.png\" alt=\"Skill\u2019\u044b \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0418\u0418 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443\" title=\"Skill\u2019\u044b \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0418\u0418 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443\" width=\"2489\" height=\"1214\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/4e6\/348\/0db\/4e63480dbdcf61e6ee685c626c852e08.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4e6\/348\/0db\/4e63480dbdcf61e6ee685c626c852e08.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption><em>Skill\u2019\u044b \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0418\u0418 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443<\/em><\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u0436\u0435 \u0418\u0418. \u041d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u0434 \u2014 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440, \u0448\u043b\u0451\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043a\u043b\u0438\u0435\u043d\u0442, \u0441\u0432\u0435\u0440\u044f\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u044b \u0438 \u043b\u043e\u0432\u0438\u0442 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438. \u0414\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u044d\u0442\u043e \u043d\u0430 \u0437\u043d\u0430\u043d\u0438\u044f\u0445: \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2014 \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438 \u0447\u0435\u0433\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u2014 \u0436\u0438\u0432\u0443\u0442 \u0432 skill\u2019\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0433\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0442 \u043f\u043e\u0434 \u0437\u0430\u0434\u0430\u0447\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u2014 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043b\u044e\u0441 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity \u2014 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0441\u0438\u043b\u0430\u043c\u0438 \u0418\u0418, \u0430 \u043d\u0435 \u0440\u0430\u0437\u0432\u0430\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0432\u0435\u0441\u043e\u043c.<\/p>\n<p>\u0421\u0432\u0435\u0436\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u2014 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0441 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u043e\u0439: \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u043e\u0434 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b, \u0441\u043b\u043e\u0442\u044b \u043f\u043e\u0434 \u043d\u0430\u0434\u0435\u0442\u043e\u0435, \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435. \u0418\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u0430 \u0431\u0435\u0440\u0435\u0433\u0430:<\/p>\n<ul>\n<li>\n<p>\u0447\u0435\u0440\u0435\u0437 <strong>mcp \u0418\u0418 <\/strong>\u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a &#8212; \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0438 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0430, \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0418\u0433\u0440\u043e\u043a\u0430 \u0438 \u0412\u0440\u0430\u0433\u043e\u0432. \u041f\u0438\u0448\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0441\u043b\u043e\u0442\u043e\u0432 \u0438 \u0434\u0440\u043e\u043f\u0430 \u0447\u0442\u043e \u043d\u0435 \u0432\u043b\u0435\u0437\u043b\u043e;<\/p>\n<\/li>\n<li>\n<p><strong>\u0441\u0435\u0440\u0432\u0435\u0440<\/strong> \u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0438 \u043d\u0430\u0434\u0435\u0442\u043e\u0435 \u0442\u0430\u043c \u0436\u0435, \u0433\u0434\u0435 \u0432\u0441\u044f \u043f\u0440\u0430\u0432\u0434\u0430 \u043c\u0438\u0440\u0430, \u0438 \u0441\u0430\u043c \u0440\u0435\u0448\u0430\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430\u0434\u0435\u0442\u044c \u0432\u0435\u0449\u044c \u0432 \u044d\u0442\u043e\u0442 \u0441\u043b\u043e\u0442;<\/p>\n<\/li>\n<li>\n<p><strong>\u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity<\/strong> \u0440\u0438\u0441\u0443\u0435\u0442 \u043e\u043a\u043d\u043e \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u043a\u0443\u043a\u043b\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c;<\/p>\n<\/li>\n<li>\n<p><strong>\u0442\u0435\u0441\u0442<\/strong> \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0435\u0442 \u0432\u0441\u0451 \u044d\u0442\u043e: \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043e\u0442\u0432\u0435\u0442\u044b \u0441\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u2014 \u0444\u0438\u0447\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0430 \u043d\u0435 \u00ab\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0439\u00bb.<\/p>\n<\/li>\n<\/ul>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0430 \u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"php\">&lt;?php# \u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0438\u0437 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f.# \u0424\u043e\u0440\u043c\u0430\u0442: {slot_idx =&gt; {prefab, count, components?} | null}. \u041f\u0430\u0440\u0442\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u043f\u0434\u0435\u0439\u0442\u044b: \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439# \u0432 $value \u043a\u043b\u044e\u0447 \u0441\u043b\u043e\u0442\u0430 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043a\u0430\u043a \u0432 $current; null = \u0441\u043b\u043e\u0442 \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f; non-null = \u0441\u043b\u043e\u0442 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.\/** @var array $value \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u0442\u043e closure-\u043e\u0431\u0451\u0440\u0442\u043a\u043e\u0439 ComponentCollection::trigger *\/$component = ComponentCollection::list()['inventory'];if($component-&gt;maxCompareLevel!=2)throw new Error('\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 inventory \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u0435\u0434\u0435\u043b\u0430 \u0443\u0440\u043e\u0432\u043d\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0420\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u043a\u0440\u043e\u043c\u0435 \u043a\u0430\u043a 2');$current = $object-&gt;components-&gt;get('inventory');$slotCount = count($component-&gt;default);\/\/ \u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0445\u043e\u0434: \u0441\u0442\u0440\u043e\u0438\u043c $inventory[$i], \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0442\u043e\u0442\u0430\u043b \u043f\u043e prefab+components (\u0434\u043b\u044f drop-\u0432-\u043c\u0438\u0440)\/\/ \u0438 identity-\u043a\u043b\u044e\u0447\u0438 $currentIds\/$inventoryIds (\u0434\u043b\u044f $slotMap \u043d\u0438\u0436\u0435). json_encode \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f\/\/ \u043a\u0430\u043a \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2014 components \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0438\u0437 json_decode(assoc=true), \u043f\u043e\u0440\u044f\u0434\u043e\u043a\/\/ \u043a\u043b\u044e\u0447\u0435\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u0435\u043d \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f\u043c\u0438, md5 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d (\u0434\u043b\u0438\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043d\u0435 \u043b\u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430).$inventory = [];$oldTotals = [];$oldPrefabs = [];$oldComponents = [];$newTotals = [];$currentIds = [];$inventoryIds = [];for($i=1;$i&lt;=$slotCount;$i++){if(!empty($value[$i])){$allowed = ['prefab'=&gt;1, 'count'=&gt;1, 'components'=&gt;1];if(array_diff_key($value[$i], $allowed))throw new Error('\u0421\u043b\u043e\u0442 '.$i.' \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043b\u0438\u0448\u043d\u0438\u0435 \u043f\u043e\u043b\u044f: '.implode(', ', array_keys(array_diff_key($value[$i], $allowed))));$required = ['prefab'=&gt;1, 'count'=&gt;1];$missing = array_diff_key($required, $value[$i]);if($missing)throw new Error('\u0421\u043b\u043e\u0442 '.$i.' \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f: '.implode(', ', array_keys($missing)));$empty = array_keys(array_diff_key(array_intersect_key($value[$i], $required), array_filter($value[$i])));if($empty)throw new Error('\u0421\u043b\u043e\u0442 '.$i.' \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0443\u0441\u0442\u044b\u0435 \u043f\u043e\u043b\u044f: '.implode(', ', $empty));if(!World::prefabExists('item', $value[$i]['prefab']))throw new Error('\u0421\u043b\u043e\u0442 '.$i.' \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 prefab \"'.$value[$i]['prefab'].'\" (kind=object, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435: '.implode(', ', array_keys(World::prefabList('item'))).')');if(!empty($value[$i]['components']) &amp;&amp; isset($value[$i]['components']['count']))throw new Error('\u0421\u043b\u043e\u0442 '.$i.' \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 count \u0432 components \u2014 count \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u043e\u043b\u0435\u043c \u0441\u043b\u043e\u0442\u0430');$slot = ['prefab'=&gt;$value[$i]['prefab'], 'count'=&gt;$value[$i]['count']];if(!empty($value[$i]['components']))$slot['components'] = $value[$i]['components'];$inventory[$i] = $slot;}elseif(array_key_exists($i, $value))$inventory[$i] = null;elseif(!empty($current[$i])){$slot = ['prefab'=&gt;$current[$i]['prefab'], 'count'=&gt;$current[$i]['count']];if(!empty($current[$i]['components']))$slot['components'] = $current[$i]['components'];$inventory[$i] = $slot;}else$inventory[$i] = null;if(!empty($current[$i])){$c = $current[$i]['components'] ?? null;$key = $current[$i]['prefab'].'-'.(!empty($c) ? json_encode($c) : '');$currentIds[$i] = $key;$oldTotals[$key] = ($oldTotals[$key] ?? 0) + $current[$i]['count'];$oldPrefabs[$key] = $current[$i]['prefab'];if(!empty($c))$oldComponents[$key] = $c;}if(!empty($inventory[$i])){$c = $inventory[$i]['components'] ?? null;$key = $inventory[$i]['prefab'].'-'.(!empty($c) ? json_encode($c) : '');$inventoryIds[$i] = $key;$newTotals[$key] = ($newTotals[$key] ?? 0) + $inventory[$i]['count'];}}\/\/ \u0414\u0440\u043e\u043f\u0430\u0435\u043c \u043d\u0430 \u0437\u0435\u043c\u043b\u044e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0440\u0430\u0437\u043d\u0438\u0446\u0443 oldTotals - newTotals (\u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0442\u0435\u0440\u044f).\/\/ \u041d\u0443\u043b\u0435\u0432\u0430\u044f \u0438\u043b\u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 = swap\/merge \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438\u043b\u0438 partial-pickup \u2014\/\/ \u0434\u0440\u043e\u043f\u0430\u0442\u044c \u043d\u0435\u0447\u0435\u0433\u043e. \u041f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043e\u0431\u0445\u043e\u0434\u0430 \u0438 \u0438\u043c\u043c\u0443\u043d\u0435\u043d \u043a \u0431\u0430\u0433\u0430\u043c \u0441 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435\u043c \u0431\u0430\u043b\u0430\u043d\u0441\u043e\u0432.foreach($oldTotals as $key =&gt; $oldCount){$diff = $oldCount - ($newTotals[$key] ?? 0);if($diff &lt;= 0)continue;$entityData = ['count' =&gt; $diff];if(isset($oldComponents[$key]))$entityData += $oldComponents[$key];World::add(['prefab' =&gt; $oldPrefabs[$key],'map' =&gt; MAP_ID,'x' =&gt; $object-&gt;position-&gt;x,'y' =&gt; $object-&gt;position-&gt;y,'z' =&gt; $object-&gt;position-&gt;z,'components' =&gt; $entityData,], 'item');}\/\/ \u041a\u0430\u0440\u0442\u0430: \u0441\u0442\u0430\u0440\u044b\u0439_\u0441\u043b\u043e\u0442 \u2192 \u043d\u043e\u0432\u044b\u0439_\u0441\u043b\u043e\u0442 (\u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0432 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u0435).\/\/ \u0421\u0442\u0440\u043e\u0438\u043c \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u2014 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043a\u0430\u0441\u043a\u0430\u0434\u043e\u0432 \u0432 actionbars \u0438 equip (\u043e\u0431\u0430 \u0445\u0440\u0430\u043d\u044f\u0442 \u0441\u0441\u044b\u043b\u043a\u0438\/\/ \u043d\u0430 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443). \u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u043e identity-\u043a\u043b\u044e\u0447\u0443: \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043c\u0435\u043d\u0430\/\/ \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u0432 \u0441\u043b\u043e\u0442\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0438\u0442 \u043f\u043e\u0438\u0441\u043a \u2014 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e count \u0432 \u0442\u043e\u043c \u0436\u0435 \u0441\u043b\u043e\u0442\u0435 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u00ab\u043f\u0435\u0440\u0435\u0435\u0437\u0434\u043e\u043c\u00bb.$slotMap = [];foreach($currentIds as $i =&gt; $oldKey){if($oldKey === ($inventoryIds[$i] ?? null))continue;foreach($inventoryIds as $j =&gt; $newKey){if($j !== $i &amp;&amp; $newKey === $oldKey){$slotMap[$i] = $j;break;}}}\/\/ \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 actionbars (\u0442\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u043e\u043c\u0435\u0440 \u0441\u043b\u043e\u0442\u0430 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f)\/\/ \u0438\u0437 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043d\u0435\u043b\u044c\u0437\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0448\u0430\u0435\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435\/\/ actionbars \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d \u0442\u043e\u043b\u044c\u043a\u043e player'\u0430\u043c \u2014 \u043d\u0430 enemy\/\u043f\u0440\u043e\u0447\u0438\u0445 kind \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043d\u0435 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d, get \u043a\u0438\u043d\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443if($object-&gt;components-&gt;isset('actionbars')){$actionbars = $object-&gt;components-&gt;get('actionbars');\/\/ \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 actionbars$updates = [];foreach($actionbars as $barNum =&gt; $bar){if(!empty($bar) &amp;&amp; $bar['kind'] == 'item'){$oldSlot = (int)$bar['id'];if(isset($slotMap[$oldSlot]))$updates[$barNum] = ['kind' =&gt; 'item', 'id' =&gt; $slotMap[$oldSlot]];elseif(empty($inventory[$oldSlot]))$updates[$barNum] = null;}}if($updates)$object-&gt;events-&gt;add('ui\/actionbars', 'index', ['actionbars' =&gt; $updates]);}\/\/ \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0441\u043a\u0430\u0434 \u0434\u043b\u044f equip \u2014 \u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0442\u0430 \u043c\u0435\u043d\u044f\u0435\u0442 idx,\/\/ drop \u0438\u0437 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0443 (idx \u2192 null)\/\/ equip \u0431\u0435\u0437 default \u2014 \u043d\u0430 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u0445 \u0431\u0435\u0437 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 values \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442if($object-&gt;components-&gt;isset('equip')){$equip = $object-&gt;components-&gt;get('equip');$updates = [];foreach($equip as $slot =&gt; $idx){if(isset($slotMap[$idx]))$updates[$slot] = $slotMap[$idx];elseif(empty($inventory[$idx]))$updates[$slot] = null;}if($updates)$object-&gt;events-&gt;add('ui\/equip', 'index', ['items' =&gt; $updates]);}$value = $inventory;<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/239\/0c2\/342\/2390c234226ada69c4bc01bbab29ac9d.png\" width=\"1183\" height=\"1222\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/239\/0c2\/342\/2390c234226ada69c4bc01bbab29ac9d.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/239\/0c2\/342\/2390c234226ada69c4bc01bbab29ac9d.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0430 \u042d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"php\">&lt;?php# \u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0438\u0437 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f.# \u0424\u043e\u0440\u043c\u0430\u0442: {slot_slug =&gt; inventory_idx}. \u041f\u0430\u0440\u0442\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u043f\u0434\u0435\u0439\u0442\u044b: \u043a\u043b\u044e\u0447 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c null = unequip slot.$component = ComponentCollection::list()['equip'];if($component-&gt;maxCompareLevel != 2)throw new Error('\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 equip \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c maxCompareLevel \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043e\u0442 2');$current   = $object-&gt;components-&gt;get('equip') ?: [];$inventory = $object-&gt;components-&gt;get('inventory');$result = $current;foreach($value as $slot =&gt; $idx){\/\/ \u044f\u0432\u043d\u044b\u0439 null \u2014 \u0441\u043d\u0438\u043c\u0430\u0435\u043c slot \u0441 \u0442\u0435\u043b\u0430. \u041a\u043b\u0430\u0434\u0451\u043c null (\u043d\u0435 unset), \u0447\u0442\u043e\u0431\u044b delta \u0447\u0435\u0440\u0435\u0437\/\/ Data::compare_recursive \u0437\u0430\u0442\u0451\u0440\u043b\u0430 \u0441\u0442\u0430\u0440\u044b\u0439 idx \u0432 private_world WebSocket-\u0441\u0435\u0440\u0432\u0435\u0440\u0430.\/\/ unset \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u043a\u043b\u044e\u0447 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438 sandbox: \u043f\u0440\u0438 max_compare_level=2 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439\/\/ \u0432 setChanges \u043a\u043b\u044e\u0447 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a no-op \u0438 \u0441\u0442\u0430\u0440\u044b\u0439 idx \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0432 \u043a\u0435\u0448\u0435 \u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439\/\/ \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438 \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0442\u0430. \u041f\u0440\u0438 player_add equip \u043f\u0440\u0438\u0435\u0437\u0436\u0430\u0435\u0442 \u0441\u043e stale idx,\/\/ \u0441\u0441\u044b\u043b\u0430\u044e\u0449\u0438\u043c\u0441\u044f \u043d\u0430 \u0443\u0436\u0435 \u043f\u0443\u0441\u0442\u043e\u0439 inventory_idx \u2014 \u0432\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440 \u043d\u0438\u0436\u0435 \u0431\u0440\u043e\u0441\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443.if($idx === null){$result[$slot] = null;continue;}\/\/ slot \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0435 (World::equipmentSlotList \u2014 game.equipment_slot)if(!World::equipmentSlotExists($slot))throw new Error('Slot \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0438 \"'.$slot.'\" \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d \u0432 \u044d\u0442\u043e\u0439 \u0438\u0433\u0440\u0435 (\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435: '.implode(', ', array_keys(World::equipmentSlotList())).')');\/\/ item \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u0435 \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043d\u043e\u043c\u0435\u0440\u0443if(empty($inventory[$idx]))throw new Error('\u0421\u043b\u043e\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f '.$idx.' \u043f\u0443\u0441\u0442 \u2014 \u043d\u0435\u0447\u0435\u0433\u043e \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c');$prefab = $inventory[$idx]['prefab'];\/\/ prefab.equipable_slot \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0446\u0435\u043b\u0435\u0432\u043e\u0439 slot (\u0438\u0437 payload sandbox)$prefabData = World::prefabGet('item', $prefab);if(empty($prefabData['equipableSlot'][$slot]))throw new Error('Prefab \"'.$prefab.'\" \u043d\u0435\u043b\u044c\u0437\u044f \u043d\u0430\u0434\u0435\u0442\u044c \u0432 slot \"'.$slot.'\" (\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0435: '.implode(', ', array_keys($prefabData['equipableSlot'] ?? [])).')');\/\/ TODO: \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0434\u0435\u0434\u0443\u043f (\u043e\u0434\u0438\u043d item \u0432 \u043e\u0434\u043d\u043e\u043c slot). \u0421\u0435\u0439\u0447\u0430\u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0451\u043d, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0441\u043a\u0430\u0434 \u0438\u0437 inventory.php\/\/ \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043b \u0432\u0441\u0435 equip-\u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043e\u0434\u0438\u043d inventory_idx (\u0438\u043d\u0430\u0447\u0435 \u0432\u0441\u0435, \u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439,\/\/ \u0437\u0430\u0442\u0438\u0440\u0430\u043b\u0438\u0441\u044c \u0442\u0443\u0442 \u0436\u0435 \u0438 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u0438\u0441\u0435\u0442\u044c \u043d\u0430 \u0441\u0442\u0430\u0440\u043e\u043c idx \u2014 phantom-equip \u043f\u0440\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0435 item).$result[$slot] = $idx;}\/\/ \u041f\u0443\u0441\u0442\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 = full-clear (\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u0433\u043d\u0430\u043b \u043e\u0442 no-op). \u041a\u043b\u0438\u0435\u043d\u0442 \u0447\u0435\u0440\u0435\u0437\/\/ EmptyArrayAsDictionaryConverter \u043c\u0430\u043f\u043f\u0438\u0442 JSON `[]` \u2192 \u043f\u0443\u0441\u0442\u043e\u0439 Dictionary, \u0447\u0435\u043c\/\/ \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0435\u0442 3 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f: \u043a\u043b\u044e\u0447 `equip` \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 (no-op), Count==0 (clear-all),\/\/ Count&gt;0 (per-key delta). Per-key delta \u043d\u0435\u043f\u0443\u0441\u0442\u043e\u0433\u043e dict \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\/\/ AbstractSocket::updateRecursive \u043f\u043e max_compare_level=2.$value = $result;<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/61a\/cdf\/093\/61acdf0932504fcb01fdc8a83d8ccf70.png\" width=\"1178\" height=\"1256\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/61a\/cdf\/093\/61acdf0932504fcb01fdc8a83d8ccf70.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/61a\/cdf\/093\/61acdf0932504fcb01fdc8a83d8ccf70.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u2014 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043e\u0434\u0435\u043b\u044c Claude, Opus \u043e\u0442 Anthropic. \u042f \u043e\u0442\u043d\u043e\u0448\u0443\u0441\u044c \u043a \u043d\u0435\u0439 \u043a\u0430\u043a \u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0443 \u0438 \u0441\u043e\u0430\u0432\u0442\u043e\u0440\u0443: \u043e\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442, \u044f \u0437\u0430\u0434\u0430\u044e \u0440\u0430\u043c\u043a\u0438.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/eb7\/3d7\/987\/eb73d798766d7cb28a6cc278b7830f85.png\" alt=\"\u0422\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u2014 \u0441\u043e\u0431\u0440\u0430\u043d \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u0432 Unity \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\" title=\"\u0422\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u2014 \u0441\u043e\u0431\u0440\u0430\u043d \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u0432 Unity \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\" width=\"954\" height=\"603\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/eb7\/3d7\/987\/eb73d798766d7cb28a6cc278b7830f85.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/eb7\/3d7\/987\/eb73d798766d7cb28a6cc278b7830f85.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption><em>\u0422\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u2014 \u0441\u043e\u0431\u0440\u0430\u043d \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u0432 Unity \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f<\/em><\/figcaption><\/div>\n<\/figure>\n<h3>\u0413\u0434\u0435 \u0418\u0418 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0441\u044c \u044f<\/h3>\n<p>\u0417\u0434\u0435\u0441\u044c \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u0440\u0430\u0436\u0435\u043d\u0438\u0435: \u00ab\u0418\u0418 \u0433\u0435\u043d\u0435\u0440\u0438\u0442 \u043c\u0443\u0441\u043e\u0440\u00bb. \u0422\u0430\u043a \u0438 \u0435\u0441\u0442\u044c \u2014 \u0435\u0441\u043b\u0438 \u043e\u0442\u0434\u0430\u0442\u044c \u0435\u043c\u0443 \u043f\u0443\u0441\u0442\u043e\u0439 \u0445\u043e\u043b\u0441\u0442. \u041c\u0443\u0441\u043e\u0440 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043c, \u0433\u0434\u0435 \u043d\u0435\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0437\u0430\u043a\u0440\u044b\u043b \u0446\u0435\u043b\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>\u042f \u043d\u0435 \u043f\u0440\u043e\u0448\u0443 \u0418\u0418 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0438 \u0438\u0433\u0440\u0443, \u043d\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u0424\u0438\u0447\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u044e \u044f \u2014 \u043a\u0430\u043a\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0430, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0432 \u0431\u043e\u044e. \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0438 \u0438\u043d\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0437\u0430\u0434\u0430\u044e \u0442\u043e\u0436\u0435 \u044f. \u0418\u0418 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u0438\u0445 \u0440\u0430\u043c\u043e\u043a. \u0414\u0432\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044d\u0442\u043e \u0432\u0438\u0434\u043d\u043e.<\/p>\n<p><strong>\u041f\u0440\u0430\u0432\u0434\u0430 \u0436\u0438\u0432\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435.<\/strong> \u041a\u043b\u0438\u0435\u043d\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0440\u0435\u0448\u0430\u0435\u0442 \u2014 \u043e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440. \u042d\u0442\u043e \u0438\u043d\u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0418\u0418 \u043d\u0435 \u0432\u043f\u0440\u0430\u0432\u0435 \u043d\u0430\u0440\u0443\u0448\u0438\u0442\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0431\u044b \u043e\u043d \u043d\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435, \u0443 \u043d\u0435\u0433\u043e \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0442 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0438\u043b\u0438 \u0447\u0438\u0442: \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438\u0441\u0442\u0438\u043d\u044b, \u0430 \u0432\u0438\u0442\u0440\u0438\u043d\u0430. \u0422\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u044d\u0442\u043e \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u2014 \u043a\u043b\u0438\u0435\u043d\u0442 \u0440\u0438\u0441\u0443\u0435\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b, \u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u043d\u0430\u0434\u0435\u0442\u044c \u0432\u0435\u0449\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0432\u0435\u0440. \u0426\u0435\u043b\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0431\u0430\u0433\u043e\u0432 \u0437\u0430\u043a\u0440\u044b\u0442 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u043c\u0438, \u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043e\u0439.<\/p>\n<p><strong>\u0421\u0435\u0442\u044c \u0438 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u2014 \u0440\u0430\u0437\u043d\u044b\u0435 \u0431\u0430\u043d\u0434\u043b\u044b.<\/strong> \u0421\u0435\u0442\u0435\u0432\u043e\u0439 WebSocket-\u0441\u043b\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0438 \u0440\u0430\u0441\u0441\u044b\u043b\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b, \u043f\u0440\u043e \u0438\u0433\u0440\u0443 \u043e\u043d \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u2014 \u0431\u0430\u043d\u0434\u043b \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0438 \u043c\u0438\u0440\u0430: \u0438\u0433\u0440\u043e\u0432\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430, \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 \u0440\u0430\u0441\u0447\u0451\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043f\u043e \u0442\u0438\u043a\u0430\u043c. \u042d\u0442\u0438 \u0434\u0432\u0430 \u043a\u0443\u0441\u043a\u0430 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b, \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u043d\u0435\u0441\u0442\u0438 \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c. \u041a\u0430\u0436\u0434\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u2014 \u0441\u0432\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432; \u043a\u0430\u0440\u0442\u044b \u0436\u0438\u0432\u0443\u0442 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445, \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0442\u0438\u043a\u0435 \u0438 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u044b\u0439 \u043c\u0438\u0440. \u041d\u0443\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u0438\u043b\u0438 \u043c\u0438\u0440\u0430 \u2014 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0448\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u044b, \u0430 \u043d\u0435 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0448\u044c \u0434\u0432\u0438\u0436\u043e\u043a.<\/p>\n<p>\u041f\u0440\u0438 \u0447\u0451\u043c \u0437\u0434\u0435\u0441\u044c \u0418\u0418? \u041f\u0440\u0438 \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u0442\u0430 \u0440\u0430\u0437\u0432\u044f\u0437\u043a\u0430 \u2014 \u043c\u043e\u0451 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0430 \u043d\u0435 \u0435\u0433\u043e. \u0418\u0418 \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u0438\u0448\u0435\u0442 \u043d\u043e\u0432\u0443\u044e \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0443, \u043d\u043e \u043e\u043d \u043d\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0440\u0430\u0437\u0432\u0435\u0441\u0442\u0438 \u0441\u0435\u0442\u044c \u0438 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044e \u0440\u0430\u0434\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430 \u2014 \u043e\u043d \u043d\u0435 \u043c\u044b\u0441\u043b\u0438\u0442 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c\u0438 \u00ab\u043a\u0430\u043a \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0451\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043d\u0430 \u0442\u044b\u0441\u044f\u0447\u0430\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432\u00bb. \u0417\u0430\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0447\u0451\u0442\u043a\u043e\u0439 \u0433\u0440\u0430\u043d\u0438\u0446\u0435 \u043c\u0435\u0436\u0434\u0443 \u0431\u0430\u043d\u0434\u043b\u0430\u043c\u0438 \u0438 mcp \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044e, \u043d\u0435 \u0437\u0430\u0434\u0435\u0432\u0430\u044f \u0441\u0435\u0442\u044c \u0438 \u043d\u0435 \u043b\u043e\u043c\u0430\u044f \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0425\u043e\u0440\u043e\u0448\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u043e\u0431\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b: \u044d\u0442\u043e \u0438 \u0440\u0435\u043b\u044c\u0441\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0418\u0418 \u0435\u0434\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e, \u0438 \u043f\u043e\u0442\u043e\u043b\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043d \u0441\u0430\u043c \u0441\u0435\u0431\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442.<\/p>\n<p>\u0412\u043e\u0442 \u0447\u0435\u0441\u0442\u043d\u0430\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430: \u0418\u0418 \u043a\u0440\u0430\u0442\u043d\u043e \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u043f\u0443\u0442\u044c \u043e\u0442 \u043c\u043e\u0435\u0439 \u0438\u0434\u0435\u0438 \u0434\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0439 \u0444\u0438\u0447\u0438 \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0431\u0435\u0440\u0435\u0433\u0430\u0445. \u041d\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0430 \u0440\u043e\u0432\u043d\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0447\u043d\u044b \u0440\u0430\u043c\u043a\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d. \u0420\u0430\u043c\u043a\u0438 \u2014 \u0438 \u0441\u0430\u043c\u0430 \u0438\u0433\u0440\u0430 \u2014 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0430 \u043c\u043d\u0435.<\/p>\n<h3>\u0427\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435<\/h3>\n<p>\u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e, \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u0431\u043e\u044e \u2014 \u044d\u0442\u043e \u044f \u0443\u0436\u0435 \u043e\u0442\u0434\u0430\u044e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430 \u2014 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441, \u0447\u0442\u043e\u0431\u044b \u043d\u043e\u0432\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043e\u0436\u0438\u043b\u043e, \u0435\u0433\u043e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0432\u0441\u0451 \u0435\u0449\u0451 \u043d\u0443\u0436\u043d\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u043b\u0438\u0435\u043d\u0442. \u042f \u0445\u043e\u0447\u0443 \u0434\u043e\u0432\u0435\u0441\u0442\u0438 \u0434\u043e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0439 \u0442\u0443 \u0436\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u0430\u0442\u0447\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0436\u0435 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0432 \u043a\u043b\u0438\u0435\u043d\u0442 \u043a\u0430\u0440\u0442\u044b: \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u0443\u044e \u0432 <a href=\"https:\/\/brashmonkey.com\/spriter-pro\/\" rel=\"noopener noreferrer nofollow\">Spriter <\/a>\u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 \u2014 \u043f\u0430\u0442\u0447 \u0443\u0435\u0445\u0430\u043b \u0432 \u043a\u043b\u0438\u0435\u043d\u0442, \u0433\u043e\u0442\u043e\u0432\u044b\u0439 <a href=\"https:\/\/github.com\/loodakrawa\/SpriterDotNet\/tree\/develop\/SpriterDotNet.Unity\" rel=\"noopener noreferrer nofollow\">\u043f\u043b\u0430\u0433\u0438\u043d <\/a>\u0435\u0451 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u0438\u043b, \u0438 \u0432\u0441\u0451 \u044d\u0442\u043e \u0431\u0435\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e. \u042d\u0442\u043e \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u2014 \u0438 \u0447\u0435\u0441\u0442\u043d\u043e \u043f\u043e\u043a\u0430\u0436\u0443, \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u043b\u0438 \u0418\u0418.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/64b\/779\/91b\/64b77991b2c005d6abee67a5b76eefc0.jpg\" alt=\"\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u2014 \u0442\u0435\u043c\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438: \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u0438\u0445 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u0437 \u0430\u0434\u043c\u0438\u043d\u043a\u0438, \u0431\u0435\u0437 \u043a\u043e\u0434\u0438\u043d\u0433\u0430 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\" title=\"\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u2014 \u0442\u0435\u043c\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438: \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u0438\u0445 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u0437 \u0430\u0434\u043c\u0438\u043d\u043a\u0438, \u0431\u0435\u0437 \u043a\u043e\u0434\u0438\u043d\u0433\u0430 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\" width=\"1280\" height=\"720\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/64b\/779\/91b\/64b77991b2c005d6abee67a5b76eefc0.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/64b\/779\/91b\/64b77991b2c005d6abee67a5b76eefc0.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption><em>\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u2014 \u0442\u0435\u043c\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438: \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u0438\u0445 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u0437 \u0430\u0434\u043c\u0438\u043d\u043a\u0438, \u0431\u0435\u0437 \u043a\u043e\u0434\u0438\u043d\u0433\u0430 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e<\/em><\/figcaption><\/div>\n<\/figure>\n<p>\u041e\u0434\u043d\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 \u0438 \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435. \u041a\u0430\u043a\u0443\u044e \u0432\u044b \u0431\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u0435\u0440\u0432\u043e\u0439? \u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u2014 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0437\u0430\u044f\u0432\u043e\u043a \u0441\u043e\u0431\u0435\u0440\u0443 \u0442\u0435\u043c\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u0435\u0439<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/669996\/\" rel=\"noopener noreferrer nofollow\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/670050\/\" rel=\"noopener noreferrer nofollow\">\u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/670296\/\" rel=\"noopener noreferrer nofollow\">WebSocket<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/671106\/\" rel=\"noopener noreferrer nofollow\">Redis<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/705806\/\" rel=\"noopener noreferrer nofollow\">LUA \u0438 JavaScript<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/706678\/\" rel=\"noopener noreferrer nofollow\">\u0412\u044b\u0431\u043e\u0440 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438 ECS<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725470\/\" rel=\"noopener noreferrer nofollow\">\u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u043b\u043e\u043a\u0430\u0446\u0438\u0438 (\u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/739516\/\" rel=\"noopener noreferrer nofollow\">\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0430 Unity<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/739576\/\" rel=\"noopener noreferrer nofollow\">\u0418\u0433\u0440\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725466\/\" rel=\"noopener noreferrer nofollow\">\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u044b\u0439 \u043c\u0438\u0440 \u0432 2D \u0438\u0433\u0440\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725472\/\" rel=\"noopener noreferrer nofollow\">FPS, Ping, \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u0438 \u044d\u043a\u0441\u0442\u0440\u0430\u043f\u043e\u043b\u044f\u0446\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/725490\/\" rel=\"noopener noreferrer nofollow\">\u041e\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 CPU<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/741734\/\" rel=\"noopener noreferrer nofollow\">Event-driven, JSON-RPC \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 SOA<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/742686\/\" rel=\"noopener noreferrer nofollow\">\u0421\u0435\u0442\u0435\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u0430\u0434\u0440\u0430 (Latency frame) \u043f\u043e RFC 2544<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/780602\/\" rel=\"noopener noreferrer nofollow\">\u0410\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u0445<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/814337\/\" rel=\"noopener noreferrer nofollow\">MVP \u0433\u043e\u0442\u043e\u0432<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u043d\u0435\u0434\u0440\u044f\u044e \u0418\u0418: \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f<\/strong><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1044640\/\">https:\/\/habr.com\/ru\/articles\/1044640\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u044f \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u043f\u0438\u0448\u0443 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 2D MMO RPG. \u042d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u2014 \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0441\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438: \u0438\u0433\u0440\u043e\u0432\u0443\u044e \u0444\u0438\u0447\u0443 \u044f \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u044e \u0441\u0430\u043c, \u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e \u0435\u0451 \u0443\u0436\u0435 \u043d\u0435 \u043e\u0434\u0438\u043d.\u042d\u0442\u043e \u043d\u0435 \u0434\u0435\u043c\u043e \u0432 \u0434\u0443\u0445\u0435 \u00ab\u043c\u043e\u0434\u0435\u043b\u044c \u0432\u044b\u0434\u0430\u043b\u0430 \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u00bb. \u0412\u043d\u0443\u0442\u0440\u0438 \u2014 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f 2D MMO RPG: \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0442\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u044b, \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity. \u0418\u0418 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u043b \u044d\u0442\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0430 \u0443\u0441\u043a\u043e\u0440\u0438\u043b: \u0442\u043e, \u0447\u0442\u043e \u0440\u0430\u043d\u044c\u0448\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u0434\u043d\u0438 \u0438 \u043d\u0435\u0434\u0435\u043b\u0438, \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0447\u0430\u0441\u044b \u0438 \u0434\u043d\u0438, \u0438 \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u044f \u0434\u0435\u0440\u0436\u0443 \u0442\u0435\u043c\u043f \u0446\u0435\u043b\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443, \u043a\u0430\u043a \u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u0451\u043b \u0438 \u0433\u0434\u0435 \u0443 \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0447\u0435\u0441\u0442\u043d\u0430\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430.\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b \u0432\u0441\u0451 \u043d\u0430 Symfony \u2014 \u0438 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u0418\u0418\u041c\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0441\u044f \u043a\u0430\u043a \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 PHP. \u041e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u0434\u0435\u0440\u0436\u0430\u043b \u0431\u043e\u0439 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u043e \u0431\u044b\u043b \u00ab\u043c\u043e\u0439\u00bb \u0432 \u0445\u0443\u0434\u0448\u0435\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0441\u043b\u043e\u0432\u0430: \u043d\u0438 \u043e\u0434\u0438\u043d \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a, \u043d\u0438 \u043e\u0434\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f, \u043d\u0438 \u043e\u0434\u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0437\u043d\u0430\u043b\u0438, \u043a\u0430\u043a \u043e\u043d \u0443\u0441\u0442\u0440\u043e\u0435\u043d. \u041b\u044e\u0431\u043e\u043c\u0443 \u043d\u043e\u0432\u043e\u043c\u0443 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u2014 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0438\u043b\u0438 \u043c\u0430\u0448\u0438\u043d\u0435 \u2014 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0435\u0433\u043e \u0441 \u043d\u0443\u043b\u044f.\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043d\u0430 Symfony \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f PHP, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043f\u0440\u043e\u0435\u043a\u0442. \u0423\u043b\u043e\u0436\u0438\u043b\u0441\u044f \u0432 \u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430; \u0431\u0435\u0437 \u0418\u0418 \u0443\u0448\u043b\u043e \u0431\u044b \u043f\u043e\u043b\u0433\u043e\u0434\u0430. \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043b \u0440\u0430\u0434\u0438 \u0418\u0418 \u0438 \u0440\u0430\u0434\u0438 \u0431\u0443\u0434\u0443\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u2014 \u043d\u0430 \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u043c \u043c\u043d\u043e\u0433\u0438\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 \u043f\u0440\u043e\u0449\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u041d\u0435 \u0440\u0430\u0434\u0438 \u043c\u043e\u0434\u044b.\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0430 \u043d\u0430 \u0433\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0445 \u043e\u0431\u044a\u0451\u043c\u0430\u0445 \u043a\u043e\u0434\u0430, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u0445. Symfony \u043e\u043d\u0430 \u00ab\u0437\u043d\u0430\u0435\u0442\u00bb \u2014 \u0435\u0451 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b, \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b, \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u043f\u043e \u043c\u0435\u0441\u0442\u0430\u043c. \u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u0440\u043e\u0448\u0443 \u0447\u0442\u043e-\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0430 Symfony, \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u043f\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u043d\u0430 \u043c\u043e\u0438 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u044f, \u0430 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443 \u043d\u0435\u0451 \u0438 \u0442\u0430\u043a \u0432 \u0433\u043e\u043b\u043e\u0432\u0435. \u041c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0430 \u0432\u0445\u043e\u0434, \u043c\u0435\u043d\u044c\u0448\u0435 \u0440\u0430\u0437\u043d\u043e\u0447\u0442\u0435\u043d\u0438\u0439, \u0442\u043e\u0447\u043d\u0435\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u0421\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 \u043b\u0435\u0433\u0430\u0441\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0440\u0430\u0437\u0436\u0451\u0432\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0435\u043b\u043e\u0447\u044c. \u0417\u043d\u0430\u043a\u043e\u043c\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b \u0418\u0418 \u0438\u0437 \u0441\u0442\u0430\u0436\u0451\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u0443\u0440\u0441, \u0432 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430, \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u0442\u0435\u043a\u043e\u043c \u0441\u043e\u0442\u043d\u0438 \u0440\u0430\u0437.\u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0438 \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0431\u0430\u043d\u0434\u043b\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443: \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u0440\u0443\u043f\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u0431\u0430\u0437\u044b, \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438, \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u043c\u0438, \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c\u0438 \u0438 \u0447\u0451\u0442\u043a\u043e\u0439 \u0437\u043e\u043d\u043e\u0439 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u043d\u0435 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0430, \u0430 \u0442\u043e, \u043d\u0430 \u0447\u0451\u043c \u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043c\u0430\u0441\u0448\u0442\u0430\u0431 (\u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0440\u043d\u0443\u0441\u044c \u043d\u0438\u0436\u0435).\u041d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0443\u0440: \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0438 \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 \u0442\u043e\u0439 \u0436\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b, \u0447\u0442\u043e \u0432\u0438\u0434\u0438\u0442 \u0438\u0433\u0440\u043e\u043a\u041f\u043e\u0442\u043e\u043c \u0418\u0418 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0440\u0443\u043a\u0438 \u2014 \u0438 \u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0438 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u2014 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u0434\u0435\u043b\u0430. \u0418\u0433\u0440\u0430 \u0436\u0438\u0432\u0451\u0442 \u043d\u0430 \u0434\u0432\u0443\u0445 \u0431\u0435\u0440\u0435\u0433\u0430\u0445: \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0434\u0443, \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity \u0435\u0451 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442. \u041f\u043e\u043a\u0430 \u0418\u0418 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0432\u0435\u0440, \u044f \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043e\u0441\u0442\u0430\u044e\u0441\u044c \u0443\u0437\u043a\u0438\u043c \u0433\u043e\u0440\u043b\u044b\u0448\u043a\u043e\u043c \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b MCP-\u043c\u043e\u0441\u0442 \u0432 \u043e\u0431\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b.\u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u043c\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 MCP-\u0441\u0435\u0440\u0432\u0435\u0440. \u042d\u0442\u043e \u043c\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0418\u0418 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0451, \u0447\u0442\u043e \u0433\u0435\u0439\u043c\u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0434\u0435\u043b\u0430\u0435\u0442 \u0440\u0443\u043a\u0430\u043c\u0438: \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043f\u0440\u0430\u0432\u0438\u0442 \u043a\u0430\u0440\u0442\u044b, \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430 \u043d\u0438\u0445 \u0432\u0440\u0430\u0433\u043e\u0432, \u043c\u0435\u043d\u044f\u0435\u0442 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0431\u0430\u043b\u0430\u043d\u0441, \u0447\u0438\u0442\u0430\u0435\u0442 \u043b\u043e\u0433\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u2014 \u0438 \u0434\u0430\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0430\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0438\u0433\u0440\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438 \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u0442\u043e, \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b.\u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 MCP-\u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f Unity. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0418\u0418 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0443\u0436\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430: \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043f\u0440\u0430\u0432\u0438\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043d\u0430 \u0441\u0446\u0435\u043d\u0435, \u043f\u0438\u0448\u0435\u0442 C#-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0438\u0433\u0440\u0443, \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0438 \u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. (\u041f\u043b\u0430\u0433\u0438\u043d \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u2014 \u0431\u0443\u0434\u0435\u0442 \u0432 \u0441\u0442\u043e\u0440\u0435.)\u0421\u043e\u0435\u0434\u0438\u043d\u0438\u0432 \u043e\u0431\u0430 \u043c\u043e\u0441\u0442\u0430, \u044f \u043e\u0442\u0434\u0430\u043b \u0418\u0418 \u043e\u0431\u0435 \u0440\u0443\u043a\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u0441\u043a\u0432\u043e\u0437\u044c \u043e\u0431\u0430 \u0431\u0435\u0440\u0435\u0433\u0430: \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u2014 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0435\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u044b \u2014 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435, \u0430 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043d\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0448\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u043d\u044c\u0448\u0435 \u044f \u0441\u0448\u0438\u0432\u0430\u043b \u0432\u0440\u0443\u0447\u043d\u0443\u044e.\u041a\u0430\u043a \u0444\u0438\u0447\u0430 \u0434\u043e\u0445\u043e\u0434\u0438\u0442 \u0434\u043e \u0438\u0433\u0440\u044b\u041d\u0430\u0434 \u044d\u0442\u0438\u043c \u043c\u043e\u0441\u0442\u043e\u043c \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0441\u0432\u043e\u0439 \u0441\u043b\u043e\u0439: \u043d\u0430\u0431\u043e\u0440 \u0418\u0418-\u0430\u0433\u0435\u043d\u0442\u043e\u0432 \u0438 skill\u2019\u043e\u0432, \u0437\u0430\u0442\u043e\u0447\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u043c\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442. \u041e\u0434\u0438\u043d \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438, \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u0437\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity, \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443, \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u041a\u0430\u0436\u0434\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u0441\u0432\u043e\u044e \u0437\u043e\u043d\u0443 \u0438 \u0441\u0432\u043e\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430. \u042f \u043d\u0435 \u043f\u0438\u0448\u0443 \u043f\u0440\u043e\u043c\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0435\u043b\u043e\u0447\u044c \u2014 \u044f \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e \u0444\u0438\u0447\u0443, \u0430 \u0441\u043b\u043e\u0439 \u0441\u0430\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0435\u0451 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044f\u043c.\u0421\u043b\u043e\u0439 \u0430\u0433\u0435\u043d\u0442\u043e\u0432: \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u044f \u0437\u043e\u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430.Skill\u2019\u044b \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0418\u0418 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443\u0422\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u0436\u0435 \u0418\u0418. \u041d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u0434 \u2014 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440, \u0448\u043b\u0451\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043a\u043b\u0438\u0435\u043d\u0442, \u0441\u0432\u0435\u0440\u044f\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u044b \u0438 \u043b\u043e\u0432\u0438\u0442 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438. \u0414\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u044d\u0442\u043e \u043d\u0430 \u0437\u043d\u0430\u043d\u0438\u044f\u0445: \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2014 \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438 \u0447\u0435\u0433\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u2014 \u0436\u0438\u0432\u0443\u0442 \u0432 skill\u2019\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0433\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0442 \u043f\u043e\u0434 \u0437\u0430\u0434\u0430\u0447\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u2014 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043b\u044e\u0441 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity \u2014 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0441\u0438\u043b\u0430\u043c\u0438 \u0418\u0418, \u0430 \u043d\u0435 \u0440\u0430\u0437\u0432\u0430\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0432\u0435\u0441\u043e\u043c.\u0421\u0432\u0435\u0436\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u2014 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0441 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u043e\u0439: \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u043e\u0434 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b, \u0441\u043b\u043e\u0442\u044b \u043f\u043e\u0434 \u043d\u0430\u0434\u0435\u0442\u043e\u0435, \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435. \u0418\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u0430 \u0431\u0435\u0440\u0435\u0433\u0430:\u0447\u0435\u0440\u0435\u0437 mcp \u0418\u0418 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a &#8212; \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0438 \u044d\u043a\u0438\u043f\u0438\u0440\u043e\u0432\u043a\u0430, \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0418\u0433\u0440\u043e\u043a\u0430 \u0438 \u0412\u0440\u0430\u0433\u043e\u0432. \u041f\u0438\u0448\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0441\u043b\u043e\u0442\u043e\u0432 \u0438 \u0434\u0440\u043e\u043f\u0430 \u0447\u0442\u043e \u043d\u0435 \u0432\u043b\u0435\u0437\u043b\u043e;\u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0438 \u043d\u0430\u0434\u0435\u0442\u043e\u0435 \u0442\u0430\u043c \u0436\u0435, \u0433\u0434\u0435 \u0432\u0441\u044f \u043f\u0440\u0430\u0432\u0434\u0430 \u043c\u0438\u0440\u0430, \u0438 \u0441\u0430\u043c \u0440\u0435\u0448\u0430\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430\u0434\u0435\u0442\u044c \u0432\u0435\u0449\u044c \u0432 \u044d\u0442\u043e\u0442 \u0441\u043b\u043e\u0442;\u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 Unity \u0440\u0438\u0441\u0443\u0435\u0442 \u043e\u043a\u043d\u043e \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u043a\u0443\u043a\u043b\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c;\u0442\u0435\u0441\u0442 \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0435\u0442 \u0432\u0441\u0451 \u044d\u0442\u043e: \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043e\u0442\u0432\u0435\u0442\u044b \u0441\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u2014 \u0444\u0438\u0447\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0430 \u043d\u0435 \u00ab\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0439\u00bb.\u041a\u043e\u0434 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0430 \u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c&lt;?php# \u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0438\u0437 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f.# \u0424\u043e\u0440\u043c\u0430\u0442: {slot_idx =&gt; {prefab, count, components?} | null}. \u041f\u0430\u0440\u0442\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u043f\u0434\u0435\u0439\u0442\u044b: \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439# \u0432 $value \u043a\u043b\u044e\u0447 \u0441\u043b\u043e\u0442\u0430 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043a\u0430\u043a \u0432 $current; null = \u0441\u043b\u043e\u0442 \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f; non-null = \u0441\u043b\u043e\u0442 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.\/** @var array $value \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u0442\u043e closure-\u043e\u0431\u0451\u0440\u0442\u043a\u043e\u0439 ComponentCollection::trigger *\/$component = ComponentCollection::list()[&#8216;inventory&#8217;];if($component-&gt;maxCompareLevel!=2)throw new Error(&#8216;\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 inventory \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u0435\u0434\u0435\u043b\u0430 \u0443\u0440\u043e\u0432\u043d\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0420\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u043a\u0440\u043e\u043c\u0435 \u043a\u0430\u043a 2&#8217;);$current = $object-&gt;components-&gt;get(&#8216;inventory&#8217;);$slotCount = count($component-&gt;default);\/\/ \u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0445\u043e\u0434: \u0441\u0442\u0440\u043e\u0438\u043c $inventory[$i], \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0442\u043e\u0442\u0430\u043b \u043f\u043e prefab+components (\u0434\u043b\u044f drop-\u0432-\u043c\u0438\u0440)\/\/ \u0438 identity-\u043a\u043b\u044e\u0447\u0438 $currentIds\/$inventoryIds (\u0434\u043b\u044f $slotMap \u043d\u0438\u0436\u0435). json_encode \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f\/\/ \u043a\u0430\u043a \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2014 components \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0438\u0437 json_decode(assoc=true), \u043f\u043e\u0440\u044f\u0434\u043e\u043a\/\/ \u043a\u043b\u044e\u0447\u0435\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u0435\u043d \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f\u043c\u0438, md5 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d (\u0434\u043b\u0438\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043d\u0435 \u043b\u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430).$inventory = [];$oldTotals = [];$oldPrefabs = [];$oldComponents = [];$newTotals = [];$currentIds = [];$inventoryIds = [];for($i=1;$i&lt;=$slotCount;$i++){if(!empty($value[$i])){$allowed = [&#8216;prefab&#8217;=&gt;1, &#8216;count&#8217;=&gt;1, &#8216;components&#8217;=&gt;1];if(array_diff_key($value[$i], $allowed))throw new Error(&#8216;\u0421\u043b\u043e\u0442 &#8216;.$i.&#8217; \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043b\u0438\u0448\u043d\u0438\u0435 \u043f\u043e\u043b\u044f: &#8216;.implode(&#8216;, &#8216;, array_keys(array_diff_key($value[$i], $allowed))));$required = [&#8216;prefab&#8217;=&gt;1, &#8216;count&#8217;=&gt;1];$missing = array_diff_key($required, $value[$i]);if($missing)throw new Error(&#8216;\u0421\u043b\u043e\u0442 &#8216;.$i.&#8217; \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f: &#8216;.implode(&#8216;, &#8216;, array_keys($missing)));$empty = array_keys(array_diff_key(array_intersect_key($value[$i], $required), array_filter($value[$i])));if($empty)throw new Error(&#8216;\u0421\u043b\u043e\u0442 &#8216;.$i.&#8217; \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0443\u0441\u0442\u044b\u0435 \u043f\u043e\u043b\u044f: &#8216;.implode(&#8216;, &#8216;, $empty));if(!World::prefabExists(&#8216;item&#8217;, $value[$i][&#8216;prefab&#8217;]))throw new Error(&#8216;\u0421\u043b\u043e\u0442 &#8216;.$i.&#8217; \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 prefab &#171;&#8216;.$value[$i][&#8216;prefab&#8217;].'&#187; (kind=object, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435: &#8216;.implode(&#8216;, &#8216;, array_keys(World::prefabList(&#8216;item&#8217;))).&#8217;)&#8217;);if(!empty($value[$i][&#8216;components&#8217;]) &amp;&amp; isset($value[$i][&#8216;components&#8217;][&#8216;count&#8217;]))throw new Error(&#8216;\u0421\u043b\u043e\u0442 &#8216;.$i.&#8217; \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 count \u0432 components \u2014 count \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u043e\u043b\u0435\u043c \u0441\u043b\u043e\u0442\u0430&#8217;);$slot = [&#8216;prefab&#8217;=&gt;$value[$i][&#8216;prefab&#8217;], &#8216;count&#8217;=&gt;$value[$i][&#8216;count&#8217;]];if(!empty($value[$i][&#8216;components&#8217;]))$slot[&#8216;components&#8217;] = $value[$i][&#8216;components&#8217;];$inventory[$i] = $slot;}elseif(array_key_exists($i, $value))$inventory[$i] = null;elseif(!empty($current[$i])){$slot = [&#8216;prefab&#8217;=&gt;$current[$i][&#8216;prefab&#8217;], &#8216;count&#8217;=&gt;$current[$i][&#8216;count&#8217;]];if(!empty($current[$i][&#8216;components&#8217;]))$slot[&#8216;components&#8217;] = $current[$i][&#8216;components&#8217;];$inventory[$i] = $slot;}else$inventory[$i] = null;if(!empty($current[$i])){$c = $current[$i][&#8216;components&#8217;] ?? null;$key = $current[$i][&#8216;prefab&#8217;].&#8217;-&#8216;.(!empty($c) ? json_encode($c) : &#187;);$currentIds[$i] = $key;$oldTotals[$key] = ($oldTotals[$key] ?? 0) + $current[$i][&#8216;count&#8217;];$oldPrefabs[$key] = $current[$i][&#8216;prefab&#8217;];if(!empty($c))$oldComponents[$key] = $c;}if(!empty($inventory[$i])){$c = $inventory[$i][&#8216;components&#8217;] ?? null;$key = $inventory[$i][&#8216;prefab&#8217;].&#8217;-&#8216;.(!empty($c) ? json_encode($c) : &#187;);$inventoryIds[$i] = $key;$newTotals[$key] = ($newTotals[$key] ?? 0) + $inventory[$i][&#8216;count&#8217;];}}\/\/ \u0414\u0440\u043e\u043f\u0430\u0435\u043c \u043d\u0430 \u0437\u0435\u043c\u043b\u044e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0440\u0430\u0437\u043d\u0438\u0446\u0443 oldTotals &#8212; newTotals (\u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0442\u0435\u0440\u044f).\/\/ \u041d\u0443\u043b\u0435\u0432\u0430\u044f \u0438\u043b\u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 = swap\/merge \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438\u043b\u0438 partial-pickup \u2014\/\/ \u0434\u0440\u043e\u043f\u0430\u0442\u044c \u043d\u0435\u0447\u0435\u0433\u043e. \u041f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043e\u0431\u0445\u043e\u0434\u0430 \u0438 \u0438\u043c\u043c\u0443\u043d\u0435\u043d \u043a \u0431\u0430\u0433\u0430\u043c \u0441 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435\u043c \u0431\u0430\u043b\u0430\u043d\u0441\u043e\u0432.foreach($oldTotals as $key =&gt; $oldCount){$diff = $oldCount &#8212; ($newTotals[$key] ?? 0);if($diff &lt;= 0)continue;$entityData = [&#8216;count&#8217; =&gt; $diff];if(isset($oldComponents[$key]))$entityData += $oldComponents[$key];World::add([&#8216;prefab&#8217; =&gt; $oldPrefabs[$key],&#8217;map&#8217; =&gt; MAP_ID,&#8217;x&#8217; =&gt; $object-&gt;position-&gt;x,&#8217;y&#8217; =&gt; $object-&gt;position-&gt;y,&#8217;z&#8217; =&gt; $object-&gt;position-&gt;z,&#8217;components&#8217; =&gt; $entityData,], &#8216;item&#8217;);}\/\/ \u041a\u0430\u0440\u0442\u0430: \u0441\u0442\u0430\u0440\u044b\u0439_\u0441\u043b\u043e\u0442 \u2192 \u043d\u043e\u0432\u044b\u0439_\u0441\u043b\u043e\u0442 (\u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0432 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u0435).\/\/ \u0421\u0442\u0440\u043e\u0438\u043c \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u2014 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043a\u0430\u0441\u043a\u0430\u0434\u043e\u0432 \u0432 actionbars \u0438 equip (\u043e\u0431\u0430 \u0445\u0440\u0430\u043d\u044f\u0442 \u0441\u0441\u044b\u043b\u043a\u0438\/\/ \u043d\u0430 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443). \u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u043e identity-\u043a\u043b\u044e\u0447\u0443: \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043c\u0435\u043d\u0430\/\/ \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u0432 \u0441\u043b\u043e\u0442\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0438\u0442 \u043f\u043e\u0438\u0441\u043a \u2014 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e count \u0432 \u0442\u043e\u043c \u0436\u0435 \u0441\u043b\u043e\u0442\u0435 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u00ab\u043f\u0435\u0440\u0435\u0435\u0437\u0434\u043e\u043c\u00bb.$slotMap = [];foreach($currentIds as $i =&gt; $oldKey){if($oldKey === ($inventoryIds[$i] ?? null))continue;foreach($inventoryIds as $j =&gt; $newKey){if($j !== $i &amp;&amp; $newKey === $oldKey){$slotMap[$i] = $j;break;}}}\/\/ \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 actionbars (\u0442\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u043e\u043c\u0435\u0440 \u0441\u043b\u043e\u0442\u0430 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f)\/\/ \u0438\u0437 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043d\u0435\u043b\u044c\u0437\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0448\u0430\u0435\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435\/\/ actionbars \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d \u0442\u043e\u043b\u044c\u043a\u043e player&#8217;\u0430\u043c \u2014 \u043d\u0430 enemy\/\u043f\u0440\u043e\u0447\u0438\u0445 kind \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043d\u0435 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d, get \u043a\u0438\u043d\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443if($object-&gt;components-&gt;isset(&#8216;actionbars&#8217;)){$actionbars = $object-&gt;components-&gt;get(&#8216;actionbars&#8217;);\/\/ \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 actionbars$updates = [];foreach($actionbars as $barNum =&gt; $bar){if(!empty($bar) &amp;&amp; $bar[&#8216;kind&#8217;] == &#8216;item&#8217;){$oldSlot =&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-482721","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/482721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=482721"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/482721\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=482721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=482721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=482721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}