3
0

LY_SC_UnitTest_FunctionContainerInputTest.scriptcanvas 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 991245413734446
  9. },
  10. "Name": "LY_SC_UnitTest_FunctionContainerInputTest",
  11. "Components": {
  12. "Component_[15760920460852482896]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 15760920460852482896,
  15. "m_variableData": {
  16. "m_nameVariableMap": [
  17. {
  18. "Key": {
  19. "m_id": "{613FF258-EE61-4B4B-A859-71529C793A86}"
  20. },
  21. "Value": {
  22. "Datum": {
  23. "isOverloadedStorage": false,
  24. "scriptCanvasType": {
  25. "m_type": 4,
  26. "m_azType": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}"
  27. },
  28. "isNullPointer": false,
  29. "$type": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C} AZStd::vector",
  30. "value": [
  31. "Sweet",
  32. "Cool"
  33. ],
  34. "label": "Array<String>"
  35. },
  36. "VariableId": {
  37. "m_id": "{613FF258-EE61-4B4B-A859-71529C793A86}"
  38. },
  39. "VariableName": "Variable 3"
  40. }
  41. }
  42. ]
  43. }
  44. },
  45. "Component_[3038816695528949663]": {
  46. "$type": "EditorGraph",
  47. "Id": 3038816695528949663,
  48. "m_graphData": {
  49. "m_nodes": [
  50. {
  51. "Id": {
  52. "id": 991249708701742
  53. },
  54. "Name": "SC-Node(Start)",
  55. "Components": {
  56. "Component_[5997007499607139380]": {
  57. "$type": "Start",
  58. "Id": 5997007499607139380,
  59. "Slots": [
  60. {
  61. "id": {
  62. "m_id": "{29A7EA49-1E9F-4EA0-9FEB-182CA4513385}"
  63. },
  64. "contracts": [
  65. {
  66. "$type": "SlotTypeContract"
  67. }
  68. ],
  69. "slotName": "Out",
  70. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  71. "Descriptor": {
  72. "ConnectionType": 2,
  73. "SlotType": 1
  74. }
  75. }
  76. ]
  77. }
  78. }
  79. },
  80. {
  81. "Id": {
  82. "id": 991254003669038
  83. },
  84. "Name": "FunctionCallNode",
  85. "Components": {
  86. "Component_[8507359226232004165]": {
  87. "$type": "FunctionCallNode",
  88. "Id": 8507359226232004165,
  89. "Slots": [
  90. {
  91. "id": {
  92. "m_id": "{D64E21F2-DB93-4083-9097-175C030CE23A}"
  93. },
  94. "contracts": [
  95. {
  96. "$type": "SlotTypeContract"
  97. }
  98. ],
  99. "slotName": "New Input 1",
  100. "DisplayGroup": {
  101. "Value": 756956357
  102. },
  103. "Descriptor": {
  104. "ConnectionType": 1,
  105. "SlotType": 1
  106. }
  107. },
  108. {
  109. "id": {
  110. "m_id": "{8AD9C45A-2C79-412C-B5A6-7345D5C874CE}"
  111. },
  112. "contracts": [
  113. {
  114. "$type": "SlotTypeContract"
  115. }
  116. ],
  117. "slotName": "TwoStrings",
  118. "DisplayGroup": {
  119. "Value": 756956357
  120. },
  121. "Descriptor": {
  122. "ConnectionType": 1,
  123. "SlotType": 2
  124. },
  125. "DataType": 1,
  126. "IsReference": true,
  127. "VariableReference": {
  128. "m_id": "{613FF258-EE61-4B4B-A859-71529C793A86}"
  129. }
  130. },
  131. {
  132. "id": {
  133. "m_id": "{573AA2ED-7A0B-4AED-9515-975C09034AF3}"
  134. },
  135. "contracts": [
  136. {
  137. "$type": "SlotTypeContract"
  138. }
  139. ],
  140. "slotName": "New Input 1",
  141. "DisplayGroup": {
  142. "Value": 756956357
  143. },
  144. "Descriptor": {
  145. "ConnectionType": 2,
  146. "SlotType": 1
  147. }
  148. }
  149. ],
  150. "Datums": [
  151. {
  152. "scriptCanvasType": {
  153. "m_type": 4,
  154. "m_azType": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}"
  155. },
  156. "isNullPointer": false,
  157. "$type": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C} AZStd::vector",
  158. "label": "TwoStrings"
  159. }
  160. ],
  161. "m_sourceId": "{9EB1BA2F-A076-4E98-8843-3298249B8B16}",
  162. "m_asset": {
  163. "assetId": {
  164. "guid": "{BE2463C7-E9F3-5545-A44C-0548D2AF7C7F}",
  165. "subId": 3756448882
  166. },
  167. "assetHint": "scriptcanvas/unittests/ly_sc_unittest_functioncontainerinputfunction.scriptcanvas_fn_compiled"
  168. },
  169. "m_slotExecutionMap": {
  170. "ins": [
  171. {
  172. "_slotId": {
  173. "m_id": "{D64E21F2-DB93-4083-9097-175C030CE23A}"
  174. },
  175. "_inputs": [
  176. {
  177. "_slotId": {
  178. "m_id": "{8AD9C45A-2C79-412C-B5A6-7345D5C874CE}"
  179. }
  180. }
  181. ],
  182. "_outs": [
  183. {
  184. "_slotId": {
  185. "m_id": "{573AA2ED-7A0B-4AED-9515-975C09034AF3}"
  186. },
  187. "_name": "New Input 1",
  188. "_interfaceSourceId": "{9EB1BA2F-A076-4E98-E720-CF3AE720CF3A}"
  189. }
  190. ],
  191. "_parsedName": "NewInput1_scvm",
  192. "_interfaceSourceId": "{9EB1BA2F-A076-4E98-8843-3298249B8B16}"
  193. }
  194. ]
  195. },
  196. "m_slotExecutionMapSourceInterface": {
  197. "ins": [
  198. {
  199. "displayName": "New Input 1",
  200. "parsedName": "NewInput1_scvm",
  201. "inputs": [
  202. {
  203. "displayName": "TwoStrings",
  204. "parsedName": "TwoStrings_scvm",
  205. "datum": {
  206. "isOverloadedStorage": false,
  207. "scriptCanvasType": {
  208. "m_type": 4,
  209. "m_azType": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C}"
  210. },
  211. "isNullPointer": false,
  212. "$type": "{99DAD0BC-740E-5E82-826B-8FC7968CC02C} AZStd::vector"
  213. }
  214. }
  215. ],
  216. "outs": [
  217. {
  218. "displayName": "New Input 1",
  219. "parsedName": "NewInput1",
  220. "sourceID": "{9EB1BA2F-A076-4E98-E720-CF3AE720CF3A}"
  221. }
  222. ],
  223. "isPure": true,
  224. "sourceID": "{9EB1BA2F-A076-4E98-8843-3298249B8B16}"
  225. }
  226. ],
  227. "outKeys": [
  228. {
  229. "Value": 756956357
  230. }
  231. ],
  232. "namespacePath": [
  233. "ScriptCanvas",
  234. "UnitTests",
  235. "LY_SC_UnitTest_FunctionContainerInputFunction_VM"
  236. ]
  237. }
  238. }
  239. }
  240. }
  241. ],
  242. "m_connections": [
  243. {
  244. "Id": {
  245. "id": 991258298636334
  246. },
  247. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Function Call Node: New Input 1)",
  248. "Components": {
  249. "Component_[9452717911445906062]": {
  250. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  251. "Id": 9452717911445906062,
  252. "sourceEndpoint": {
  253. "nodeId": {
  254. "id": 991249708701742
  255. },
  256. "slotId": {
  257. "m_id": "{29A7EA49-1E9F-4EA0-9FEB-182CA4513385}"
  258. }
  259. },
  260. "targetEndpoint": {
  261. "nodeId": {
  262. "id": 991254003669038
  263. },
  264. "slotId": {
  265. "m_id": "{D64E21F2-DB93-4083-9097-175C030CE23A}"
  266. }
  267. }
  268. }
  269. }
  270. }
  271. ]
  272. },
  273. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  274. "versionData": {
  275. "_grammarVersion": 1,
  276. "_runtimeVersion": 1,
  277. "_fileVersion": 1
  278. },
  279. "m_variableCounter": 3,
  280. "GraphCanvasData": [
  281. {
  282. "Key": {
  283. "id": 991245413734446
  284. },
  285. "Value": {
  286. "ComponentData": {
  287. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  288. "$type": "SceneComponentSaveData",
  289. "ViewParams": {
  290. "AnchorX": 379.0,
  291. "AnchorY": 45.0
  292. }
  293. }
  294. }
  295. }
  296. },
  297. {
  298. "Key": {
  299. "id": 991249708701742
  300. },
  301. "Value": {
  302. "ComponentData": {
  303. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  304. "$type": "NodeSaveData"
  305. },
  306. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  307. "$type": "GeneralNodeTitleComponentSaveData",
  308. "PaletteOverride": "TimeNodeTitlePalette"
  309. },
  310. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  311. "$type": "GeometrySaveData",
  312. "Position": [
  313. 500.0,
  314. 220.0
  315. ]
  316. },
  317. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  318. "$type": "StylingComponentSaveData"
  319. },
  320. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  321. "$type": "PersistentIdComponentSaveData",
  322. "PersistentId": "{B596CF69-DAFD-4C88-BAC1-78EB7D36D7B4}"
  323. }
  324. }
  325. }
  326. },
  327. {
  328. "Key": {
  329. "id": 991254003669038
  330. },
  331. "Value": {
  332. "ComponentData": {
  333. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  334. "$type": "NodeSaveData"
  335. },
  336. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  337. "$type": "GeneralNodeTitleComponentSaveData",
  338. "PaletteOverride": "MethodNodeTitlePalette"
  339. },
  340. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  341. "$type": "GeometrySaveData",
  342. "Position": [
  343. 700.0,
  344. 240.0
  345. ]
  346. },
  347. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  348. "$type": "StylingComponentSaveData",
  349. "SubStyle": ".method"
  350. },
  351. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  352. "$type": "PersistentIdComponentSaveData",
  353. "PersistentId": "{8DE27A94-F02C-43B7-BB3D-5611D319E41B}"
  354. }
  355. }
  356. }
  357. }
  358. ],
  359. "StatisticsHelper": {
  360. "InstanceCounter": [
  361. {
  362. "Key": 4199610336680704683,
  363. "Value": 1
  364. },
  365. {
  366. "Key": 7721683751185626951,
  367. "Value": 1
  368. }
  369. ]
  370. }
  371. }
  372. }
  373. }
  374. }
  375. }