3
0

LY_SC_UnitTest_VariableChangeEventConnectionControlLite.scriptcanvas 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 2746793582851529
  9. },
  10. "Name": "scriptcanvas/unittests/ly_sc_unittest_variablechangeeventconnectioncontrol.scriptcanvas",
  11. "Components": {
  12. "Component_[13533170414637222235]": {
  13. "$type": "EditorGraph",
  14. "Id": 13533170414637222235,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 2746797877818825
  20. },
  21. "Name": "SC-Node(Mark Complete)",
  22. "Components": {
  23. "Component_[17335750971056025584]": {
  24. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  25. "Id": 17335750971056025584,
  26. "Slots": [
  27. {
  28. "isVisibile": false,
  29. "id": {
  30. "m_id": "{26E43FB6-A6FB-4A42-823A-300004E7E4ED}"
  31. },
  32. "contracts": [
  33. {
  34. "$type": "SlotTypeContract"
  35. },
  36. null
  37. ],
  38. "slotName": "EntityID: 0",
  39. "Descriptor": {
  40. "ConnectionType": 1,
  41. "SlotType": 2
  42. },
  43. "DataType": 1
  44. },
  45. {
  46. "id": {
  47. "m_id": "{6F300161-6A66-418E-A5DF-E0CB974B32C6}"
  48. },
  49. "contracts": [
  50. {
  51. "$type": "SlotTypeContract"
  52. },
  53. null
  54. ],
  55. "slotName": "Report",
  56. "toolTip": "additional notes for the test report",
  57. "Descriptor": {
  58. "ConnectionType": 1,
  59. "SlotType": 2
  60. },
  61. "DataType": 1
  62. },
  63. {
  64. "id": {
  65. "m_id": "{D6FB6055-4DAA-4705-ACDC-4434439BA4CB}"
  66. },
  67. "contracts": [
  68. {
  69. "$type": "SlotTypeContract"
  70. }
  71. ],
  72. "slotName": "In",
  73. "Descriptor": {
  74. "ConnectionType": 1,
  75. "SlotType": 1
  76. }
  77. },
  78. {
  79. "id": {
  80. "m_id": "{C82BFD5D-2A2C-4895-962C-A51E1634A0F7}"
  81. },
  82. "contracts": [
  83. {
  84. "$type": "SlotTypeContract"
  85. }
  86. ],
  87. "slotName": "Out",
  88. "Descriptor": {
  89. "ConnectionType": 2,
  90. "SlotType": 1
  91. }
  92. }
  93. ],
  94. "Datums": [
  95. {
  96. "isOverloadedStorage": false,
  97. "scriptCanvasType": {
  98. "m_type": 1
  99. },
  100. "isNullPointer": false,
  101. "$type": "EntityId",
  102. "value": {
  103. "id": 4276206253
  104. }
  105. },
  106. {
  107. "isOverloadedStorage": false,
  108. "scriptCanvasType": {
  109. "m_type": 5
  110. },
  111. "isNullPointer": false,
  112. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  113. "value": "",
  114. "label": "Report"
  115. }
  116. ],
  117. "methodType": 2,
  118. "methodName": "Mark Complete",
  119. "className": "Unit Testing",
  120. "resultSlotIDs": [
  121. {}
  122. ],
  123. "prettyClassName": "Unit Testing"
  124. }
  125. }
  126. },
  127. {
  128. "Id": {
  129. "id": 2746802172786121
  130. },
  131. "Name": "SC-Node(Start)",
  132. "Components": {
  133. "Component_[1781223887400713558]": {
  134. "$type": "Start",
  135. "Id": 1781223887400713558,
  136. "Slots": [
  137. {
  138. "id": {
  139. "m_id": "{B9E397B8-7CF8-4BE0-B6BB-6AACB6AAF7F7}"
  140. },
  141. "contracts": [
  142. {
  143. "$type": "SlotTypeContract"
  144. }
  145. ],
  146. "slotName": "Out",
  147. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  148. "Descriptor": {
  149. "ConnectionType": 2,
  150. "SlotType": 1
  151. }
  152. }
  153. ]
  154. }
  155. }
  156. },
  157. {
  158. "Id": {
  159. "id": 2746806467753417
  160. },
  161. "Name": "EBusEventHandler",
  162. "Components": {
  163. "Component_[9029899422377080404]": {
  164. "$type": "EBusEventHandler",
  165. "Id": 9029899422377080404,
  166. "Slots": [
  167. {
  168. "id": {
  169. "m_id": "{18B7F1DA-4BEA-4D0F-867C-D0C4E779E263}"
  170. },
  171. "contracts": [
  172. {
  173. "$type": "SlotTypeContract"
  174. }
  175. ],
  176. "slotName": "Connect",
  177. "toolTip": "Connect this event handler to the specified entity.",
  178. "Descriptor": {
  179. "ConnectionType": 1,
  180. "SlotType": 1
  181. }
  182. },
  183. {
  184. "id": {
  185. "m_id": "{B2CE163C-A476-45BB-BBFF-2C3097002812}"
  186. },
  187. "contracts": [
  188. {
  189. "$type": "SlotTypeContract"
  190. }
  191. ],
  192. "slotName": "Disconnect",
  193. "toolTip": "Disconnect this event handler.",
  194. "Descriptor": {
  195. "ConnectionType": 1,
  196. "SlotType": 1
  197. }
  198. },
  199. {
  200. "id": {
  201. "m_id": "{BEF01A8F-5AB8-4BE7-9FB6-8BF82C94086E}"
  202. },
  203. "contracts": [
  204. {
  205. "$type": "SlotTypeContract"
  206. }
  207. ],
  208. "slotName": "OnConnected",
  209. "toolTip": "Signaled when a connection has taken place.",
  210. "Descriptor": {
  211. "ConnectionType": 2,
  212. "SlotType": 1
  213. }
  214. },
  215. {
  216. "id": {
  217. "m_id": "{3F1294E0-9BEB-46C7-8DC4-68998E5BE28F}"
  218. },
  219. "contracts": [
  220. {
  221. "$type": "SlotTypeContract"
  222. }
  223. ],
  224. "slotName": "OnDisconnected",
  225. "toolTip": "Signaled when this event handler is disconnected.",
  226. "Descriptor": {
  227. "ConnectionType": 2,
  228. "SlotType": 1
  229. }
  230. },
  231. {
  232. "id": {
  233. "m_id": "{977F1C0D-885F-48A1-93A7-1C745100615F}"
  234. },
  235. "contracts": [
  236. {
  237. "$type": "SlotTypeContract"
  238. }
  239. ],
  240. "slotName": "OnFailure",
  241. "toolTip": "Signaled when it is not possible to connect this handler.",
  242. "Descriptor": {
  243. "ConnectionType": 2,
  244. "SlotType": 1
  245. }
  246. },
  247. {
  248. "id": {
  249. "m_id": "{629FED82-D9F8-4D11-8409-2996C15B353B}"
  250. },
  251. "contracts": [
  252. {
  253. "$type": "SlotTypeContract"
  254. },
  255. null
  256. ],
  257. "slotName": "Source",
  258. "toolTip": "ID used to connect on a specific Event address (Type: GraphScopedIdentifier<VariableId >)",
  259. "Descriptor": {
  260. "ConnectionType": 1,
  261. "SlotType": 2
  262. },
  263. "DataType": 1
  264. },
  265. {
  266. "id": {
  267. "m_id": "{D930EA84-0A76-4398-96BD-6AC79EFAB1EA}"
  268. },
  269. "contracts": [
  270. {
  271. "$type": "SlotTypeContract"
  272. }
  273. ],
  274. "slotName": "ExecutionSlot:OnVariableValueChanged",
  275. "Descriptor": {
  276. "ConnectionType": 2,
  277. "SlotType": 1
  278. },
  279. "IsLatent": true
  280. }
  281. ],
  282. "Datums": [
  283. {
  284. "isOverloadedStorage": false,
  285. "scriptCanvasType": {
  286. "m_type": 4,
  287. "m_azType": "{F8B7B5C2-3469-54D4-89E9-F457640BAD85}"
  288. },
  289. "isNullPointer": false,
  290. "$type": "GraphScopedIdentifier<VariableId>",
  291. "value": {
  292. "Identifier": {
  293. "m_id": "{A462A11B-E85A-4547-8DDA-E4B87D873724}"
  294. }
  295. },
  296. "label": "Source"
  297. }
  298. ],
  299. "m_eventMap": [
  300. {
  301. "Key": {
  302. "Value": 3939979346
  303. },
  304. "Value": {
  305. "m_eventName": "OnVariableValueChanged",
  306. "m_eventId": {
  307. "Value": 3939979346
  308. },
  309. "m_eventSlotId": {
  310. "m_id": "{D930EA84-0A76-4398-96BD-6AC79EFAB1EA}"
  311. }
  312. }
  313. }
  314. ],
  315. "m_ebusName": "VariableNotification",
  316. "m_busId": {
  317. "Value": 709969044
  318. },
  319. "m_autoConnectToGraphOwner": false
  320. }
  321. }
  322. }
  323. ],
  324. "m_connections": [
  325. {
  326. "Id": {
  327. "id": 2746810762720713
  328. },
  329. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=( ·¯Q!\u0002 Handler: Connect)",
  330. "Components": {
  331. "Component_[8359081780666837442]": {
  332. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  333. "Id": 8359081780666837442,
  334. "sourceEndpoint": {
  335. "nodeId": {
  336. "id": 2746802172786121
  337. },
  338. "slotId": {
  339. "m_id": "{B9E397B8-7CF8-4BE0-B6BB-6AACB6AAF7F7}"
  340. }
  341. },
  342. "targetEndpoint": {
  343. "nodeId": {
  344. "id": 2746806467753417
  345. },
  346. "slotId": {
  347. "m_id": "{18B7F1DA-4BEA-4D0F-867C-D0C4E779E263}"
  348. }
  349. }
  350. }
  351. }
  352. },
  353. {
  354. "Id": {
  355. "id": 2746815057688009
  356. },
  357. "Name": "srcEndpoint=(€M¯Q!\u0002 Handler: OnConnected), destEndpoint=(Mark Complete: In)",
  358. "Components": {
  359. "Component_[1841499967247461104]": {
  360. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  361. "Id": 1841499967247461104,
  362. "sourceEndpoint": {
  363. "nodeId": {
  364. "id": 2746806467753417
  365. },
  366. "slotId": {
  367. "m_id": "{BEF01A8F-5AB8-4BE7-9FB6-8BF82C94086E}"
  368. }
  369. },
  370. "targetEndpoint": {
  371. "nodeId": {
  372. "id": 2746797877818825
  373. },
  374. "slotId": {
  375. "m_id": "{D6FB6055-4DAA-4705-ACDC-4434439BA4CB}"
  376. }
  377. }
  378. }
  379. }
  380. }
  381. ]
  382. },
  383. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  384. "versionData": {
  385. "_grammarVersion": 1,
  386. "_runtimeVersion": 1,
  387. "_fileVersion": 1
  388. },
  389. "m_variableCounter": 3,
  390. "GraphCanvasData": [
  391. {
  392. "Key": {
  393. "id": 2746793582851529
  394. },
  395. "Value": {
  396. "ComponentData": {
  397. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  398. "$type": "SceneComponentSaveData",
  399. "ViewParams": {
  400. "Scale": 0.9775,
  401. "AnchorX": -519.693115234375,
  402. "AnchorY": 20.460357666015625
  403. }
  404. }
  405. }
  406. }
  407. },
  408. {
  409. "Key": {
  410. "id": 2746797877818825
  411. },
  412. "Value": {
  413. "ComponentData": {
  414. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  415. "$type": "NodeSaveData"
  416. },
  417. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  418. "$type": "GeneralNodeTitleComponentSaveData",
  419. "PaletteOverride": "MethodNodeTitlePalette"
  420. },
  421. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  422. "$type": "GeometrySaveData",
  423. "Position": [
  424. 220.0,
  425. 160.0
  426. ]
  427. },
  428. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  429. "$type": "StylingComponentSaveData",
  430. "SubStyle": ".method"
  431. },
  432. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  433. "$type": "PersistentIdComponentSaveData",
  434. "PersistentId": "{C00E1FC9-D24B-44C5-8E4A-66AE7AFB4339}"
  435. }
  436. }
  437. }
  438. },
  439. {
  440. "Key": {
  441. "id": 2746802172786121
  442. },
  443. "Value": {
  444. "ComponentData": {
  445. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  446. "$type": "NodeSaveData"
  447. },
  448. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  449. "$type": "GeneralNodeTitleComponentSaveData",
  450. "PaletteOverride": "TimeNodeTitlePalette"
  451. },
  452. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  453. "$type": "GeometrySaveData",
  454. "Position": [
  455. -320.0,
  456. 140.0
  457. ]
  458. },
  459. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  460. "$type": "StylingComponentSaveData",
  461. "SubStyle": ".time"
  462. },
  463. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  464. "$type": "PersistentIdComponentSaveData",
  465. "PersistentId": "{8AFB0A8B-D02B-4BDC-BAD3-DED882E8E785}"
  466. }
  467. }
  468. }
  469. },
  470. {
  471. "Key": {
  472. "id": 2746806467753417
  473. },
  474. "Value": {
  475. "ComponentData": {
  476. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  477. "$type": "NodeSaveData"
  478. },
  479. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  480. "$type": "GeometrySaveData",
  481. "Position": [
  482. -160.0,
  483. 160.0
  484. ]
  485. },
  486. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  487. "$type": "EBusHandlerNodeDescriptorSaveData",
  488. "DisplayConnections": true,
  489. "EventIds": [
  490. {
  491. "Value": 3939979346
  492. }
  493. ]
  494. },
  495. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  496. "$type": "StylingComponentSaveData"
  497. },
  498. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  499. "$type": "PersistentIdComponentSaveData",
  500. "PersistentId": "{CD647B04-C032-4631-B794-A566372C57F3}"
  501. }
  502. }
  503. }
  504. }
  505. ],
  506. "StatisticsHelper": {
  507. "InstanceCounter": [
  508. {
  509. "Key": 4199610336680704683,
  510. "Value": 1
  511. },
  512. {
  513. "Key": 5842117479013396256,
  514. "Value": 1
  515. },
  516. {
  517. "Key": 10204019744198319120,
  518. "Value": 1
  519. }
  520. ]
  521. }
  522. },
  523. "Component_[3464072674323916326]": {
  524. "$type": "EditorGraphVariableManagerComponent",
  525. "Id": 3464072674323916326,
  526. "m_variableData": {
  527. "m_nameVariableMap": [
  528. {
  529. "Key": {
  530. "m_id": "{875083D1-09AC-4F30-8939-94FBC8C50C97}"
  531. },
  532. "Value": {
  533. "Datum": {
  534. "isOverloadedStorage": false,
  535. "scriptCanvasType": {
  536. "m_type": 0
  537. },
  538. "isNullPointer": false,
  539. "$type": "bool",
  540. "value": false,
  541. "label": "Boolean"
  542. },
  543. "VariableId": {
  544. "m_id": "{875083D1-09AC-4F30-8939-94FBC8C50C97}"
  545. },
  546. "VariableName": "Variable 2"
  547. }
  548. },
  549. {
  550. "Key": {
  551. "m_id": "{A462A11B-E85A-4547-8DDA-E4B87D873724}"
  552. },
  553. "Value": {
  554. "Datum": {
  555. "isOverloadedStorage": false,
  556. "scriptCanvasType": {
  557. "m_type": 3
  558. },
  559. "isNullPointer": false,
  560. "$type": "double",
  561. "value": 0.0,
  562. "label": "Number"
  563. },
  564. "VariableId": {
  565. "m_id": "{A462A11B-E85A-4547-8DDA-E4B87D873724}"
  566. },
  567. "VariableName": "Variable 1"
  568. }
  569. }
  570. ]
  571. }
  572. }
  573. }
  574. }
  575. }
  576. }