LY_SC_UnitTest_NodeableDurationFunction.scriptcanvas 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 215015974328366
  9. },
  10. "Name": "LY_SC_UnitTest_NodeableDurationFunction",
  11. "Components": {
  12. "Component_[14844162847222334620]": {
  13. "$type": "EditorGraph",
  14. "Id": 14844162847222334620,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 215028859230254
  20. },
  21. "Name": "SC-Node(Print)",
  22. "Components": {
  23. "Component_[11202872575033365330]": {
  24. "$type": "Print",
  25. "Id": 11202872575033365330,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{3419A0B7-11FD-40FF-8E4C-EB7951A4760B}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "In",
  37. "toolTip": "Input signal",
  38. "Descriptor": {
  39. "ConnectionType": 1,
  40. "SlotType": 1
  41. }
  42. },
  43. {
  44. "id": {
  45. "m_id": "{B07F7F2E-884F-4260-A9A8-27BAA3E22C31}"
  46. },
  47. "contracts": [
  48. {
  49. "$type": "SlotTypeContract"
  50. }
  51. ],
  52. "slotName": "Out",
  53. "Descriptor": {
  54. "ConnectionType": 2,
  55. "SlotType": 1
  56. }
  57. }
  58. ],
  59. "m_format": "in direct connection",
  60. "m_unresolvedString": [
  61. "in direct connection"
  62. ]
  63. }
  64. }
  65. },
  66. {
  67. "Id": {
  68. "id": 215024564262958
  69. },
  70. "Name": "SC-Node(FunctionDefinitionNode)",
  71. "Components": {
  72. "Component_[5582019826322206075]": {
  73. "$type": "FunctionDefinitionNode",
  74. "Id": 5582019826322206075,
  75. "Slots": [
  76. {
  77. "id": {
  78. "m_id": "{AC0AF931-3B74-4AA1-BEF0-412575D2E719}"
  79. },
  80. "contracts": [
  81. {
  82. "$type": "SlotTypeContract"
  83. },
  84. {
  85. "$type": "DisplayGroupConnectedSlotLimitContract",
  86. "limit": 1,
  87. "displayGroup": "NodelingSlotDisplayGroup",
  88. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  89. },
  90. {
  91. "$type": "DisallowReentrantExecutionContract"
  92. }
  93. ],
  94. "slotName": " ",
  95. "DisplayGroup": {
  96. "Value": 3992535411
  97. },
  98. "Descriptor": {
  99. "ConnectionType": 1,
  100. "SlotType": 1
  101. }
  102. },
  103. {
  104. "isVisibile": false,
  105. "id": {
  106. "m_id": "{7DF924F9-6555-4646-ADBE-FF1375EEED2B}"
  107. },
  108. "contracts": [
  109. {
  110. "$type": "SlotTypeContract"
  111. },
  112. {
  113. "$type": "DisplayGroupConnectedSlotLimitContract",
  114. "limit": 1,
  115. "displayGroup": "NodelingSlotDisplayGroup",
  116. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  117. }
  118. ],
  119. "slotName": " ",
  120. "DisplayGroup": {
  121. "Value": 3992535411
  122. },
  123. "Descriptor": {
  124. "ConnectionType": 2,
  125. "SlotType": 1
  126. }
  127. }
  128. ],
  129. "m_displayName": "On Tick : Out",
  130. "m_identifier": "{7D53F416-8A9D-4CC3-BF29-867808B46C5F}",
  131. "m_isExecutionEntry": false
  132. }
  133. }
  134. },
  135. {
  136. "Id": {
  137. "id": 215020269295662
  138. },
  139. "Name": "EBusEventHandler",
  140. "Components": {
  141. "Component_[5678459697824682572]": {
  142. "$type": "EBusEventHandler",
  143. "Id": 5678459697824682572,
  144. "Slots": [
  145. {
  146. "id": {
  147. "m_id": "{26FB6CEA-9CE0-467B-9FC2-924FE89C0314}"
  148. },
  149. "contracts": [
  150. {
  151. "$type": "SlotTypeContract"
  152. }
  153. ],
  154. "slotName": "Connect",
  155. "toolTip": "Connect this event handler to the specified entity.",
  156. "Descriptor": {
  157. "ConnectionType": 1,
  158. "SlotType": 1
  159. }
  160. },
  161. {
  162. "id": {
  163. "m_id": "{20538DBF-6F11-4448-BC8B-1104C5B591EA}"
  164. },
  165. "contracts": [
  166. {
  167. "$type": "SlotTypeContract"
  168. }
  169. ],
  170. "slotName": "Disconnect",
  171. "toolTip": "Disconnect this event handler.",
  172. "Descriptor": {
  173. "ConnectionType": 1,
  174. "SlotType": 1
  175. }
  176. },
  177. {
  178. "id": {
  179. "m_id": "{D7E89DE0-E119-4303-8EFC-F77713021078}"
  180. },
  181. "contracts": [
  182. {
  183. "$type": "SlotTypeContract"
  184. }
  185. ],
  186. "slotName": "OnConnected",
  187. "toolTip": "Signaled when a connection has taken place.",
  188. "Descriptor": {
  189. "ConnectionType": 2,
  190. "SlotType": 1
  191. }
  192. },
  193. {
  194. "id": {
  195. "m_id": "{67AD65D4-EC28-4C10-B338-D7B1613D96B5}"
  196. },
  197. "contracts": [
  198. {
  199. "$type": "SlotTypeContract"
  200. }
  201. ],
  202. "slotName": "OnDisconnected",
  203. "toolTip": "Signaled when this event handler is disconnected.",
  204. "Descriptor": {
  205. "ConnectionType": 2,
  206. "SlotType": 1
  207. }
  208. },
  209. {
  210. "id": {
  211. "m_id": "{A6F792F1-D810-4BD5-A5A0-A55547BB3696}"
  212. },
  213. "contracts": [
  214. {
  215. "$type": "SlotTypeContract"
  216. }
  217. ],
  218. "slotName": "OnFailure",
  219. "toolTip": "Signaled when it is not possible to connect this handler.",
  220. "Descriptor": {
  221. "ConnectionType": 2,
  222. "SlotType": 1
  223. }
  224. },
  225. {
  226. "id": {
  227. "m_id": "{4BB8FCC3-E969-4CA4-AE2E-3AA205051DAD}"
  228. },
  229. "contracts": [
  230. {
  231. "$type": "SlotTypeContract"
  232. }
  233. ],
  234. "slotName": "Number",
  235. "DisplayDataType": {
  236. "m_type": 3
  237. },
  238. "Descriptor": {
  239. "ConnectionType": 2,
  240. "SlotType": 2
  241. },
  242. "DataType": 1
  243. },
  244. {
  245. "id": {
  246. "m_id": "{044CBA34-A67C-4020-8D07-A15EC1C6A829}"
  247. },
  248. "contracts": [
  249. {
  250. "$type": "SlotTypeContract"
  251. }
  252. ],
  253. "slotName": "ScriptTimePoint",
  254. "DisplayDataType": {
  255. "m_type": 4,
  256. "m_azType": "{4C0F6AD4-0D4F-4354-AD4A-0C01E948245C}"
  257. },
  258. "Descriptor": {
  259. "ConnectionType": 2,
  260. "SlotType": 2
  261. },
  262. "DataType": 1
  263. },
  264. {
  265. "id": {
  266. "m_id": "{53DFAD6A-880A-4177-A362-D31320D4F8E2}"
  267. },
  268. "contracts": [
  269. {
  270. "$type": "SlotTypeContract"
  271. }
  272. ],
  273. "slotName": "ExecutionSlot:OnTick",
  274. "Descriptor": {
  275. "ConnectionType": 2,
  276. "SlotType": 1
  277. },
  278. "IsLatent": true
  279. },
  280. {
  281. "id": {
  282. "m_id": "{ADBAB838-DD5A-43F7-B12E-BDB1AC2C44F1}"
  283. },
  284. "contracts": [
  285. {
  286. "$type": "SlotTypeContract"
  287. },
  288. null
  289. ],
  290. "slotName": "Result: Number",
  291. "Descriptor": {
  292. "ConnectionType": 1,
  293. "SlotType": 2
  294. },
  295. "DataType": 1
  296. },
  297. {
  298. "id": {
  299. "m_id": "{2C245008-4D5B-4BA1-8103-C694ADE233BA}"
  300. },
  301. "contracts": [
  302. {
  303. "$type": "SlotTypeContract"
  304. }
  305. ],
  306. "slotName": "ExecutionSlot:GetTickOrder",
  307. "Descriptor": {
  308. "ConnectionType": 2,
  309. "SlotType": 1
  310. },
  311. "IsLatent": true
  312. }
  313. ],
  314. "Datums": [
  315. {
  316. "isOverloadedStorage": false,
  317. "scriptCanvasType": {
  318. "m_type": 3
  319. },
  320. "isNullPointer": false,
  321. "$type": "double",
  322. "value": 0.0,
  323. "label": "Result: Number"
  324. }
  325. ],
  326. "m_eventMap": [
  327. {
  328. "Key": {
  329. "Value": 1502188240
  330. },
  331. "Value": {
  332. "m_eventName": "OnTick",
  333. "m_eventId": {
  334. "Value": 1502188240
  335. },
  336. "m_eventSlotId": {
  337. "m_id": "{53DFAD6A-880A-4177-A362-D31320D4F8E2}"
  338. },
  339. "m_parameterSlotIds": [
  340. {
  341. "m_id": "{4BB8FCC3-E969-4CA4-AE2E-3AA205051DAD}"
  342. },
  343. {
  344. "m_id": "{044CBA34-A67C-4020-8D07-A15EC1C6A829}"
  345. }
  346. ],
  347. "m_numExpectedArguments": 2
  348. }
  349. },
  350. {
  351. "Key": {
  352. "Value": 1890826333
  353. },
  354. "Value": {
  355. "m_eventName": "GetTickOrder",
  356. "m_eventId": {
  357. "Value": 1890826333
  358. },
  359. "m_eventSlotId": {
  360. "m_id": "{2C245008-4D5B-4BA1-8103-C694ADE233BA}"
  361. },
  362. "m_resultSlotId": {
  363. "m_id": "{ADBAB838-DD5A-43F7-B12E-BDB1AC2C44F1}"
  364. }
  365. }
  366. }
  367. ],
  368. "m_ebusName": "TickBus",
  369. "m_busId": {
  370. "Value": 1209186864
  371. }
  372. }
  373. }
  374. }
  375. ],
  376. "m_connections": [
  377. {
  378. "Id": {
  379. "id": 215033154197550
  380. },
  381. "Name": "srcEndpoint=(TickBus Handler: ExecutionSlot:OnTick), destEndpoint=(Print: In)",
  382. "Components": {
  383. "Component_[4980251679136993622]": {
  384. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  385. "Id": 4980251679136993622,
  386. "sourceEndpoint": {
  387. "nodeId": {
  388. "id": 215020269295662
  389. },
  390. "slotId": {
  391. "m_id": "{53DFAD6A-880A-4177-A362-D31320D4F8E2}"
  392. }
  393. },
  394. "targetEndpoint": {
  395. "nodeId": {
  396. "id": 215028859230254
  397. },
  398. "slotId": {
  399. "m_id": "{3419A0B7-11FD-40FF-8E4C-EB7951A4760B}"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. {
  406. "Id": {
  407. "id": 215037449164846
  408. },
  409. "Name": "srcEndpoint=(Print: Out), destEndpoint=(On Tick : Out: )",
  410. "Components": {
  411. "Component_[8591693495172403418]": {
  412. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  413. "Id": 8591693495172403418,
  414. "sourceEndpoint": {
  415. "nodeId": {
  416. "id": 215028859230254
  417. },
  418. "slotId": {
  419. "m_id": "{B07F7F2E-884F-4260-A9A8-27BAA3E22C31}"
  420. }
  421. },
  422. "targetEndpoint": {
  423. "nodeId": {
  424. "id": 215024564262958
  425. },
  426. "slotId": {
  427. "m_id": "{AC0AF931-3B74-4AA1-BEF0-412575D2E719}"
  428. }
  429. }
  430. }
  431. }
  432. }
  433. ]
  434. },
  435. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  436. "versionData": {
  437. "_grammarVersion": 1,
  438. "_runtimeVersion": 1,
  439. "_fileVersion": 1
  440. },
  441. "GraphCanvasData": [
  442. {
  443. "Key": {
  444. "id": 215015974328366
  445. },
  446. "Value": {
  447. "ComponentData": {
  448. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  449. "$type": "SceneComponentSaveData"
  450. }
  451. }
  452. }
  453. },
  454. {
  455. "Key": {
  456. "id": 215020269295662
  457. },
  458. "Value": {
  459. "ComponentData": {
  460. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  461. "$type": "NodeSaveData"
  462. },
  463. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  464. "$type": "GeometrySaveData",
  465. "Position": [
  466. -220.0,
  467. 0.0
  468. ]
  469. },
  470. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  471. "$type": "EBusHandlerNodeDescriptorSaveData",
  472. "EventIds": [
  473. {
  474. "Value": 1502188240
  475. }
  476. ]
  477. },
  478. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  479. "$type": "StylingComponentSaveData"
  480. },
  481. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  482. "$type": "PersistentIdComponentSaveData",
  483. "PersistentId": "{93F8B408-EB86-41A6-AC80-0F0D047A4A45}"
  484. }
  485. }
  486. }
  487. },
  488. {
  489. "Key": {
  490. "id": 215024564262958
  491. },
  492. "Value": {
  493. "ComponentData": {
  494. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  495. "$type": "NodeSaveData"
  496. },
  497. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  498. "$type": "GeneralNodeTitleComponentSaveData",
  499. "PaletteOverride": "NodelingTitlePalette"
  500. },
  501. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  502. "$type": "GeometrySaveData",
  503. "Position": [
  504. 460.0,
  505. -40.0
  506. ]
  507. },
  508. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  509. "$type": "StylingComponentSaveData",
  510. "SubStyle": ".nodeling"
  511. },
  512. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  513. "$type": "PersistentIdComponentSaveData",
  514. "PersistentId": "{DC09617E-ABA4-49CC-A713-25A42FE5F8B7}"
  515. }
  516. }
  517. }
  518. },
  519. {
  520. "Key": {
  521. "id": 215028859230254
  522. },
  523. "Value": {
  524. "ComponentData": {
  525. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  526. "$type": "NodeSaveData"
  527. },
  528. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  529. "$type": "GeneralNodeTitleComponentSaveData",
  530. "PaletteOverride": "StringNodeTitlePalette"
  531. },
  532. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  533. "$type": "GeometrySaveData",
  534. "Position": [
  535. 100.0,
  536. 0.0
  537. ]
  538. },
  539. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  540. "$type": "StylingComponentSaveData"
  541. },
  542. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  543. "$type": "PersistentIdComponentSaveData",
  544. "PersistentId": "{BD3565C2-3CDD-4B95-B573-B1FE1974E1D5}"
  545. }
  546. }
  547. }
  548. }
  549. ],
  550. "StatisticsHelper": {
  551. "InstanceCounter": [
  552. {
  553. "Key": 5842117451819972883,
  554. "Value": 1
  555. },
  556. {
  557. "Key": 7011818094993955847,
  558. "Value": 1
  559. },
  560. {
  561. "Key": 10684225535275896474,
  562. "Value": 1
  563. }
  564. ]
  565. }
  566. },
  567. "Component_[8987170666057057723]": {
  568. "$type": "EditorGraphVariableManagerComponent",
  569. "Id": 8987170666057057723
  570. }
  571. }
  572. }
  573. }
  574. }