LY_SC_UnitTest_NodeableTimeDelay.scriptcanvas 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 790747750422574
  9. },
  10. "Name": "LY_SC_UnitTest_NodeableTimeDelay",
  11. "Components": {
  12. "Component_[10356902680903935357]": {
  13. "$type": "EditorGraph",
  14. "Id": 10356902680903935357,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 790760635324462
  20. },
  21. "Name": "SC-Node(TimeDelayNodeableNode)",
  22. "Components": {
  23. "Component_[11293404444374955358]": {
  24. "$type": "TimeDelayNodeableNode",
  25. "Id": 11293404444374955358,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{9596F088-DC0A-4DA6-A1E1-ED77167CAE1D}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. },
  35. {
  36. "$type": "DisallowReentrantExecutionContract"
  37. }
  38. ],
  39. "slotName": "Start",
  40. "toolTip": "When signaled, execution is delayed at this node for the specified amount of times.",
  41. "DisplayGroup": {
  42. "Value": 2675529103
  43. },
  44. "Descriptor": {
  45. "ConnectionType": 1,
  46. "SlotType": 1
  47. }
  48. },
  49. {
  50. "id": {
  51. "m_id": "{7D0FA6F8-8EC1-4C45-881F-1A0D54E7D59C}"
  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": "{1493F8A0-C0A5-4872-B775-AC925F5AE1E4}"
  73. },
  74. "contracts": [
  75. {
  76. "$type": "SlotTypeContract"
  77. }
  78. ],
  79. "slotName": "On Start",
  80. "toolTip": "When signaled, execution is delayed at this node for the specified amount of times.",
  81. "DisplayGroup": {
  82. "Value": 2675529103
  83. },
  84. "Descriptor": {
  85. "ConnectionType": 2,
  86. "SlotType": 1
  87. }
  88. },
  89. {
  90. "id": {
  91. "m_id": "{AAE58689-4EA3-4708-B279-1B45A86C4927}"
  92. },
  93. "contracts": [
  94. {
  95. "$type": "SlotTypeContract"
  96. }
  97. ],
  98. "slotName": "Done",
  99. "toolTip": "Signaled after waiting for the specified amount of times.",
  100. "DisplayGroup": {
  101. "Value": 271442091
  102. },
  103. "Descriptor": {
  104. "ConnectionType": 2,
  105. "SlotType": 1
  106. },
  107. "IsLatent": true
  108. }
  109. ],
  110. "Datums": [
  111. {
  112. "isOverloadedStorage": false,
  113. "scriptCanvasType": {
  114. "m_type": 3
  115. },
  116. "isNullPointer": false,
  117. "$type": "double",
  118. "value": 5.0,
  119. "label": "Delay"
  120. }
  121. ],
  122. "slotExecutionMap": {
  123. "ins": [
  124. {
  125. "_slotId": {
  126. "m_id": "{9596F088-DC0A-4DA6-A1E1-ED77167CAE1D}"
  127. },
  128. "_inputs": [
  129. {
  130. "_slotId": {
  131. "m_id": "{7D0FA6F8-8EC1-4C45-881F-1A0D54E7D59C}"
  132. }
  133. }
  134. ],
  135. "_outs": [
  136. {
  137. "_slotId": {
  138. "m_id": "{1493F8A0-C0A5-4872-B775-AC925F5AE1E4}"
  139. },
  140. "_name": "On Start",
  141. "_interfaceSourceId": "{5078AF85-CA00-0000-D00E-657DAF020000}"
  142. }
  143. ],
  144. "_interfaceSourceId": "{20000000-0000-0000-AC48-DCF0A2DD0000}"
  145. }
  146. ],
  147. "latents": [
  148. {
  149. "_slotId": {
  150. "m_id": "{AAE58689-4EA3-4708-B279-1B45A86C4927}"
  151. },
  152. "_name": "Done",
  153. "_interfaceSourceId": "{20000000-0000-0000-AC48-DCF0A2DD0000}"
  154. }
  155. ]
  156. }
  157. }
  158. }
  159. },
  160. {
  161. "Id": {
  162. "id": 790756340357166
  163. },
  164. "Name": "SC-Node(Mark Complete)",
  165. "Components": {
  166. "Component_[13058026277605242852]": {
  167. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  168. "Id": 13058026277605242852,
  169. "Slots": [
  170. {
  171. "isVisibile": false,
  172. "id": {
  173. "m_id": "{BE7EA252-8C3C-46E8-A837-16F74C14A527}"
  174. },
  175. "contracts": [
  176. {
  177. "$type": "SlotTypeContract"
  178. },
  179. null
  180. ],
  181. "slotName": "EntityID: 0",
  182. "Descriptor": {
  183. "ConnectionType": 1,
  184. "SlotType": 2
  185. },
  186. "DataType": 1
  187. },
  188. {
  189. "id": {
  190. "m_id": "{6C7D8D0F-A74C-478C-AFE7-FF5FF0EFFFEF}"
  191. },
  192. "contracts": [
  193. {
  194. "$type": "SlotTypeContract"
  195. },
  196. null
  197. ],
  198. "slotName": "Report",
  199. "toolTip": "additional notes for the test report",
  200. "Descriptor": {
  201. "ConnectionType": 1,
  202. "SlotType": 2
  203. },
  204. "DataType": 1
  205. },
  206. {
  207. "id": {
  208. "m_id": "{2AEC089D-A502-4F3C-AC21-ECF02A089574}"
  209. },
  210. "contracts": [
  211. {
  212. "$type": "SlotTypeContract"
  213. }
  214. ],
  215. "slotName": "In",
  216. "Descriptor": {
  217. "ConnectionType": 1,
  218. "SlotType": 1
  219. }
  220. },
  221. {
  222. "id": {
  223. "m_id": "{447BA65E-8173-458D-B2EA-89D1F6C88E82}"
  224. },
  225. "contracts": [
  226. {
  227. "$type": "SlotTypeContract"
  228. }
  229. ],
  230. "slotName": "Out",
  231. "Descriptor": {
  232. "ConnectionType": 2,
  233. "SlotType": 1
  234. }
  235. }
  236. ],
  237. "Datums": [
  238. {
  239. "isOverloadedStorage": false,
  240. "scriptCanvasType": {
  241. "m_type": 1
  242. },
  243. "isNullPointer": false,
  244. "$type": "EntityId",
  245. "value": {
  246. "id": 4276206253
  247. }
  248. },
  249. {
  250. "isOverloadedStorage": false,
  251. "scriptCanvasType": {
  252. "m_type": 5
  253. },
  254. "isNullPointer": false,
  255. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  256. "value": "TimeDelay test complete",
  257. "label": "Report"
  258. }
  259. ],
  260. "methodType": 2,
  261. "methodName": "Mark Complete",
  262. "className": "Unit Testing",
  263. "resultSlotIDs": [
  264. {}
  265. ],
  266. "prettyClassName": "Unit Testing"
  267. }
  268. }
  269. },
  270. {
  271. "Id": {
  272. "id": 790752045389870
  273. },
  274. "Name": "SC-Node(Start)",
  275. "Components": {
  276. "Component_[3802327584924611971]": {
  277. "$type": "Start",
  278. "Id": 3802327584924611971,
  279. "Slots": [
  280. {
  281. "id": {
  282. "m_id": "{B9E64C30-EE30-4384-9112-8D550F4359F1}"
  283. },
  284. "contracts": [
  285. {
  286. "$type": "SlotTypeContract"
  287. }
  288. ],
  289. "slotName": "Out",
  290. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  291. "Descriptor": {
  292. "ConnectionType": 2,
  293. "SlotType": 1
  294. }
  295. }
  296. ]
  297. }
  298. }
  299. }
  300. ],
  301. "m_connections": [
  302. {
  303. "Id": {
  304. "id": 790764930291758
  305. },
  306. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(TimeDelay: Start)",
  307. "Components": {
  308. "Component_[3055759154144012994]": {
  309. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  310. "Id": 3055759154144012994,
  311. "sourceEndpoint": {
  312. "nodeId": {
  313. "id": 790752045389870
  314. },
  315. "slotId": {
  316. "m_id": "{B9E64C30-EE30-4384-9112-8D550F4359F1}"
  317. }
  318. },
  319. "targetEndpoint": {
  320. "nodeId": {
  321. "id": 790760635324462
  322. },
  323. "slotId": {
  324. "m_id": "{9596F088-DC0A-4DA6-A1E1-ED77167CAE1D}"
  325. }
  326. }
  327. }
  328. }
  329. },
  330. {
  331. "Id": {
  332. "id": 790769225259054
  333. },
  334. "Name": "srcEndpoint=(TimeDelay: Done), destEndpoint=(Mark Complete: In)",
  335. "Components": {
  336. "Component_[1538149221560617373]": {
  337. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  338. "Id": 1538149221560617373,
  339. "sourceEndpoint": {
  340. "nodeId": {
  341. "id": 790760635324462
  342. },
  343. "slotId": {
  344. "m_id": "{AAE58689-4EA3-4708-B279-1B45A86C4927}"
  345. }
  346. },
  347. "targetEndpoint": {
  348. "nodeId": {
  349. "id": 790756340357166
  350. },
  351. "slotId": {
  352. "m_id": "{2AEC089D-A502-4F3C-AC21-ECF02A089574}"
  353. }
  354. }
  355. }
  356. }
  357. }
  358. ]
  359. },
  360. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  361. "versionData": {
  362. "_grammarVersion": 1,
  363. "_runtimeVersion": 1,
  364. "_fileVersion": 1
  365. },
  366. "GraphCanvasData": [
  367. {
  368. "Key": {
  369. "id": 790747750422574
  370. },
  371. "Value": {
  372. "ComponentData": {
  373. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  374. "$type": "SceneComponentSaveData",
  375. "ViewParams": {
  376. "AnchorX": -216.0,
  377. "AnchorY": -157.0
  378. }
  379. }
  380. }
  381. }
  382. },
  383. {
  384. "Key": {
  385. "id": 790752045389870
  386. },
  387. "Value": {
  388. "ComponentData": {
  389. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  390. "$type": "NodeSaveData"
  391. },
  392. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  393. "$type": "GeneralNodeTitleComponentSaveData",
  394. "PaletteOverride": "TimeNodeTitlePalette"
  395. },
  396. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  397. "$type": "GeometrySaveData",
  398. "Position": [
  399. -40.0,
  400. 140.0
  401. ]
  402. },
  403. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  404. "$type": "StylingComponentSaveData"
  405. },
  406. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  407. "$type": "PersistentIdComponentSaveData",
  408. "PersistentId": "{63D846D6-6926-4C3D-AD76-9F75BE25E463}"
  409. }
  410. }
  411. }
  412. },
  413. {
  414. "Key": {
  415. "id": 790756340357166
  416. },
  417. "Value": {
  418. "ComponentData": {
  419. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  420. "$type": "NodeSaveData"
  421. },
  422. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  423. "$type": "GeneralNodeTitleComponentSaveData",
  424. "PaletteOverride": "MethodNodeTitlePalette"
  425. },
  426. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  427. "$type": "GeometrySaveData",
  428. "Position": [
  429. 480.0,
  430. 200.0
  431. ]
  432. },
  433. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  434. "$type": "StylingComponentSaveData",
  435. "SubStyle": ".method"
  436. },
  437. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  438. "$type": "PersistentIdComponentSaveData",
  439. "PersistentId": "{AA83D9A2-208C-4701-B4EB-40A3D8CA5930}"
  440. }
  441. }
  442. }
  443. },
  444. {
  445. "Key": {
  446. "id": 790760635324462
  447. },
  448. "Value": {
  449. "ComponentData": {
  450. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  451. "$type": "NodeSaveData"
  452. },
  453. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  454. "$type": "GeneralNodeTitleComponentSaveData",
  455. "PaletteOverride": "TimeNodeTitlePalette"
  456. },
  457. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  458. "$type": "GeometrySaveData",
  459. "Position": [
  460. 160.0,
  461. 100.0
  462. ]
  463. },
  464. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  465. "$type": "StylingComponentSaveData"
  466. },
  467. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  468. "$type": "PersistentIdComponentSaveData",
  469. "PersistentId": "{9B95E074-6000-4F87-B202-891D77A08BA7}"
  470. }
  471. }
  472. }
  473. }
  474. ],
  475. "StatisticsHelper": {
  476. "InstanceCounter": [
  477. {
  478. "Key": 4199610336680704683,
  479. "Value": 1
  480. },
  481. {
  482. "Key": 6462358712820489356,
  483. "Value": 1
  484. },
  485. {
  486. "Key": 6840657073857873079,
  487. "Value": 1
  488. }
  489. ]
  490. }
  491. },
  492. "Component_[13178412533711212071]": {
  493. "$type": "EditorGraphVariableManagerComponent",
  494. "Id": 13178412533711212071
  495. }
  496. }
  497. }
  498. }
  499. }