LY_SC_UnitTest_WhileDetectInfiniteLoop.scriptcanvas 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 2893552615355849
  9. },
  10. "Name": "Untitled-1",
  11. "Components": {
  12. "Component_[14322489155446056723]": {
  13. "$type": "EditorGraph",
  14. "Id": 14322489155446056723,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 2893556910323145
  20. },
  21. "Name": "SC-Node(Start)",
  22. "Components": {
  23. "Component_[10255092682736680503]": {
  24. "$type": "Start",
  25. "Id": 10255092682736680503,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{0E8846BB-FF6E-4B89-B3E0-5D28F5AE0418}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "Out",
  37. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  38. "Descriptor": {
  39. "ConnectionType": 2,
  40. "SlotType": 1
  41. }
  42. }
  43. ]
  44. }
  45. }
  46. },
  47. {
  48. "Id": {
  49. "id": 2893561205290441
  50. },
  51. "Name": "SC-Node(While)",
  52. "Components": {
  53. "Component_[14907708955861577819]": {
  54. "$type": "While",
  55. "Id": 14907708955861577819,
  56. "Slots": [
  57. {
  58. "id": {
  59. "m_id": "{6C149486-AFF5-458D-9076-CEF280E656C5}"
  60. },
  61. "contracts": [
  62. {
  63. "$type": "SlotTypeContract"
  64. }
  65. ],
  66. "slotName": "In",
  67. "Descriptor": {
  68. "ConnectionType": 1,
  69. "SlotType": 1
  70. }
  71. },
  72. {
  73. "id": {
  74. "m_id": "{481F12B4-3DA8-44D3-8ED2-0AB7EC04CCB5}"
  75. },
  76. "contracts": [
  77. {
  78. "$type": "SlotTypeContract"
  79. },
  80. null
  81. ],
  82. "slotName": "Condition",
  83. "toolTip": "While this condition is true, Loop will signal, otherwise, Out will",
  84. "Descriptor": {
  85. "ConnectionType": 1,
  86. "SlotType": 2
  87. },
  88. "DataType": 1
  89. },
  90. {
  91. "id": {
  92. "m_id": "{A89C1E30-3A62-4EB9-B5B2-5F3912EB84ED}"
  93. },
  94. "contracts": [
  95. {
  96. "$type": "SlotTypeContract"
  97. }
  98. ],
  99. "slotName": "Out",
  100. "toolTip": "Signalled if the condition is false, or if the loop calls the break node",
  101. "Descriptor": {
  102. "ConnectionType": 2,
  103. "SlotType": 1
  104. }
  105. },
  106. {
  107. "id": {
  108. "m_id": "{8CC9FA97-3CFD-4B91-A9A7-EE90F783CE1B}"
  109. },
  110. "contracts": [
  111. {
  112. "$type": "SlotTypeContract"
  113. }
  114. ],
  115. "slotName": "Loop",
  116. "toolTip": "Signalled if the condition is true, and every time the last node of 'Loop' finishes",
  117. "Descriptor": {
  118. "ConnectionType": 2,
  119. "SlotType": 1
  120. }
  121. }
  122. ],
  123. "Datums": [
  124. {
  125. "isOverloadedStorage": false,
  126. "scriptCanvasType": {
  127. "m_type": 0
  128. },
  129. "isNullPointer": false,
  130. "$type": "bool",
  131. "value": true,
  132. "label": "Condition"
  133. }
  134. ]
  135. }
  136. }
  137. },
  138. {
  139. "Id": {
  140. "id": 2893565500257737
  141. },
  142. "Name": "SC-Node(Mark Complete)",
  143. "Components": {
  144. "Component_[15329622376227943007]": {
  145. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  146. "Id": 15329622376227943007,
  147. "Slots": [
  148. {
  149. "isVisibile": false,
  150. "id": {
  151. "m_id": "{A58C4E46-7911-44DD-98CE-BC086F27B5CD}"
  152. },
  153. "contracts": [
  154. {
  155. "$type": "SlotTypeContract"
  156. },
  157. null
  158. ],
  159. "slotName": "EntityID: 0",
  160. "Descriptor": {
  161. "ConnectionType": 1,
  162. "SlotType": 2
  163. },
  164. "DataType": 1
  165. },
  166. {
  167. "id": {
  168. "m_id": "{36A129B8-D922-49CB-810C-4E590D964924}"
  169. },
  170. "contracts": [
  171. {
  172. "$type": "SlotTypeContract"
  173. },
  174. null
  175. ],
  176. "slotName": "Report",
  177. "toolTip": "additional notes for the test report",
  178. "Descriptor": {
  179. "ConnectionType": 1,
  180. "SlotType": 2
  181. },
  182. "DataType": 1
  183. },
  184. {
  185. "id": {
  186. "m_id": "{E61D8CDE-E0C4-41F2-A347-26857EB8ACB5}"
  187. },
  188. "contracts": [
  189. {
  190. "$type": "SlotTypeContract"
  191. }
  192. ],
  193. "slotName": "In",
  194. "Descriptor": {
  195. "ConnectionType": 1,
  196. "SlotType": 1
  197. }
  198. },
  199. {
  200. "id": {
  201. "m_id": "{56D47E3A-7127-496D-A636-79A81D09EA77}"
  202. },
  203. "contracts": [
  204. {
  205. "$type": "SlotTypeContract"
  206. }
  207. ],
  208. "slotName": "Out",
  209. "Descriptor": {
  210. "ConnectionType": 2,
  211. "SlotType": 1
  212. }
  213. }
  214. ],
  215. "Datums": [
  216. {
  217. "isOverloadedStorage": false,
  218. "scriptCanvasType": {
  219. "m_type": 1
  220. },
  221. "isNullPointer": false,
  222. "$type": "EntityId",
  223. "value": {
  224. "id": 4276206253
  225. }
  226. },
  227. {
  228. "isOverloadedStorage": false,
  229. "scriptCanvasType": {
  230. "m_type": 5
  231. },
  232. "isNullPointer": false,
  233. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  234. "value": "",
  235. "label": "Report"
  236. }
  237. ],
  238. "methodType": 2,
  239. "methodName": "Mark Complete",
  240. "className": "Unit Testing",
  241. "resultSlotIDs": [
  242. {}
  243. ],
  244. "prettyClassName": "Unit Testing"
  245. }
  246. }
  247. }
  248. ],
  249. "m_connections": [
  250. {
  251. "Id": {
  252. "id": 2893569795225033
  253. },
  254. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(While: In)",
  255. "Components": {
  256. "Component_[4778316761401195798]": {
  257. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  258. "Id": 4778316761401195798,
  259. "sourceEndpoint": {
  260. "nodeId": {
  261. "id": 2893556910323145
  262. },
  263. "slotId": {
  264. "m_id": "{0E8846BB-FF6E-4B89-B3E0-5D28F5AE0418}"
  265. }
  266. },
  267. "targetEndpoint": {
  268. "nodeId": {
  269. "id": 2893561205290441
  270. },
  271. "slotId": {
  272. "m_id": "{6C149486-AFF5-458D-9076-CEF280E656C5}"
  273. }
  274. }
  275. }
  276. }
  277. },
  278. {
  279. "Id": {
  280. "id": 2893574090192329
  281. },
  282. "Name": "srcEndpoint=(While: Out), destEndpoint=(Mark Complete: In)",
  283. "Components": {
  284. "Component_[3054201060300542004]": {
  285. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  286. "Id": 3054201060300542004,
  287. "sourceEndpoint": {
  288. "nodeId": {
  289. "id": 2893561205290441
  290. },
  291. "slotId": {
  292. "m_id": "{A89C1E30-3A62-4EB9-B5B2-5F3912EB84ED}"
  293. }
  294. },
  295. "targetEndpoint": {
  296. "nodeId": {
  297. "id": 2893565500257737
  298. },
  299. "slotId": {
  300. "m_id": "{E61D8CDE-E0C4-41F2-A347-26857EB8ACB5}"
  301. }
  302. }
  303. }
  304. }
  305. }
  306. ]
  307. },
  308. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  309. "versionData": {
  310. "_grammarVersion": 1,
  311. "_runtimeVersion": 1,
  312. "_fileVersion": 1
  313. },
  314. "GraphCanvasData": [
  315. {
  316. "Key": {
  317. "id": 2893552615355849
  318. },
  319. "Value": {
  320. "ComponentData": {
  321. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  322. "$type": "SceneComponentSaveData"
  323. }
  324. }
  325. }
  326. },
  327. {
  328. "Key": {
  329. "id": 2893556910323145
  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": "TimeNodeTitlePalette"
  339. },
  340. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  341. "$type": "GeometrySaveData",
  342. "Position": [
  343. 20.0,
  344. 120.0
  345. ]
  346. },
  347. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  348. "$type": "StylingComponentSaveData"
  349. },
  350. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  351. "$type": "PersistentIdComponentSaveData",
  352. "PersistentId": "{450D38A6-D21E-485E-9301-91C377FF8677}"
  353. }
  354. }
  355. }
  356. },
  357. {
  358. "Key": {
  359. "id": 2893561205290441
  360. },
  361. "Value": {
  362. "ComponentData": {
  363. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  364. "$type": "NodeSaveData"
  365. },
  366. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  367. "$type": "GeneralNodeTitleComponentSaveData",
  368. "PaletteOverride": "LogicNodeTitlePalette"
  369. },
  370. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  371. "$type": "GeometrySaveData",
  372. "Position": [
  373. 220.0,
  374. 120.0
  375. ]
  376. },
  377. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  378. "$type": "StylingComponentSaveData"
  379. },
  380. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  381. "$type": "PersistentIdComponentSaveData",
  382. "PersistentId": "{9B21006A-BBBE-4A72-A27F-DA0E7891D038}"
  383. }
  384. }
  385. }
  386. },
  387. {
  388. "Key": {
  389. "id": 2893565500257737
  390. },
  391. "Value": {
  392. "ComponentData": {
  393. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  394. "$type": "NodeSaveData"
  395. },
  396. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  397. "$type": "GeneralNodeTitleComponentSaveData",
  398. "PaletteOverride": "MethodNodeTitlePalette"
  399. },
  400. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  401. "$type": "GeometrySaveData",
  402. "Position": [
  403. 480.0,
  404. 120.0
  405. ]
  406. },
  407. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  408. "$type": "StylingComponentSaveData",
  409. "SubStyle": ".method"
  410. },
  411. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  412. "$type": "PersistentIdComponentSaveData",
  413. "PersistentId": "{8C2BCBB4-2E04-44BB-9E25-8956C22B3556}"
  414. }
  415. }
  416. }
  417. }
  418. ],
  419. "StatisticsHelper": {
  420. "InstanceCounter": [
  421. {
  422. "Key": 2902967532902889342,
  423. "Value": 1
  424. },
  425. {
  426. "Key": 4199610336680704683,
  427. "Value": 1
  428. },
  429. {
  430. "Key": 10204019744198319120,
  431. "Value": 1
  432. }
  433. ]
  434. }
  435. },
  436. "Component_[6709833975330290523]": {
  437. "$type": "EditorGraphVariableManagerComponent",
  438. "Id": 6709833975330290523
  439. }
  440. }
  441. }
  442. }
  443. }