LY_SC_UnitTest_LatentCallOfPureUserFunction.scriptcanvas 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 273504838965294
  9. },
  10. "Name": "LY_SC_UnitTest_LatentCallOfPureUserFunction",
  11. "Components": {
  12. "Component_[15689091942531117650]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 15689091942531117650
  15. },
  16. "Component_[6571535133870744578]": {
  17. "$type": "EditorGraph",
  18. "Id": 6571535133870744578,
  19. "m_graphData": {
  20. "m_nodes": [
  21. {
  22. "Id": {
  23. "id": 273513428899886
  24. },
  25. "Name": "SC-Node(TimeDelayNodeableNode)",
  26. "Components": {
  27. "Component_[1053952827100754458]": {
  28. "$type": "TimeDelayNodeableNode",
  29. "Id": 1053952827100754458,
  30. "Slots": [
  31. {
  32. "id": {
  33. "m_id": "{98881463-93EA-4134-B167-7570F78F526D}"
  34. },
  35. "contracts": [
  36. {
  37. "$type": "SlotTypeContract"
  38. }
  39. ],
  40. "slotName": "Start",
  41. "DisplayGroup": {
  42. "Value": 2675529103
  43. },
  44. "Descriptor": {
  45. "ConnectionType": 1,
  46. "SlotType": 1
  47. }
  48. },
  49. {
  50. "id": {
  51. "m_id": "{357C23C8-2A4C-49F1-BE4B-939734B6F05B}"
  52. },
  53. "contracts": [
  54. {
  55. "$type": "SlotTypeContract"
  56. },
  57. null
  58. ],
  59. "slotName": "Delay",
  60. "toolTip": "The amount of time to delay before the Done is signalled.",
  61. "DisplayGroup": {
  62. "Value": 2675529103
  63. },
  64. "Descriptor": {
  65. "ConnectionType": 1,
  66. "SlotType": 2
  67. },
  68. "DataType": 1
  69. },
  70. {
  71. "id": {
  72. "m_id": "{AEBF8386-4C3B-4A58-904B-30907580EADA}"
  73. },
  74. "contracts": [
  75. {
  76. "$type": "SlotTypeContract"
  77. }
  78. ],
  79. "slotName": "On Start",
  80. "DisplayGroup": {
  81. "Value": 2675529103
  82. },
  83. "Descriptor": {
  84. "ConnectionType": 2,
  85. "SlotType": 1
  86. }
  87. },
  88. {
  89. "id": {
  90. "m_id": "{2042EA06-6AE4-49EA-B162-4C1EEB7C6F7A}"
  91. },
  92. "contracts": [
  93. {
  94. "$type": "SlotTypeContract"
  95. }
  96. ],
  97. "slotName": "Done",
  98. "toolTip": "Signaled after waiting for the specified amount of times.",
  99. "DisplayGroup": {
  100. "Value": 271442091
  101. },
  102. "Descriptor": {
  103. "ConnectionType": 2,
  104. "SlotType": 1
  105. },
  106. "IsLatent": true
  107. }
  108. ],
  109. "Datums": [
  110. {
  111. "isOverloadedStorage": false,
  112. "scriptCanvasType": {
  113. "m_type": 3
  114. },
  115. "isNullPointer": false,
  116. "$type": "double",
  117. "value": 3.0,
  118. "label": "Delay"
  119. }
  120. ],
  121. "slotExecutionMap": {
  122. "ins": [
  123. {
  124. "_slotId": {
  125. "m_id": "{98881463-93EA-4134-B167-7570F78F526D}"
  126. },
  127. "_inputs": [
  128. {
  129. "_slotId": {
  130. "m_id": "{357C23C8-2A4C-49F1-BE4B-939734B6F05B}"
  131. }
  132. }
  133. ],
  134. "_outs": [
  135. {
  136. "_slotId": {
  137. "m_id": "{AEBF8386-4C3B-4A58-904B-30907580EADA}"
  138. },
  139. "_name": "On Start",
  140. "_interfaceSourceId": "{00000000-0000-0080-0000-000000000000}"
  141. }
  142. ],
  143. "_interfaceSourceId": "{B0889881-5902-0000-9625-123BF87F0000}"
  144. }
  145. ],
  146. "latents": [
  147. {
  148. "_slotId": {
  149. "m_id": "{2042EA06-6AE4-49EA-B162-4C1EEB7C6F7A}"
  150. },
  151. "_name": "Done",
  152. "_interfaceSourceId": "{F06B71D1-FF7F-0000-2000-000000000000}"
  153. }
  154. ]
  155. }
  156. }
  157. }
  158. },
  159. {
  160. "Id": {
  161. "id": 273522018834478
  162. },
  163. "Name": "SC-Node(Mark Complete)",
  164. "Components": {
  165. "Component_[1417761892103721732]": {
  166. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  167. "Id": 1417761892103721732,
  168. "Slots": [
  169. {
  170. "isVisibile": false,
  171. "id": {
  172. "m_id": "{7F333623-93C2-44E7-9589-48B78A9E99E9}"
  173. },
  174. "contracts": [
  175. {
  176. "$type": "SlotTypeContract"
  177. },
  178. null
  179. ],
  180. "slotName": "EntityID: 0",
  181. "Descriptor": {
  182. "ConnectionType": 1,
  183. "SlotType": 2
  184. },
  185. "DataType": 1
  186. },
  187. {
  188. "id": {
  189. "m_id": "{233D398C-67B5-472A-BCF6-FC6C4E67C16A}"
  190. },
  191. "contracts": [
  192. {
  193. "$type": "SlotTypeContract"
  194. },
  195. null
  196. ],
  197. "slotName": "Report",
  198. "toolTip": "additional notes for the test report",
  199. "Descriptor": {
  200. "ConnectionType": 1,
  201. "SlotType": 2
  202. },
  203. "DataType": 1
  204. },
  205. {
  206. "id": {
  207. "m_id": "{77092888-66FF-41B7-9FA4-929734197818}"
  208. },
  209. "contracts": [
  210. {
  211. "$type": "SlotTypeContract"
  212. }
  213. ],
  214. "slotName": "In",
  215. "Descriptor": {
  216. "ConnectionType": 1,
  217. "SlotType": 1
  218. }
  219. },
  220. {
  221. "id": {
  222. "m_id": "{3E9C52F2-24C3-42AA-ACE6-05766F30BA4F}"
  223. },
  224. "contracts": [
  225. {
  226. "$type": "SlotTypeContract"
  227. }
  228. ],
  229. "slotName": "Out",
  230. "Descriptor": {
  231. "ConnectionType": 2,
  232. "SlotType": 1
  233. }
  234. }
  235. ],
  236. "Datums": [
  237. {
  238. "isOverloadedStorage": false,
  239. "scriptCanvasType": {
  240. "m_type": 1
  241. },
  242. "isNullPointer": false,
  243. "$type": "EntityId",
  244. "value": {
  245. "id": 4276206253
  246. }
  247. },
  248. {
  249. "isOverloadedStorage": false,
  250. "scriptCanvasType": {
  251. "m_type": 5
  252. },
  253. "isNullPointer": false,
  254. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  255. "value": "",
  256. "label": "Report"
  257. }
  258. ],
  259. "methodType": 2,
  260. "methodName": "Mark Complete",
  261. "className": "Unit Testing",
  262. "resultSlotIDs": [
  263. {}
  264. ],
  265. "prettyClassName": "Unit Testing"
  266. }
  267. }
  268. },
  269. {
  270. "Id": {
  271. "id": 273509133932590
  272. },
  273. "Name": "SC-Node(Start)",
  274. "Components": {
  275. "Component_[15193913073954065552]": {
  276. "$type": "Start",
  277. "Id": 15193913073954065552,
  278. "Slots": [
  279. {
  280. "id": {
  281. "m_id": "{D0566322-ABB1-4DE3-BF2D-4ED1ED64E114}"
  282. },
  283. "contracts": [
  284. {
  285. "$type": "SlotTypeContract"
  286. }
  287. ],
  288. "slotName": "Out",
  289. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  290. "Descriptor": {
  291. "ConnectionType": 2,
  292. "SlotType": 1
  293. }
  294. }
  295. ]
  296. }
  297. }
  298. },
  299. {
  300. "Id": {
  301. "id": 273517723867182
  302. },
  303. "Name": "FunctionCallNode",
  304. "Components": {
  305. "Component_[16811267658047538831]": {
  306. "$type": "FunctionCallNode",
  307. "Id": 16811267658047538831,
  308. "Slots": [
  309. {
  310. "id": {
  311. "m_id": "{B9BCC3F2-0B3B-448A-9535-1BEC67F90BEE}"
  312. },
  313. "contracts": [
  314. {
  315. "$type": "SlotTypeContract"
  316. }
  317. ],
  318. "slotName": "In",
  319. "DisplayGroup": {
  320. "Value": 1609338446
  321. },
  322. "Descriptor": {
  323. "ConnectionType": 1,
  324. "SlotType": 1
  325. }
  326. },
  327. {
  328. "id": {
  329. "m_id": "{3D5A170D-0E7D-43C1-957D-FAA97B9E0907}"
  330. },
  331. "contracts": [
  332. {
  333. "$type": "SlotTypeContract"
  334. }
  335. ],
  336. "slotName": "Out",
  337. "DisplayGroup": {
  338. "Value": 1609338446
  339. },
  340. "Descriptor": {
  341. "ConnectionType": 2,
  342. "SlotType": 1
  343. }
  344. }
  345. ],
  346. "m_sourceId": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}",
  347. "m_asset": {
  348. "assetId": {
  349. "guid": "{D1D3EB5E-1541-53D9-90F0-0F39BCEBB30C}",
  350. "subId": 3756448882
  351. },
  352. "assetHint": "scriptcanvas/unittests/ly_sc_unittest_helloworldfunction.scriptcanvas_fn_compiled"
  353. },
  354. "m_slotExecutionMap": {
  355. "ins": [
  356. {
  357. "_slotId": {
  358. "m_id": "{B9BCC3F2-0B3B-448A-9535-1BEC67F90BEE}"
  359. },
  360. "_outs": [
  361. {
  362. "_slotId": {
  363. "m_id": "{3D5A170D-0E7D-43C1-957D-FAA97B9E0907}"
  364. },
  365. "_name": "Out",
  366. "_interfaceSourceId": "{1EDB5858-BF68-4C06-81BE-C4C6C18500C2}"
  367. }
  368. ],
  369. "_parsedName": "In_scvm",
  370. "_interfaceSourceId": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}"
  371. }
  372. ]
  373. },
  374. "m_slotExecutionMapSourceInterface": {
  375. "ins": [
  376. {
  377. "displayName": "In",
  378. "parsedName": "In_scvm",
  379. "outs": [
  380. {
  381. "displayName": "Out",
  382. "parsedName": "Out",
  383. "sourceID": "{1EDB5858-BF68-4C06-81BE-C4C6C18500C2}"
  384. }
  385. ],
  386. "isPure": true,
  387. "sourceID": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}"
  388. }
  389. ],
  390. "outKeys": [
  391. {
  392. "Value": 3119148441
  393. }
  394. ],
  395. "namespacePath": [
  396. "ScriptCanvas",
  397. "UnitTests",
  398. "LY_SC_UnitTest_HelloWorldFunction_VM"
  399. ]
  400. }
  401. }
  402. }
  403. }
  404. ],
  405. "m_connections": [
  406. {
  407. "Id": {
  408. "id": 273526313801774
  409. },
  410. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(TimeDelay: Start)",
  411. "Components": {
  412. "Component_[1596432431347764630]": {
  413. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  414. "Id": 1596432431347764630,
  415. "sourceEndpoint": {
  416. "nodeId": {
  417. "id": 273509133932590
  418. },
  419. "slotId": {
  420. "m_id": "{D0566322-ABB1-4DE3-BF2D-4ED1ED64E114}"
  421. }
  422. },
  423. "targetEndpoint": {
  424. "nodeId": {
  425. "id": 273513428899886
  426. },
  427. "slotId": {
  428. "m_id": "{98881463-93EA-4134-B167-7570F78F526D}"
  429. }
  430. }
  431. }
  432. }
  433. },
  434. {
  435. "Id": {
  436. "id": 273530608769070
  437. },
  438. "Name": "srcEndpoint=(TimeDelay: Done), destEndpoint=(Function Call Node: In)",
  439. "Components": {
  440. "Component_[2452595094640216734]": {
  441. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  442. "Id": 2452595094640216734,
  443. "sourceEndpoint": {
  444. "nodeId": {
  445. "id": 273513428899886
  446. },
  447. "slotId": {
  448. "m_id": "{2042EA06-6AE4-49EA-B162-4C1EEB7C6F7A}"
  449. }
  450. },
  451. "targetEndpoint": {
  452. "nodeId": {
  453. "id": 273517723867182
  454. },
  455. "slotId": {
  456. "m_id": "{B9BCC3F2-0B3B-448A-9535-1BEC67F90BEE}"
  457. }
  458. }
  459. }
  460. }
  461. },
  462. {
  463. "Id": {
  464. "id": 273534903736366
  465. },
  466. "Name": "srcEndpoint=(Function Call Node: Out), destEndpoint=(Mark Complete: In)",
  467. "Components": {
  468. "Component_[15803796564312159315]": {
  469. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  470. "Id": 15803796564312159315,
  471. "sourceEndpoint": {
  472. "nodeId": {
  473. "id": 273517723867182
  474. },
  475. "slotId": {
  476. "m_id": "{3D5A170D-0E7D-43C1-957D-FAA97B9E0907}"
  477. }
  478. },
  479. "targetEndpoint": {
  480. "nodeId": {
  481. "id": 273522018834478
  482. },
  483. "slotId": {
  484. "m_id": "{77092888-66FF-41B7-9FA4-929734197818}"
  485. }
  486. }
  487. }
  488. }
  489. }
  490. ]
  491. },
  492. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  493. "versionData": {
  494. "_grammarVersion": 1,
  495. "_runtimeVersion": 1,
  496. "_fileVersion": 1
  497. },
  498. "GraphCanvasData": [
  499. {
  500. "Key": {
  501. "id": 273504838965294
  502. },
  503. "Value": {
  504. "ComponentData": {
  505. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  506. "$type": "SceneComponentSaveData",
  507. "ViewParams": {
  508. "Scale": 0.9191536,
  509. "AnchorX": -3.2638723850250244,
  510. "AnchorY": -82.68476867675781
  511. }
  512. }
  513. }
  514. }
  515. },
  516. {
  517. "Key": {
  518. "id": 273509133932590
  519. },
  520. "Value": {
  521. "ComponentData": {
  522. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  523. "$type": "NodeSaveData"
  524. },
  525. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  526. "$type": "GeneralNodeTitleComponentSaveData",
  527. "PaletteOverride": "TimeNodeTitlePalette"
  528. },
  529. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  530. "$type": "GeometrySaveData",
  531. "Position": [
  532. 120.0,
  533. 80.0
  534. ]
  535. },
  536. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  537. "$type": "StylingComponentSaveData"
  538. },
  539. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  540. "$type": "PersistentIdComponentSaveData",
  541. "PersistentId": "{E9C674F1-C34C-4CE6-A7A4-081EF8BA834A}"
  542. }
  543. }
  544. }
  545. },
  546. {
  547. "Key": {
  548. "id": 273513428899886
  549. },
  550. "Value": {
  551. "ComponentData": {
  552. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  553. "$type": "NodeSaveData"
  554. },
  555. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  556. "$type": "GeneralNodeTitleComponentSaveData",
  557. "PaletteOverride": "TimeNodeTitlePalette"
  558. },
  559. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  560. "$type": "GeometrySaveData",
  561. "Position": [
  562. 320.0,
  563. 100.0
  564. ]
  565. },
  566. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  567. "$type": "StylingComponentSaveData"
  568. },
  569. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  570. "$type": "PersistentIdComponentSaveData",
  571. "PersistentId": "{BB5065C3-D90F-4D53-93E8-794C17FF1940}"
  572. }
  573. }
  574. }
  575. },
  576. {
  577. "Key": {
  578. "id": 273517723867182
  579. },
  580. "Value": {
  581. "ComponentData": {
  582. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  583. "$type": "NodeSaveData"
  584. },
  585. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  586. "$type": "GeneralNodeTitleComponentSaveData",
  587. "PaletteOverride": "MethodNodeTitlePalette"
  588. },
  589. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  590. "$type": "GeometrySaveData",
  591. "Position": [
  592. 640.0,
  593. 200.0
  594. ]
  595. },
  596. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  597. "$type": "StylingComponentSaveData",
  598. "SubStyle": ".method"
  599. },
  600. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  601. "$type": "PersistentIdComponentSaveData",
  602. "PersistentId": "{A9407C52-FC80-4F58-B489-D37FF5871277}"
  603. }
  604. }
  605. }
  606. },
  607. {
  608. "Key": {
  609. "id": 273522018834478
  610. },
  611. "Value": {
  612. "ComponentData": {
  613. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  614. "$type": "NodeSaveData"
  615. },
  616. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  617. "$type": "GeneralNodeTitleComponentSaveData",
  618. "PaletteOverride": "MethodNodeTitlePalette"
  619. },
  620. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  621. "$type": "GeometrySaveData",
  622. "Position": [
  623. 980.0,
  624. 240.0
  625. ]
  626. },
  627. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  628. "$type": "StylingComponentSaveData",
  629. "SubStyle": ".method"
  630. },
  631. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  632. "$type": "PersistentIdComponentSaveData",
  633. "PersistentId": "{81B5C756-BF90-4CD6-8BC9-0D4CF8DB9D2E}"
  634. }
  635. }
  636. }
  637. }
  638. ],
  639. "StatisticsHelper": {
  640. "InstanceCounter": [
  641. {
  642. "Key": 214951534038835990,
  643. "Value": 1
  644. },
  645. {
  646. "Key": 4199610336680704683,
  647. "Value": 1
  648. },
  649. {
  650. "Key": 6462358712820489356,
  651. "Value": 1
  652. },
  653. {
  654. "Key": 6840657073857873079,
  655. "Value": 1
  656. }
  657. ]
  658. }
  659. }
  660. }
  661. }
  662. }
  663. }