3
0

LY_SC_UnitTest_SelfDeactivateParseErrorFromHandler.scriptcanvas 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 2631370631738825
  9. },
  10. "Name": "LY_SC_UnitTest_SelfDeactivateParseErrorFromHandler",
  11. "Components": {
  12. "Component_[3983642449115486944]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 3983642449115486944
  15. },
  16. "Component_[5878553349367570742]": {
  17. "$type": "EditorGraph",
  18. "Id": 5878553349367570742,
  19. "m_graphData": {
  20. "m_nodes": [
  21. {
  22. "Id": {
  23. "id": 2631374926706121
  24. },
  25. "Name": "SC-Node(DeactivateGameEntity)",
  26. "Components": {
  27. "Component_[17805866068454873145]": {
  28. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  29. "Id": 17805866068454873145,
  30. "Slots": [
  31. {
  32. "id": {
  33. "m_id": "{98C49ACF-B89A-4DAC-B841-DFA03C957725}"
  34. },
  35. "contracts": [
  36. {
  37. "$type": "SlotTypeContract"
  38. },
  39. null
  40. ],
  41. "slotName": "EntityID: 0",
  42. "Descriptor": {
  43. "ConnectionType": 1,
  44. "SlotType": 2
  45. },
  46. "DataType": 1
  47. },
  48. {
  49. "id": {
  50. "m_id": "{19DA65F7-5075-4E91-958C-2A924D6339D8}"
  51. },
  52. "contracts": [
  53. {
  54. "$type": "SlotTypeContract"
  55. }
  56. ],
  57. "slotName": "In",
  58. "Descriptor": {
  59. "ConnectionType": 1,
  60. "SlotType": 1
  61. }
  62. },
  63. {
  64. "id": {
  65. "m_id": "{D2F00F3C-5482-4BBA-8AF1-CAFF1F37E1B2}"
  66. },
  67. "contracts": [
  68. {
  69. "$type": "SlotTypeContract"
  70. }
  71. ],
  72. "slotName": "Out",
  73. "Descriptor": {
  74. "ConnectionType": 2,
  75. "SlotType": 1
  76. }
  77. }
  78. ],
  79. "Datums": [
  80. {
  81. "isOverloadedStorage": false,
  82. "scriptCanvasType": {
  83. "m_type": 1
  84. },
  85. "isNullPointer": false,
  86. "$type": "EntityId",
  87. "value": {
  88. "id": 2901262558
  89. },
  90. "label": "Entity Id"
  91. }
  92. ],
  93. "methodType": 0,
  94. "methodName": "DeactivateGameEntity",
  95. "className": "GameEntityContextRequestBus",
  96. "resultSlotIDs": [
  97. {}
  98. ],
  99. "prettyClassName": "GameEntityContextRequestBus"
  100. }
  101. }
  102. },
  103. {
  104. "Id": {
  105. "id": 2631379221673417
  106. },
  107. "Name": "SC-Node(ActivateGameEntity)",
  108. "Components": {
  109. "Component_[18266646947590685490]": {
  110. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  111. "Id": 18266646947590685490,
  112. "Slots": [
  113. {
  114. "id": {
  115. "m_id": "{9FC01CE9-B2ED-4C79-91E5-F2B56BD3AC37}"
  116. },
  117. "contracts": [
  118. {
  119. "$type": "SlotTypeContract"
  120. },
  121. null
  122. ],
  123. "slotName": "EntityID: 0",
  124. "Descriptor": {
  125. "ConnectionType": 1,
  126. "SlotType": 2
  127. },
  128. "DataType": 1
  129. },
  130. {
  131. "id": {
  132. "m_id": "{EB1793B7-C2B7-4E7C-B9FF-9603300924E8}"
  133. },
  134. "contracts": [
  135. {
  136. "$type": "SlotTypeContract"
  137. }
  138. ],
  139. "slotName": "In",
  140. "Descriptor": {
  141. "ConnectionType": 1,
  142. "SlotType": 1
  143. }
  144. },
  145. {
  146. "id": {
  147. "m_id": "{FE97E04E-E7A4-474B-ABCE-58FF3741799C}"
  148. },
  149. "contracts": [
  150. {
  151. "$type": "SlotTypeContract"
  152. }
  153. ],
  154. "slotName": "Out",
  155. "Descriptor": {
  156. "ConnectionType": 2,
  157. "SlotType": 1
  158. }
  159. }
  160. ],
  161. "Datums": [
  162. {
  163. "isOverloadedStorage": false,
  164. "scriptCanvasType": {
  165. "m_type": 1
  166. },
  167. "isNullPointer": false,
  168. "$type": "EntityId",
  169. "value": {
  170. "id": 2901262558
  171. },
  172. "label": "Entity Id"
  173. }
  174. ],
  175. "methodType": 0,
  176. "methodName": "ActivateGameEntity",
  177. "className": "GameEntityContextRequestBus",
  178. "resultSlotIDs": [
  179. {}
  180. ],
  181. "prettyClassName": "GameEntityContextRequestBus"
  182. }
  183. }
  184. },
  185. {
  186. "Id": {
  187. "id": 2631383516640713
  188. },
  189. "Name": "EBusEventHandler",
  190. "Components": {
  191. "Component_[216498075863588580]": {
  192. "$type": "EBusEventHandler",
  193. "Id": 216498075863588580,
  194. "Slots": [
  195. {
  196. "id": {
  197. "m_id": "{009B8910-8550-4991-94CF-E0B15B47CB13}"
  198. },
  199. "contracts": [
  200. {
  201. "$type": "SlotTypeContract"
  202. }
  203. ],
  204. "slotName": "Connect",
  205. "toolTip": "Connect this event handler to the specified entity.",
  206. "Descriptor": {
  207. "ConnectionType": 1,
  208. "SlotType": 1
  209. }
  210. },
  211. {
  212. "id": {
  213. "m_id": "{7983CCC6-229C-474E-8691-DF1383F72429}"
  214. },
  215. "contracts": [
  216. {
  217. "$type": "SlotTypeContract"
  218. }
  219. ],
  220. "slotName": "Disconnect",
  221. "toolTip": "Disconnect this event handler.",
  222. "Descriptor": {
  223. "ConnectionType": 1,
  224. "SlotType": 1
  225. }
  226. },
  227. {
  228. "id": {
  229. "m_id": "{3C256268-F321-4EC1-8FD8-55F6232B2B5C}"
  230. },
  231. "contracts": [
  232. {
  233. "$type": "SlotTypeContract"
  234. }
  235. ],
  236. "slotName": "OnConnected",
  237. "toolTip": "Signaled when a connection has taken place.",
  238. "Descriptor": {
  239. "ConnectionType": 2,
  240. "SlotType": 1
  241. }
  242. },
  243. {
  244. "id": {
  245. "m_id": "{3A1CCCC6-9A83-4979-B7AD-045C8E619E02}"
  246. },
  247. "contracts": [
  248. {
  249. "$type": "SlotTypeContract"
  250. }
  251. ],
  252. "slotName": "OnDisconnected",
  253. "toolTip": "Signaled when this event handler is disconnected.",
  254. "Descriptor": {
  255. "ConnectionType": 2,
  256. "SlotType": 1
  257. }
  258. },
  259. {
  260. "id": {
  261. "m_id": "{A6B48C7F-8263-4BF8-8363-C00A0B4C0527}"
  262. },
  263. "contracts": [
  264. {
  265. "$type": "SlotTypeContract"
  266. }
  267. ],
  268. "slotName": "OnFailure",
  269. "toolTip": "Signaled when it is not possible to connect this handler.",
  270. "Descriptor": {
  271. "ConnectionType": 2,
  272. "SlotType": 1
  273. }
  274. },
  275. {
  276. "id": {
  277. "m_id": "{174C978D-910D-4B3A-9B8E-137F90CDF230}"
  278. },
  279. "contracts": [
  280. {
  281. "$type": "SlotTypeContract"
  282. },
  283. null
  284. ],
  285. "slotName": "Source",
  286. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  287. "Descriptor": {
  288. "ConnectionType": 1,
  289. "SlotType": 2
  290. },
  291. "DataType": 1
  292. },
  293. {
  294. "id": {
  295. "m_id": "{5B440DC8-5890-4208-ACF9-D496D4337DBA}"
  296. },
  297. "contracts": [
  298. {
  299. "$type": "SlotTypeContract"
  300. }
  301. ],
  302. "slotName": "EntityID",
  303. "DisplayDataType": {
  304. "m_type": 1
  305. },
  306. "Descriptor": {
  307. "ConnectionType": 2,
  308. "SlotType": 2
  309. },
  310. "DataType": 1
  311. },
  312. {
  313. "id": {
  314. "m_id": "{460916A5-B7C3-4301-8F86-72D2857967C3}"
  315. },
  316. "contracts": [
  317. {
  318. "$type": "SlotTypeContract"
  319. }
  320. ],
  321. "slotName": "ExecutionSlot:OnEntityActivated",
  322. "Descriptor": {
  323. "ConnectionType": 2,
  324. "SlotType": 1
  325. },
  326. "IsLatent": true
  327. },
  328. {
  329. "id": {
  330. "m_id": "{FBA7B048-93B5-48FA-B6E2-2565AEFEF32D}"
  331. },
  332. "contracts": [
  333. {
  334. "$type": "SlotTypeContract"
  335. }
  336. ],
  337. "slotName": "EntityID",
  338. "DisplayDataType": {
  339. "m_type": 1
  340. },
  341. "Descriptor": {
  342. "ConnectionType": 2,
  343. "SlotType": 2
  344. },
  345. "DataType": 1
  346. },
  347. {
  348. "id": {
  349. "m_id": "{A4C009AE-DDC2-44CF-90FD-B0F538DA8CB1}"
  350. },
  351. "contracts": [
  352. {
  353. "$type": "SlotTypeContract"
  354. }
  355. ],
  356. "slotName": "ExecutionSlot:OnEntityDeactivated",
  357. "Descriptor": {
  358. "ConnectionType": 2,
  359. "SlotType": 1
  360. },
  361. "IsLatent": true
  362. }
  363. ],
  364. "Datums": [
  365. {
  366. "isOverloadedStorage": false,
  367. "scriptCanvasType": {
  368. "m_type": 1
  369. },
  370. "isNullPointer": false,
  371. "$type": "EntityId",
  372. "value": {
  373. "id": 2901262558
  374. },
  375. "label": "Source"
  376. }
  377. ],
  378. "m_eventMap": [
  379. {
  380. "Key": {
  381. "Value": 245425936
  382. },
  383. "Value": {
  384. "m_eventName": "OnEntityActivated",
  385. "m_eventId": {
  386. "Value": 245425936
  387. },
  388. "m_eventSlotId": {
  389. "m_id": "{460916A5-B7C3-4301-8F86-72D2857967C3}"
  390. },
  391. "m_parameterSlotIds": [
  392. {
  393. "m_id": "{5B440DC8-5890-4208-ACF9-D496D4337DBA}"
  394. }
  395. ],
  396. "m_numExpectedArguments": 1
  397. }
  398. },
  399. {
  400. "Key": {
  401. "Value": 4273369222
  402. },
  403. "Value": {
  404. "m_eventName": "OnEntityDeactivated",
  405. "m_eventId": {
  406. "Value": 4273369222
  407. },
  408. "m_eventSlotId": {
  409. "m_id": "{A4C009AE-DDC2-44CF-90FD-B0F538DA8CB1}"
  410. },
  411. "m_parameterSlotIds": [
  412. {
  413. "m_id": "{FBA7B048-93B5-48FA-B6E2-2565AEFEF32D}"
  414. }
  415. ],
  416. "m_numExpectedArguments": 1
  417. }
  418. }
  419. ],
  420. "m_ebusName": "EntityBus",
  421. "m_busId": {
  422. "Value": 3358774020
  423. }
  424. }
  425. }
  426. }
  427. ],
  428. "m_connections": [
  429. {
  430. "Id": {
  431. "id": 3080229073909193
  432. },
  433. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(DeactivateGameEntity: In)",
  434. "Components": {
  435. "Component_[2212227033843511627]": {
  436. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  437. "Id": 2212227033843511627,
  438. "sourceEndpoint": {
  439. "nodeId": {
  440. "id": 2631383516640713
  441. },
  442. "slotId": {
  443. "m_id": "{460916A5-B7C3-4301-8F86-72D2857967C3}"
  444. }
  445. },
  446. "targetEndpoint": {
  447. "nodeId": {
  448. "id": 2631374926706121
  449. },
  450. "slotId": {
  451. "m_id": "{19DA65F7-5075-4E91-958C-2A924D6339D8}"
  452. }
  453. }
  454. }
  455. }
  456. },
  457. {
  458. "Id": {
  459. "id": 3082479636772297
  460. },
  461. "Name": "srcEndpoint=(DeactivateGameEntity: Out), destEndpoint=(ActivateGameEntity: In)",
  462. "Components": {
  463. "Component_[9802095088950926312]": {
  464. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  465. "Id": 9802095088950926312,
  466. "sourceEndpoint": {
  467. "nodeId": {
  468. "id": 2631374926706121
  469. },
  470. "slotId": {
  471. "m_id": "{D2F00F3C-5482-4BBA-8AF1-CAFF1F37E1B2}"
  472. }
  473. },
  474. "targetEndpoint": {
  475. "nodeId": {
  476. "id": 2631379221673417
  477. },
  478. "slotId": {
  479. "m_id": "{EB1793B7-C2B7-4E7C-B9FF-9603300924E8}"
  480. }
  481. }
  482. }
  483. }
  484. }
  485. ]
  486. },
  487. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  488. "versionData": {
  489. "_grammarVersion": 1,
  490. "_runtimeVersion": 1,
  491. "_fileVersion": 1
  492. },
  493. "GraphCanvasData": [
  494. {
  495. "Key": {
  496. "id": 2631370631738825
  497. },
  498. "Value": {
  499. "ComponentData": {
  500. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  501. "$type": "SceneComponentSaveData",
  502. "ViewParams": {
  503. "Scale": 1.2502487132352937,
  504. "AnchorX": -153.56944274902344,
  505. "AnchorY": 61.587745666503906
  506. }
  507. }
  508. }
  509. }
  510. },
  511. {
  512. "Key": {
  513. "id": 2631374926706121
  514. },
  515. "Value": {
  516. "ComponentData": {
  517. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  518. "$type": "NodeSaveData"
  519. },
  520. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  521. "$type": "GeneralNodeTitleComponentSaveData",
  522. "PaletteOverride": "MethodNodeTitlePalette"
  523. },
  524. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  525. "$type": "GeometrySaveData",
  526. "Position": [
  527. 400.0,
  528. 380.0
  529. ]
  530. },
  531. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  532. "$type": "StylingComponentSaveData",
  533. "SubStyle": ".method"
  534. },
  535. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  536. "$type": "PersistentIdComponentSaveData",
  537. "PersistentId": "{3EA4D3C3-913A-4D0C-A285-64A8F8A7B90C}"
  538. }
  539. }
  540. }
  541. },
  542. {
  543. "Key": {
  544. "id": 2631379221673417
  545. },
  546. "Value": {
  547. "ComponentData": {
  548. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  549. "$type": "NodeSaveData"
  550. },
  551. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  552. "$type": "GeneralNodeTitleComponentSaveData",
  553. "PaletteOverride": "MethodNodeTitlePalette"
  554. },
  555. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  556. "$type": "GeometrySaveData",
  557. "Position": [
  558. 640.0,
  559. 160.0
  560. ]
  561. },
  562. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  563. "$type": "StylingComponentSaveData",
  564. "SubStyle": ".method"
  565. },
  566. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  567. "$type": "PersistentIdComponentSaveData",
  568. "PersistentId": "{5F527A0C-1F1D-4BDC-8D45-FBBA211B8D50}"
  569. }
  570. }
  571. }
  572. },
  573. {
  574. "Key": {
  575. "id": 2631383516640713
  576. },
  577. "Value": {
  578. "ComponentData": {
  579. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  580. "$type": "NodeSaveData"
  581. },
  582. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  583. "$type": "GeometrySaveData",
  584. "Position": [
  585. -40.0,
  586. 240.0
  587. ]
  588. },
  589. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  590. "$type": "EBusHandlerNodeDescriptorSaveData",
  591. "EventIds": [
  592. {
  593. "Value": 245425936
  594. }
  595. ]
  596. },
  597. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  598. "$type": "StylingComponentSaveData"
  599. },
  600. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  601. "$type": "PersistentIdComponentSaveData",
  602. "PersistentId": "{27EA0024-B845-4660-A69C-ECE1BD584781}"
  603. }
  604. }
  605. }
  606. }
  607. ],
  608. "StatisticsHelper": {
  609. "InstanceCounter": [
  610. {
  611. "Key": 5842116761103598202,
  612. "Value": 1
  613. },
  614. {
  615. "Key": 13774516199848960378,
  616. "Value": 1
  617. },
  618. {
  619. "Key": 13774516200723425656,
  620. "Value": 1
  621. }
  622. ]
  623. }
  624. }
  625. }
  626. }
  627. }
  628. }