{"id":405956,"date":"2024-06-29T18:37:42","date_gmt":"2024-06-29T18:37:42","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=405956"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=405956","title":{"rendered":"<span>[5] \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 Survival Horror \u0432 \u0441\u0442\u0438\u043b\u0435 RE2 \u043d\u0430 Unreal Engine \u0438 \u0421++. \u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 2)<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/998\/847\/4fe\/9988474febd2e28b63d5bc76c74ad0c5.jpeg\" width=\"807\" height=\"454\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/998\/847\/4fe\/9988474febd2e28b63d5bc76c74ad0c5.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<details class=\"spoiler\">\n<summary>\u0412\u0435\u0441\u044c \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439<\/summary>\n<div class=\"spoiler__content\">\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/675906\/\" rel=\"noopener noreferrer nofollow\">\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u0438\u043c\u043f\u043e\u0440\u0442 \u0430\u0441\u0441\u0435\u0442\u043e\u0432<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676530\/\" rel=\"noopener noreferrer nofollow\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u0438 \u043a\u0430\u043c\u0435\u0440\u043e\u0439<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676642\/\" rel=\"noopener noreferrer nofollow\">\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676644\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 1)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/677108\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 2)<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/details>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 &#8212;\u00a0<a href=\"https:\/\/www.youtube.com\/redirect?event=comments&amp;redir_token=QUFFLUhqbjVjYTdHUFlnT0hQSVRLZ2Y2VnVNS3BvSlNiZ3xBQ3Jtc0tsemY0d1lyMUk5Qng1WExDR3EyX1hRTmhXOGgxTVlnWUJPcnMwNzlnUnpISDJkeFhyTlc2MlJUY1BndUtWLUY4R091bzFHc01NRDFmOGRBR0xwdGhVMFV3aGVQWUF1SlNZY0o5LUxPdF80MmhYR2FkOA&amp;q=https%3A%2F%2Fgithub.com%2FSalamandrSpb%2FSurvivalHorror&amp;stzid=UgyjLIkJuXDmelG1LOh4AaABAg\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/SalamandrSpb\/SurvivalHorror<\/a>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0430\u043c\u0438\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>WBP_Inventory<\/strong>.<\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u043c \u0442\u0435\u043a\u0441\u0442 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c\u00a0<strong>Canvas Panel<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/23b\/8ae\/d5c\/23b8aed5cc067d98f7553f039acb05f6.jpeg\" alt=\"\" title=\"\" width=\"319\" height=\"421\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/23b\/8ae\/d5c\/23b8aed5cc067d98f7553f039acb05f6.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430<strong>\u00a0Canvas<\/strong>\u00a0\u0434\u043e\u0431\u0430\u0432\u0438\u043c\u00a0<strong>Border<\/strong>\u00a0\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u0435\u0433\u043e \u0432\u00a0<strong>Background<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/b09\/98f\/37b\/b0998f37bc1c5c62133ee20d272e8578.jpeg\" alt=\"\" title=\"\" width=\"430\" height=\"465\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b09\/98f\/37b\/b0998f37bc1c5c62133ee20d272e8578.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0430\u043b\u044c\u0435\u043c \u043d\u0430\u0448\u00a0<strong>Background<\/strong>\u00a0\u043d\u0430 \u0432\u0441\u044e \u043f\u043b\u043e\u0449\u0430\u0434\u044c\u00a0<strong>Canvas<\/strong>. \u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 &#171;\u0431\u0435\u043b\u044b\u0439 \u043a\u0432\u0430\u0434\u0440\u0430\u0442&#187; \u041b\u041a\u041c+CTRL:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/795\/774\/19c\/79577419c575dac7de62c7439665f089.jpeg\" alt=\"\" title=\"\" width=\"380\" height=\"381\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/795\/774\/19c\/79577419c575dac7de62c7439665f089.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u043c \u0446\u0432\u0435\u0442\u00a0<strong>Background<\/strong>\u00a0\u043d\u0430 \u0447\u0435\u0440\u043d\u044b\u0439 \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043f\u043e\u0447\u0442\u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c. \u0422.\u0435. \u043a\u043e\u0433\u0434\u0430 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c, \u044d\u043a\u0440\u0430\u043d \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0442\u0435\u043c\u043d\u044f\u0442\u044c\u0441\u044f.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/d96\/4a8\/d0e\/d964a8d0e9e084773f4c6f88c5c2b43f.jpeg\" alt=\"\" title=\"\" width=\"745\" height=\"490\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d96\/4a8\/d0e\/d964a8d0e9e084773f4c6f88c5c2b43f.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/dfa\/baf\/2c9\/dfabaf2c9ff70c03d1abbb253b0ded30.jpeg\" alt=\"\" title=\"\" width=\"491\" height=\"448\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dfa\/baf\/2c9\/dfabaf2c9ff70c03d1abbb253b0ded30.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0438\u043b\u0443 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435\u00a0<strong>Blur Strength<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/422\/6d1\/ce1\/4226d1ce17e0d763ca548cd1f3199471.jpeg\" alt=\"\" title=\"\" width=\"355\" height=\"247\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/422\/6d1\/ce1\/4226d1ce17e0d763ca548cd1f3199471.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430\u00a0<strong>Canvas<\/strong>\u00a0\u043d\u0430\u0448\u0443 \u0441\u0435\u0442\u043a\u0443 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f\u00a0<strong>WBP_InventoryGrid<\/strong>\u00a0\u0438 \u043d\u0430\u0437\u043e\u0432\u0435\u043c\u00a0<strong>InventoryGridWidget<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/db3\/91b\/71c\/db391b71ca234798ed22babc41bd5d08.jpeg\" alt=\"\" title=\"\" width=\"326\" height=\"497\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/db3\/91b\/71c\/db391b71ca234798ed22babc41bd5d08.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u044f\u043a\u043e\u0440\u044c \u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u0430 \u0438 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/cbd\/986\/e42\/cbd986e42b7250de6a12c30c12ab5f0a.jpeg\" alt=\"\" title=\"\" width=\"382\" height=\"333\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cbd\/986\/e42\/cbd986e42b7250de6a12c30c12ab5f0a.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/c92\/bb9\/a4d\/c92bb9a4d146c37e2e74861b10145b7f.jpeg\" alt=\"\" title=\"\" width=\"509\" height=\"530\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c92\/bb9\/a4d\/c92bb9a4d146c37e2e74861b10145b7f.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p><strong>Size X \u0438 Y<\/strong>\u00a0\u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u0432\u0430\u0436\u043d\u044b, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0445 \u043f\u043e\u0442\u043e\u043c \u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0437 \u043a\u043e\u0434\u0430, \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u0443\u044f \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p><strong>Size To Content<\/strong>\u00a0\u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c true.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u00a0<strong>WBP_InventoryGrid<\/strong>. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u00a0<strong>Canvas \u0438 Border<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u00a0<strong>Grid<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a50\/202\/0ff\/a502020ff194ab6519dbee3c29002e82.jpeg\" alt=\"\" title=\"\" width=\"307\" height=\"228\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a50\/202\/0ff\/a502020ff194ab6519dbee3c29002e82.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p><strong>Grid<\/strong>\u00a0\u0441\u0442\u0430\u0432\u0438\u043c \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/d7e\/93f\/57b\/d7e93f57b10200fdd6693f6a4599033b.jpeg\" alt=\"\" title=\"\" width=\"367\" height=\"330\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d7e\/93f\/57b\/d7e93f57b10200fdd6693f6a4599033b.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u0435\u043c\u0443 \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/13e\/9cd\/07b\/13e9cd07b816c9f887ae528f28261424.jpeg\" alt=\"\" title=\"\" width=\"360\" height=\"233\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/13e\/9cd\/07b\/13e9cd07b816c9f887ae528f28261424.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p><strong>Padding<\/strong>\u00a0\u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430 0:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/f0b\/3bd\/285\/f0b3bd2859ffe072dd75ef4f9f37f766.jpeg\" alt=\"\" title=\"\" width=\"451\" height=\"164\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f0b\/3bd\/285\/f0b3bd2859ffe072dd75ef4f9f37f766.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0426\u0432\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430 \u0447\u0435\u0440\u043d\u044b\u0439 \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0447\u0443\u0442\u044c \u043c\u0435\u043d\u0435\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439, \u0447\u0435\u043c\u00a0<strong>Background<\/strong>.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u00a0<strong>SHInventoryGridWidget.h<\/strong>\u00a0\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeWidget<\/strong>, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430. \u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u044f\u0447\u0435\u0439\u043a\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/0c1\/d7f\/469\/0c1d7f469d4c7199b875e8f1f5f2e667.jpeg\" alt=\"\" title=\"\" width=\"635\" height=\"95\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0c1\/d7f\/469\/0c1d7f469d4c7199b875e8f1f5f2e667.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0435 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/edf\/d69\/0f8\/edfd690f808047e1dc3e925b7e2f521a.jpeg\" alt=\"\" title=\"\" width=\"416\" height=\"121\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/edf\/d69\/0f8\/edfd690f808047e1dc3e925b7e2f521a.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443, \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0432 cpp \u0444\u0430\u0439\u043b\u0435:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/1fc\/baa\/2bc\/1fcbaa2bcb2af5aff4e139a9131ace37.jpeg\" alt=\"\" title=\"\" width=\"402\" height=\"136\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1fc\/baa\/2bc\/1fcbaa2bcb2af5aff4e139a9131ace37.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/7a8\/381\/257\/7a838125758818f9b34e74102a60bd3d.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"153\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7a8\/381\/257\/7a838125758818f9b34e74102a60bd3d.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u00a0<strong>Border(Grid)<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438 \u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0435<strong>\u00a0WBP_InventoryGrid<\/strong>.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHInventoryGridWidget.h<\/strong>\u00a0&#171;\u0437\u0430\u0431\u0438\u043d\u0434\u0438\u043c&#187;\u00a0<strong>Grid<\/strong>\u00a0\u0438\u0437 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u00a0<strong>UBorder<\/strong>\u00a0\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>Grid<\/strong>. \u0418\u043c\u0435\u043d\u0430 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e!!! \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/d19\/94f\/82c\/d1994f82ce96555abee946fc27248f5e.jpeg\" alt=\"\" title=\"\" width=\"354\" height=\"75\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d19\/94f\/82c\/d1994f82ce96555abee946fc27248f5e.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043e\u043f\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/860\/426\/88c\/86042688cb5dfda7331dc6a263b6a7b1.jpeg\" alt=\"\" title=\"\" width=\"311\" height=\"92\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/860\/426\/88c\/86042688cb5dfda7331dc6a263b6a7b1.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>Initialize \u0443 UserWidget<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/01c\/200\/674\/01c2006744e06ba5f083c184cf22bcdd.jpeg\" alt=\"\" title=\"\" width=\"642\" height=\"133\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/01c\/200\/674\/01c2006744e06ba5f083c184cf22bcdd.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 cpp \u0444\u0430\u0439\u043b\u0435:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/068\/9a9\/126\/0689a9126a160c7006c859365588b0ba.jpeg\" alt=\"\" title=\"\" width=\"376\" height=\"116\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/068\/9a9\/126\/0689a9126a160c7006c859365588b0ba.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0424\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>InitializeWidget<\/strong>\u00a0\u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u044f\u0447\u0435\u0435\u043a \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0448\u0438\u0440\u0438\u043d\u0443 \u0438 \u0432\u044b\u0441\u043e\u0442\u0443 \u044f\u0447\u0435\u0439\u043a\u0438. \u0418\u0437 \u044d\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u044b\u0439\u00a0<strong>Vector2D.<\/strong><\/p>\n<p>\u0418 \u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c \u044d\u0442\u043e\u0442 \u0432\u0435\u043a\u0442\u043e\u0440 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>SetSize<\/strong>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/2ac\/be9\/8b4\/2acbe98b47dde4fdaec7ca74f832068e.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"394\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2ac\/be9\/8b4\/2acbe98b47dde4fdaec7ca74f832068e.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHInventoryWidget.h<\/strong>\u00a0\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeInventoryWidget<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/da4\/c48\/b12\/da4c48b12d7a6fa06951b17d84510384.jpeg\" alt=\"\" title=\"\" width=\"656\" height=\"91\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/da4\/c48\/b12\/da4c48b12d7a6fa06951b17d84510384.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438 protected \u043e\u043f\u044f\u0442\u044c &#171;\u0437\u0430\u0431\u0438\u043d\u0434\u0438\u043c&#187; \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u00a0<strong>InventoryGridWidget<\/strong>\u00a0\u0438\u0437 \u0432\u0438\u0434\u0436\u0435\u0442\u0430:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/7ad\/80d\/ad0\/7ad80dad0166a0830cf17d44ece5d43c.jpeg\" alt=\"\" title=\"\" width=\"448\" height=\"89\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7ad\/80d\/ad0\/7ad80dad0166a0830cf17d44ece5d43c.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043e\u043f\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/4b4\/55c\/f7b\/4b455cf7bfb23ee752d7e67660f9cfd4.jpeg\" alt=\"\" title=\"\" width=\"414\" height=\"129\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4b4\/55c\/f7b\/4b455cf7bfb23ee752d7e67660f9cfd4.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u00a0<strong>SHInventoryWidget.\u0441\u0440\u0440<\/strong>\u00a0\u0438 \u0432 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0443\u00a0<strong>InventoryGridWidget<\/strong>\u00a0\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeWidget<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/188\/7c6\/64f\/1887c664fbb58b0d81e54059073f0d73.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"141\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/188\/7c6\/64f\/1887c664fbb58b0d81e54059073f0d73.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<a href=\"https:\/\/vk.com\/away.php?to=http%3A%2F%2FSHPlayerHUD.cpp&amp;cc_key=\" rel=\"noopener noreferrer nofollow\"><strong><u>SHPlayerHUD.cpp<\/u><\/strong><\/a>\u00a0\u0438 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u00a0<strong>InventoryWidget<\/strong>\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeInventoryWidget<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/7f6\/b5f\/c9c\/7f6b5fc9c8644e4d7fc7697845e36175.jpeg\" alt=\"\" title=\"\" width=\"639\" height=\"191\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7f6\/b5f\/c9c\/7f6b5fc9c8644e4d7fc7697845e36175.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043b\u0438\u043d\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u044f\u0447\u0435\u0439\u043a\u0430\u043c\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHInventoryGridWidget.h<\/strong>\u00a0\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>CreateLineSegments<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/c03\/fe8\/c06\/c03fe8c06649c17ae4d1c40ac40ee10d.jpeg\" alt=\"\" title=\"\" width=\"514\" height=\"222\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c03\/fe8\/c06\/c03fe8c06649c17ae4d1c40ac40ee10d.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u00a0<strong>FLine<\/strong>. \u0412 \u043d\u0435\u0439 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u043f\u043e\u043b\u0435 \u0442\u0438\u043f\u0430\u00a0<strong>Vector2D<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3b2\/729\/f84\/3b2729f84e19c0f807f5b71d2439b325.jpeg\" alt=\"\" title=\"\" width=\"378\" height=\"175\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3b2\/729\/f84\/3b2729f84e19c0f807f5b71d2439b325.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u00a0<strong>TArray<\/strong>\u00a0\u0441 \u0442\u0438\u043f\u043e\u043c \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0435\u0433\u043e\u00a0<strong>Lines<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/2e5\/e7d\/394\/2e5e7d39459a6c68b1953611094dfc49.jpeg\" alt=\"\" title=\"\" width=\"313\" height=\"50\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2e5\/e7d\/394\/2e5e7d39459a6c68b1953611094dfc49.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 cpp \u0444\u0430\u0439\u043b \u0432 \u0424\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>CreateLineSegments<\/strong>.<\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0432\u0430 \u0446\u0438\u043a\u043b\u0430 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445.<\/p>\n<p>\u041f\u043e\u043a\u0430\u00a0<strong>Index<\/strong>\u00a0\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u0435\u043d \u0447\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0<strong>Column<\/strong>\u00a0\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u0446\u0438\u043a\u043b \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f.<\/p>\n<p>\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0434\u0432\u0435 \u0442\u043e\u0447\u043a\u0438\u00a0<strong>X \u0438 Y<\/strong>\u00a0\u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u043b\u0438\u043d\u0438\u0438.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<strong>Temp<\/strong>\u00a0\u0442\u0438\u043f\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b\u00a0<strong>FLine<\/strong>, \u043a\u0443\u0434\u0430 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0448\u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b.<\/p>\n<p>\u0418 \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432<strong>\u00a0Lines<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/f6a\/7a7\/6b7\/f6a7a76b763e29c2f58a10c2ee9362e4.jpeg\" alt=\"\" title=\"\" width=\"660\" height=\"222\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f6a\/7a7\/6b7\/f6a7a76b763e29c2f58a10c2ee9362e4.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u0438 \u0441 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043b\u0438\u043d\u0438\u044f\u043c\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/bd2\/3f6\/084\/bd23f608459bb23d21005370a35c139f.jpeg\" alt=\"\" title=\"\" width=\"709\" height=\"452\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bd2\/3f6\/084\/bd23f608459bb23d21005370a35c139f.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeWidget<\/strong>\u00a0\u0438 \u043f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u044f\u0447\u0435\u0435\u043a \u0432\u044b\u0437\u043e\u0432\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>CreateLineSegments<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3cf\/5fe\/f85\/3cf5fef854771d1a721b513eff103563.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"322\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3cf\/5fe\/f85\/3cf5fef854771d1a721b513eff103563.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>NativePaint<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/b91\/bde\/c38\/b91bdec38b9b4152b457d80814e5a1ed.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"84\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b91\/bde\/c38\/b91bdec38b9b4152b457d80814e5a1ed.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<strong>Context<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/507\/1c4\/7bc\/5071c47bcc578a49be7837c6a17e360f.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"127\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/507\/1c4\/7bc\/5071c47bcc578a49be7837c6a17e360f.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0446\u0438\u043a\u043b \u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0443\u00a0<strong>Lines<\/strong>.<\/p>\n<p>C \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>DrawLine \u0443 UWidgetBlueprintLibrary<\/strong>\u00a0\u0440\u0438\u0441\u0443\u0435\u043c \u043d\u0430\u0448\u0438 \u043b\u0438\u043d\u0438\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/dd0\/dcf\/e42\/dd0dcfe429d16b8321ba14eadf3ea960.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"102\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dd0\/dcf\/e42\/dd0dcfe429d16b8321ba14eadf3ea960.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/451\/7d8\/1ae\/4517d81ae31c313653963de1cc801bff.jpeg\" alt=\"\" title=\"\" width=\"422\" height=\"67\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/451\/7d8\/1ae\/4517d81ae31c313653963de1cc801bff.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u044f\u0447\u0435\u0435\u043a \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/5bd\/361\/cab\/5bd361cab00950443d5c2be70410fade.jpeg\" alt=\"\" title=\"\" width=\"443\" height=\"139\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5bd\/361\/cab\/5bd361cab00950443d5c2be70410fade.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0435\u0441\u043b\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0433\u0440\u044b \u043d\u0430\u0436\u0430\u0442\u044c\u00a0<strong>Tab<\/strong>\u00a0\u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/db9\/437\/8f0\/db94378f072bb5a46b318a8da1673821.jpeg\" alt=\"\" title=\"\" width=\"807\" height=\"367\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/db9\/437\/8f0\/db94378f072bb5a46b318a8da1673821.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/62d125e4ab111334724405dd\" data-style=\"\" id=\"62d125e4ab111334724405dd\" width=\"\"><\/div>\n<p><strong>\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0441\u044c:<\/strong><\/p>\n<p><em>Discord &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http:\/\/discord.gg\/CqZTXY4zwG&amp;cc_key=\" rel=\"noopener noreferrer nofollow\"><u>discord.gg\/CqZTXY4zwG<\/u><\/a><\/p>\n<p><em>VK &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/vlakugames\" rel=\"noopener noreferrer nofollow\"><u>vk.com\/vlakugames<\/u><\/a><\/p>\n<p><em>Youtube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http:\/\/www.youtube.com\/channel\/UCfko3aWc2KsaDgX15cXaeBA&amp;cc_key=cchfQD\" rel=\"noopener noreferrer nofollow\"><u>vk.cc\/cchfQD<\/u><\/a><\/p>\n<p><em>Rutube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=https:\/\/rutube.ru\/channel\/23334940\/&amp;cc_key=\" rel=\"noopener noreferrer nofollow\"><u>https:\/\/rutube.ru\/channel\/23334940\/<\/u><\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/677108\/\"> https:\/\/habr.com\/ru\/articles\/677108\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<details class=\"spoiler\">\n<summary>\u0412\u0435\u0441\u044c \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439<\/summary>\n<div class=\"spoiler__content\">\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/675906\/\" rel=\"noopener noreferrer nofollow\">\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u0438\u043c\u043f\u043e\u0440\u0442 \u0430\u0441\u0441\u0435\u0442\u043e\u0432<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676530\/\" rel=\"noopener noreferrer nofollow\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u0438 \u043a\u0430\u043c\u0435\u0440\u043e\u0439<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676642\/\" rel=\"noopener noreferrer nofollow\">\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676644\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 1)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/677108\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 2)<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/details>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 &#8212;\u00a0<a href=\"https:\/\/www.youtube.com\/redirect?event=comments&amp;redir_token=QUFFLUhqbjVjYTdHUFlnT0hQSVRLZ2Y2VnVNS3BvSlNiZ3xBQ3Jtc0tsemY0d1lyMUk5Qng1WExDR3EyX1hRTmhXOGgxTVlnWUJPcnMwNzlnUnpISDJkeFhyTlc2MlJUY1BndUtWLUY4R091bzFHc01NRDFmOGRBR0xwdGhVMFV3aGVQWUF1SlNZY0o5LUxPdF80MmhYR2FkOA&amp;q=https%3A%2F%2Fgithub.com%2FSalamandrSpb%2FSurvivalHorror&amp;stzid=UgyjLIkJuXDmelG1LOh4AaABAg\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/SalamandrSpb\/SurvivalHorror<\/a>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0430\u043c\u0438\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>WBP_Inventory<\/strong>.<\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u043c \u0442\u0435\u043a\u0441\u0442 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c\u00a0<strong>Canvas Panel<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430<strong>\u00a0Canvas<\/strong>\u00a0\u0434\u043e\u0431\u0430\u0432\u0438\u043c\u00a0<strong>Border<\/strong>\u00a0\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u0435\u0433\u043e \u0432\u00a0<strong>Background<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0430\u043b\u044c\u0435\u043c \u043d\u0430\u0448\u00a0<strong>Background<\/strong>\u00a0\u043d\u0430 \u0432\u0441\u044e \u043f\u043b\u043e\u0449\u0430\u0434\u044c\u00a0<strong>Canvas<\/strong>. \u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 &#171;\u0431\u0435\u043b\u044b\u0439 \u043a\u0432\u0430\u0434\u0440\u0430\u0442&#187; \u041b\u041a\u041c+CTRL:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u043c \u0446\u0432\u0435\u0442\u00a0<strong>Background<\/strong>\u00a0\u043d\u0430 \u0447\u0435\u0440\u043d\u044b\u0439 \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043f\u043e\u0447\u0442\u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c. \u0422.\u0435. \u043a\u043e\u0433\u0434\u0430 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c, \u044d\u043a\u0440\u0430\u043d \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0442\u0435\u043c\u043d\u044f\u0442\u044c\u0441\u044f.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0438\u043b\u0443 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435\u00a0<strong>Blur Strength<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430\u00a0<strong>Canvas<\/strong>\u00a0\u043d\u0430\u0448\u0443 \u0441\u0435\u0442\u043a\u0443 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f\u00a0<strong>WBP_InventoryGrid<\/strong>\u00a0\u0438 \u043d\u0430\u0437\u043e\u0432\u0435\u043c\u00a0<strong>InventoryGridWidget<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u044f\u043a\u043e\u0440\u044c \u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u0430 \u0438 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong>Size X \u0438 Y<\/strong>\u00a0\u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u0432\u0430\u0436\u043d\u044b, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0445 \u043f\u043e\u0442\u043e\u043c \u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0437 \u043a\u043e\u0434\u0430, \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u0443\u044f \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p><strong>Size To Content<\/strong>\u00a0\u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c true.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u00a0<strong>WBP_InventoryGrid<\/strong>. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u00a0<strong>Canvas \u0438 Border<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u00a0<strong>Grid<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong>Grid<\/strong>\u00a0\u0441\u0442\u0430\u0432\u0438\u043c \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u0435\u043c\u0443 \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong>Padding<\/strong>\u00a0\u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430 0:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0426\u0432\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430 \u0447\u0435\u0440\u043d\u044b\u0439 \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0447\u0443\u0442\u044c \u043c\u0435\u043d\u0435\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439, \u0447\u0435\u043c\u00a0<strong>Background<\/strong>.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u00a0<strong>SHInventoryGridWidget.h<\/strong>\u00a0\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeWidget<\/strong>, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430. \u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u044f\u0447\u0435\u0439\u043a\u0438:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0435 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443, \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0432 cpp \u0444\u0430\u0439\u043b\u0435:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u00a0<strong>Border(Grid)<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438 \u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0435<strong>\u00a0WBP_InventoryGrid<\/strong>.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHInventoryGridWidget.h<\/strong>\u00a0&#171;\u0437\u0430\u0431\u0438\u043d\u0434\u0438\u043c&#187;\u00a0<strong>Grid<\/strong>\u00a0\u0438\u0437 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u00a0<strong>UBorder<\/strong>\u00a0\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>Grid<\/strong>. \u0418\u043c\u0435\u043d\u0430 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e!!! \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043e\u043f\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>Initialize \u0443 UserWidget<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 cpp \u0444\u0430\u0439\u043b\u0435:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0424\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>InitializeWidget<\/strong>\u00a0\u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u044f\u0447\u0435\u0435\u043a \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0448\u0438\u0440\u0438\u043d\u0443 \u0438 \u0432\u044b\u0441\u043e\u0442\u0443 \u044f\u0447\u0435\u0439\u043a\u0438. \u0418\u0437 \u044d\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u044b\u0439\u00a0<strong>Vector2D.<\/strong><\/p>\n<p>\u0418 \u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c \u044d\u0442\u043e\u0442 \u0432\u0435\u043a\u0442\u043e\u0440 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>SetSize<\/strong>.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHInventoryWidget.h<\/strong>\u00a0\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeInventoryWidget<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438 protected \u043e\u043f\u044f\u0442\u044c &#171;\u0437\u0430\u0431\u0438\u043d\u0434\u0438\u043c&#187; \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u00a0<strong>InventoryGridWidget<\/strong>\u00a0\u0438\u0437 \u0432\u0438\u0434\u0436\u0435\u0442\u0430:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043e\u043f\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u00a0<strong>SHInventoryWidget.\u0441\u0440\u0440<\/strong>\u00a0\u0438 \u0432 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0443\u00a0<strong>InventoryGridWidget<\/strong>\u00a0\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeWidget<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<a href=\"https:\/\/vk.com\/away.php?to=http%3A%2F%2FSHPlayerHUD.cpp&amp;cc_key=\" rel=\"noopener noreferrer nofollow\"><strong><u>SHPlayerHUD.cpp<\/u><\/strong><\/a>\u00a0\u0438 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u00a0<strong>InventoryWidget<\/strong>\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeInventoryWidget<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043b\u0438\u043d\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u044f\u0447\u0435\u0439\u043a\u0430\u043c\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHInventoryGridWidget.h<\/strong>\u00a0\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>CreateLineSegments<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u00a0<strong>FLine<\/strong>. \u0412 \u043d\u0435\u0439 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u043f\u043e\u043b\u0435 \u0442\u0438\u043f\u0430\u00a0<strong>Vector2D<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u00a0<strong>TArray<\/strong>\u00a0\u0441 \u0442\u0438\u043f\u043e\u043c \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0435\u0433\u043e\u00a0<strong>Lines<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 cpp \u0444\u0430\u0439\u043b \u0432 \u0424\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>CreateLineSegments<\/strong>.<\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0432\u0430 \u0446\u0438\u043a\u043b\u0430 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445.<\/p>\n<p>\u041f\u043e\u043a\u0430\u00a0<strong>Index<\/strong>\u00a0\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u0435\u043d \u0447\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0<strong>Column<\/strong>\u00a0\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u0446\u0438\u043a\u043b \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f.<\/p>\n<p>\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0434\u0432\u0435 \u0442\u043e\u0447\u043a\u0438\u00a0<strong>X \u0438 Y<\/strong>\u00a0\u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u043b\u0438\u043d\u0438\u0438.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<strong>Temp<\/strong>\u00a0\u0442\u0438\u043f\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b\u00a0<strong>FLine<\/strong>, \u043a\u0443\u0434\u0430 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0448\u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b.<\/p>\n<p>\u0418 \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432<strong>\u00a0Lines<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u0438 \u0441 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043b\u0438\u043d\u0438\u044f\u043c\u0438:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>InitializeWidget<\/strong>\u00a0\u0438 \u043f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u044f\u0447\u0435\u0435\u043a \u0432\u044b\u0437\u043e\u0432\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>CreateLineSegments<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>NativePaint<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<strong>Context<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0446\u0438\u043a\u043b \u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0443\u00a0<strong>Lines<\/strong>.<\/p>\n<p>C \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>DrawLine \u0443 UWidgetBlueprintLibrary<\/strong>\u00a0\u0440\u0438\u0441\u0443\u0435\u043c \u043d\u0430\u0448\u0438 \u043b\u0438\u043d\u0438\u0438:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u044f\u0447\u0435\u0435\u043a \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0435\u0441\u043b\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0433\u0440\u044b \u043d\u0430\u0436\u0430\u0442\u044c\u00a0<strong>Tab<\/strong>\u00a0\u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/62d125e4ab111334724405dd\" data-style=\"\" id=\"62d125e4ab111334724405dd\" width=\"\"><\/div>\n<p><strong>\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0441\u044c:<\/strong><\/p>\n<p><em>Discord &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http:\/\/discord.gg\/CqZTXY4zwG&amp;cc_key=\" rel=\"noopener noreferrer nofollow\"><u>discord.gg\/CqZTXY4zwG<\/u><\/a><\/p>\n<p><em>VK &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/vlakugames\" rel=\"noopener noreferrer nofollow\"><u>vk.com\/vlakugames<\/u><\/a><\/p>\n<p><em>Youtube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http:\/\/www.youtube.com\/channel\/UCfko3aWc2KsaDgX15cXaeBA&amp;cc_key=cchfQD\" rel=\"noopener noreferrer nofollow\"><u>vk.cc\/cchfQD<\/u><\/a><\/p>\n<p><em>Rutube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=https:\/\/rutube.ru\/channel\/23334940\/&amp;cc_key=\" rel=\"noopener noreferrer nofollow\"><u>https:\/\/rutube.ru\/channel\/23334940\/<\/u><\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/677108\/\"> https:\/\/habr.com\/ru\/articles\/677108\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-405956","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/405956","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=405956"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/405956\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=405956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=405956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=405956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}