1"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[1861],{9407:(e,t,n)=>{n.d(t,{A:()=>i});const i=n.p+"assets/images/T_ExamplePayloadTemplate-cdd1f999d42ccce97bd4ae9e409716ce.png"},19406:(e,t,n)=>{n.d(t,{A:()=>i});const i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAEFlJREFUeF7tmntQFFe6wLt7unveA8NLeSiPIYg8BnyBEiqo14tmxRs0RgNcZoB5yXrXGOrmbm22ttab7GZ3szHeTZWaeTHDiIYyvhXfghrRJcQyBvUiiigvQUSEeXZPT/flUJDygQojuVWY9D8UcPo75/v1d77zPQ4M/cwf+GeuP/QLgF8s4GdO4LEtoNVq03Ec/x8ul3uUIIhNcrm851Xn8xiAbdu2fRUZGfmu3W7vbGlpmYTj+D6CILao1eqTryqIHwFs3rxZIBKJGhMTE4OnT58OMQwD3bhxA2poaLDa7fZuDMMO5+Xl/eZVA/GYBeh0usVCofADm822IDo62hEbGyuYPHkydPfuXej8+fOk0+ncmZ+fn/8qQRjxGLRYLEEEQcgxDCvm8/kBfn5+8MKFCwVHjhxx9PT07M/Pz899VSC8MA7Q6XT5PB7v8+nTp7NmzpwpPnbsmKOrq+uQXC5f/SpAeCEAoKRWq53KZrOrExISxLNmzRIfP37c3tXVdVQmk62c6BBGBQAouXXr1lAej1cdFxcXOHv2bN8TJ07YOzs7T8hksuUTGcKoAQAlN2/ePFkgEFTHxsZOTklJ8T116pS9o6OjSiaT/dtEhTAmAEPbIYDL5Z6JiYkJTU1N9amqqrK1tbV9I5fLf/X/BcFgMPgxDLMSRdELFEUtQRDknEKhuODN/GMGACbZsmWLWCgUnomOjp46d+5cnx07drjsdvuy0QZMwJLYbHYMwzABNE1zYBh2slis1qKiooswDDPPU8RgMPwXBEF/ioiIIP38/Pj9/f1t7e3tGEEQDz0ez99VKpVxLCC8AjBsCRwO545MJuPt3r27v7e39wOVSqV7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m0+ePGlvb28Hlemn7iyWlZUdFYlEqdnZ2YM3MEASVVtbu02tVsvGLRAazdE13mPMZnNTRkZGFHB4IOQFdxa7u7s7B1pk3xMEAS5IRXK53Hh/f/9IcLVmoM4A2e12YP4gZ0krLi4e7BVMSAsYCsEzaZo+smzZMmS4BwgSK9AcIQgCAr0IkHANF15Bf/DAgQPW3t7ej9Rq9WfjGgqP99cdrTy9Xr8ahuHyOXPmgL7DM6tHoD1+9uxZO0EQnw4Ubj56VP6EtYBhJfR6/Swej/ePgUtYyRKJhAoJCfEB5u52uyHQEGlsbLzvcrkekCT5O5VKtedJuBMewLBCINoD/UkMw1IRBJnMMEwvSZKXGIY5rVarDz3Lql4ZAKPdNq+sBfwCwEsCv2wBL8G9Mq/97C3g/wCXQ0uqBRUToQAAAABJRU5ErkJggg=="},28453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>o});var i=n(96540);const s={},r=i.createContext(s);function a(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(r.Provider,{value:t},e.children)}},43128:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"Nested-Invnetory-Architecture/Data-Structure/PayloadTemplateDataAsset","title":"Payload Template Data Asset","description":"InvPayloadTemplateImage","source":"@site/docs/Nested-Invnetory-Architecture/Data-Structure/PayloadTemplateDataAsset.md","sourceDirName":"Nested-Invnetory-Architecture/Data-Structure","slug":"/Nested-Invnetory-Architecture/Data-Structure/PayloadTemplateDataAsset","permalink":"/docs/Nested-Invnetory-Architecture/Data-Structure/PayloadTemplateDataAsset","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Item Static Data Asset","permalink":"/docs/Nested-Invnetory-Architecture/Data-Structure/ItemStaticDataAsset"},"next":{"title":"Object Hierarchy And Their Uses","permalink":"/docs/Nested-Invnetory-Architecture/Data-Structure/ObjectHierarchy"}}');var s=n(74848),r=n(28453);const a={sidebar_position:3},o="Payload Template Data Asset",l={},c=[{value:"Default Payload Template Data Asset",id:"default-payload-template-data-asset",level:2}];function d(e){const t={a:"a",admonition:"admonition",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"payload-template-data-asset",children:"Payload Template Data Asset"})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"InvPayloadTemplateImage",src:n(19406).A+"",width:"64",height:"64"})}),"\n",(0,s.jsx)(t.p,{children:"This asset type's main objective is to initialize item's payload object to initialize by giving it a template for the object's initial values."}),"\n",(0,s.jsx)(t.p,{children:"They can be:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Values can change at runtime (Rustyness, condition, wetness etc.)"}),"\n",(0,s.jsx)(t.li,{children:"Sub invnetory system of the item."}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["By default it only creates the sub invnetory. By giving you a virtual inventory view that holds ",(0,s.jsx)(t.strong,{children:"Item Static Data"})," instead of the actual objects."]}),"\n",(0,s.jsx)(t.h2,{id:"default-payload-template-data-asset",children:"Default Payload Template Data Asset"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"InvPayloadTemplateExample",src:n(9407).A+"",width:"1066",height:"957"})}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Property"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Inventory Template"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"FTemplateInventory"})}),(0,s.jsx)(t.td,{children:"Main Struct for actual inventory struct to be created."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Template Inventory Sections"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"FTemplateInventorySection"})}),(0,s.jsx)(t.td,{children:"Holds the relevant data for the section that will be actually created."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Section Tag"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"GameplayTag"})}),(0,s.jsx)(t.td,{children:"Type of the section. Will be relevant for if and item of type can enter the section."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Start At Coords"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"FIntPoint"})}),(0,s.jsxs)(t.td,{children:[(0,s.jsx)(t.strong,{children:"Optional"})," It is used in Template Inventory for creating section at selected coords from top left of the section. Other inventory types may not need this."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Section Grid Size"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"FIntPoint"})}),(0,s.jsxs)(t.td,{children:["The inventory size of the section. When editing Items array will be resized automatically by the result of ",(0,s.jsx)(t.code,{children:"x * y"}),", but holding the values previously exists."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Items"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"ItemStaticData = []"})}),(0,s.jsxs)(t.td,{children:["The array that will create the initial items of the inventory. Indexes are used for where the item will be created (at which index, it is visible at template inventory and ",(0,s.jsx)(t.code,{children:"GetDebugStringFromInventory"}),"). If overlapping items are found, it will be logged in the ",(0,s.jsx)(t.em,{children:"Output Log"})," of the editor."]})]})]})]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["Sections in the inventory, could be think of like ",(0,s.jsx)(t.a,{href:"https://docs.unrealengine.com/4.26/en-US/ProgrammingAndScripting/Blueprints/BP_HowTo/WorkingWithMaps/",children:(0,s.jsx)(t.code,{children:"maps"})})," but they are not. There can more than one section with the same tag in one inventory, and they can be replicated unlike ",(0,s.jsx)(t.code,{children:"maps"}),". But other than that, you can ",(0,s.jsx)(t.code,{children:"find"})," the sections with tag, ",(0,s.jsx)(t.code,{children:"add"})," a section or change its content like in ",(0,s.jsx)(t.code,{children:"maps"}),"."]})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.