3
0

LY_SC_UnitTest_LatentCallOfNotPureUserFunction.scriptcanvas 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 582218498267182
  9. },
  10. "Name": "LY_SC_UnitTest_LatentCallOfNotPureUserFunction",
  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": 582227088201774
  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": 582222793234478
  162. },
  163. "Name": "SC-Node(Start)",
  164. "Components": {
  165. "Component_[15193913073954065552]": {
  166. "$type": "Start",
  167. "Id": 15193913073954065552,
  168. "Slots": [
  169. {
  170. "id": {
  171. "m_id": "{D0566322-ABB1-4DE3-BF2D-4ED1ED64E114}"
  172. },
  173. "contracts": [
  174. {
  175. "$type": "SlotTypeContract"
  176. }
  177. ],
  178. "slotName": "Out",
  179. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  180. "Descriptor": {
  181. "ConnectionType": 2,
  182. "SlotType": 1
  183. }
  184. }
  185. ]
  186. }
  187. }
  188. },
  189. {
  190. "Id": {
  191. "id": 582231383169070
  192. },
  193. "Name": "FunctionCallNode",
  194. "Components": {
  195. "Component_[8173632389711398098]": {
  196. "$type": "FunctionCallNode",
  197. "Id": 8173632389711398098,
  198. "Slots": [
  199. {
  200. "id": {
  201. "m_id": "{8BF89FFE-4D6F-4A53-9CFB-1E9D32E20AD0}"
  202. },
  203. "contracts": [
  204. {
  205. "$type": "SlotTypeContract"
  206. }
  207. ],
  208. "slotName": "In",
  209. "DisplayGroup": {
  210. "Value": 1609338446
  211. },
  212. "Descriptor": {
  213. "ConnectionType": 1,
  214. "SlotType": 1
  215. }
  216. },
  217. {
  218. "id": {
  219. "m_id": "{F12F8492-EDE6-4F0B-8A31-EC7944F1C779}"
  220. },
  221. "contracts": [
  222. {
  223. "$type": "SlotTypeContract"
  224. }
  225. ],
  226. "slotName": "Out",
  227. "DisplayGroup": {
  228. "Value": 1609338446
  229. },
  230. "Descriptor": {
  231. "ConnectionType": 2,
  232. "SlotType": 1
  233. }
  234. }
  235. ],
  236. "m_sourceId": "{F09ED5CE-FF7F-0000-8C46-2ECA30FC71AD}",
  237. "m_asset": {
  238. "assetId": {
  239. "guid": "{601A64F0-3CFD-5B7D-A0B4-FA7E4485AA72}",
  240. "subId": 3756448882
  241. },
  242. "assetHint": "scriptcanvas/unittests/ly_sc_unittest_helloworldfunctionnotpure.scriptcanvas_fn_compiled"
  243. },
  244. "m_slotExecutionMap": {
  245. "ins": [
  246. {
  247. "_slotId": {
  248. "m_id": "{8BF89FFE-4D6F-4A53-9CFB-1E9D32E20AD0}"
  249. },
  250. "_outs": [
  251. {
  252. "_slotId": {
  253. "m_id": "{F12F8492-EDE6-4F0B-8A31-EC7944F1C779}"
  254. },
  255. "_name": "Out",
  256. "_interfaceSourceId": "{1EDB5858-BF68-4C06-81BE-C4C6C18500C2}"
  257. }
  258. ],
  259. "_parsedName": "In_scvm",
  260. "_interfaceSourceId": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}"
  261. }
  262. ]
  263. },
  264. "m_slotExecutionMapSourceInterface": {
  265. "ins": [
  266. {
  267. "displayName": "In",
  268. "parsedName": "In_scvm",
  269. "outs": [
  270. {
  271. "displayName": "Out",
  272. "parsedName": "Out",
  273. "sourceID": "{1EDB5858-BF68-4C06-81BE-C4C6C18500C2}"
  274. }
  275. ],
  276. "sourceID": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}"
  277. }
  278. ],
  279. "outKeys": [
  280. {
  281. "Value": 3119148441
  282. }
  283. ],
  284. "namespacePath": [
  285. "ScriptCanvas",
  286. "UnitTests",
  287. "LY_SC_UnitTest_HelloWorldFunctionNotPure_VM"
  288. ],
  289. "executionCharacteristics": 0
  290. }
  291. }
  292. }
  293. },
  294. {
  295. "Id": {
  296. "id": 582235678136366
  297. },
  298. "Name": "SC-Node(Mark Complete)",
  299. "Components": {
  300. "Component_[8809084234328280515]": {
  301. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  302. "Id": 8809084234328280515,
  303. "Slots": [
  304. {
  305. "isVisibile": false,
  306. "id": {
  307. "m_id": "{F603FD67-A8D0-468E-8480-00E8F2B5C317}"
  308. },
  309. "contracts": [
  310. {
  311. "$type": "SlotTypeContract"
  312. },
  313. null
  314. ],
  315. "slotName": "EntityID: 0",
  316. "Descriptor": {
  317. "ConnectionType": 1,
  318. "SlotType": 2
  319. },
  320. "DataType": 1
  321. },
  322. {
  323. "id": {
  324. "m_id": "{E0505AE1-737C-4B80-803C-A4364A240CD2}"
  325. },
  326. "contracts": [
  327. {
  328. "$type": "SlotTypeContract"
  329. },
  330. null
  331. ],
  332. "slotName": "Report",
  333. "toolTip": "additional notes for the test report",
  334. "Descriptor": {
  335. "ConnectionType": 1,
  336. "SlotType": 2
  337. },
  338. "DataType": 1
  339. },
  340. {
  341. "id": {
  342. "m_id": "{BEF85627-1015-4B13-BC06-F1063DB4D4DC}"
  343. },
  344. "contracts": [
  345. {
  346. "$type": "SlotTypeContract"
  347. }
  348. ],
  349. "slotName": "In",
  350. "Descriptor": {
  351. "ConnectionType": 1,
  352. "SlotType": 1
  353. }
  354. },
  355. {
  356. "id": {
  357. "m_id": "{8BC6BC59-538A-430E-AE1D-C0CA2DF9216B}"
  358. },
  359. "contracts": [
  360. {
  361. "$type": "SlotTypeContract"
  362. }
  363. ],
  364. "slotName": "Out",
  365. "Descriptor": {
  366. "ConnectionType": 2,
  367. "SlotType": 1
  368. }
  369. }
  370. ],
  371. "Datums": [
  372. {
  373. "isOverloadedStorage": false,
  374. "scriptCanvasType": {
  375. "m_type": 1
  376. },
  377. "isNullPointer": false,
  378. "$type": "EntityId",
  379. "value": {
  380. "id": 4276206253
  381. }
  382. },
  383. {
  384. "isOverloadedStorage": false,
  385. "scriptCanvasType": {
  386. "m_type": 5
  387. },
  388. "isNullPointer": false,
  389. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  390. "value": "",
  391. "label": "Report"
  392. }
  393. ],
  394. "methodType": 2,
  395. "methodName": "Mark Complete",
  396. "className": "Unit Testing",
  397. "resultSlotIDs": [
  398. {}
  399. ],
  400. "prettyClassName": "Unit Testing"
  401. }
  402. }
  403. }
  404. ],
  405. "m_connections": [
  406. {
  407. "Id": {
  408. "id": 582239973103662
  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": 582222793234478
  418. },
  419. "slotId": {
  420. "m_id": "{D0566322-ABB1-4DE3-BF2D-4ED1ED64E114}"
  421. }
  422. },
  423. "targetEndpoint": {
  424. "nodeId": {
  425. "id": 582227088201774
  426. },
  427. "slotId": {
  428. "m_id": "{98881463-93EA-4134-B167-7570F78F526D}"
  429. }
  430. }
  431. }
  432. }
  433. },
  434. {
  435. "Id": {
  436. "id": 582244268070958
  437. },
  438. "Name": "srcEndpoint=(TimeDelay: Done), destEndpoint=(Function Call Node: In)",
  439. "Components": {
  440. "Component_[3568626474031118159]": {
  441. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  442. "Id": 3568626474031118159,
  443. "sourceEndpoint": {
  444. "nodeId": {
  445. "id": 582227088201774
  446. },
  447. "slotId": {
  448. "m_id": "{2042EA06-6AE4-49EA-B162-4C1EEB7C6F7A}"
  449. }
  450. },
  451. "targetEndpoint": {
  452. "nodeId": {
  453. "id": 582231383169070
  454. },
  455. "slotId": {
  456. "m_id": "{8BF89FFE-4D6F-4A53-9CFB-1E9D32E20AD0}"
  457. }
  458. }
  459. }
  460. }
  461. },
  462. {
  463. "Id": {
  464. "id": 582248563038254
  465. },
  466. "Name": "srcEndpoint=(Function Call Node: Out), destEndpoint=(Mark Complete: In)",
  467. "Components": {
  468. "Component_[9654104828115164517]": {
  469. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  470. "Id": 9654104828115164517,
  471. "sourceEndpoint": {
  472. "nodeId": {
  473. "id": 582231383169070
  474. },
  475. "slotId": {
  476. "m_id": "{F12F8492-EDE6-4F0B-8A31-EC7944F1C779}"
  477. }
  478. },
  479. "targetEndpoint": {
  480. "nodeId": {
  481. "id": 582235678136366
  482. },
  483. "slotId": {
  484. "m_id": "{BEF85627-1015-4B13-BC06-F1063DB4D4DC}"
  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": 582218498267182
  502. },
  503. "Value": {
  504. "ComponentData": {
  505. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  506. "$type": "SceneComponentSaveData",
  507. "ViewParams": {
  508. "Scale": 0.9191536,
  509. "AnchorX": -170.80931091308594,
  510. "AnchorY": -195.83233642578125
  511. }
  512. }
  513. }
  514. }
  515. },
  516. {
  517. "Key": {
  518. "id": 582222793234478
  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. -180.0,
  533. 0.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": 582227088201774
  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. 20.0,
  563. 20.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": 582231383169070
  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. 360.0,
  593. 220.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": "{7BED9343-8F8D-4C4C-BF13-CF0E81082975}"
  603. }
  604. }
  605. }
  606. },
  607. {
  608. "Key": {
  609. "id": 582235678136366
  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. 900.0,
  624. 200.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": "{23A951FB-B4B8-40AD-9375-A16C015A2A61}"
  634. }
  635. }
  636. }
  637. }
  638. ],
  639. "StatisticsHelper": {
  640. "InstanceCounter": [
  641. {
  642. "Key": 4199610336680704683,
  643. "Value": 1
  644. },
  645. {
  646. "Key": 6462358712820489356,
  647. "Value": 1
  648. },
  649. {
  650. "Key": 6840657073857873079,
  651. "Value": 1
  652. },
  653. {
  654. "Key": 17189374120869440743,
  655. "Value": 1
  656. }
  657. ]
  658. }
  659. }
  660. }
  661. }
  662. }
  663. }