LY_SC_UnitTest_HelloWorldFunctionNotPure.scriptcanvas 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 581183411148846
  9. },
  10. "Name": "HelloWorld",
  11. "Components": {
  12. "Component_[3854067922352095961]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 3854067922352095961,
  15. "m_variableData": {
  16. "m_nameVariableMap": [
  17. {
  18. "Key": {
  19. "m_id": "{52EFC6D7-937B-4D05-BC78-A5B995D415CD}"
  20. },
  21. "Value": {
  22. "Datum": {
  23. "isOverloadedStorage": false,
  24. "scriptCanvasType": {
  25. "m_type": 5
  26. },
  27. "isNullPointer": false,
  28. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  29. "value": "blerp",
  30. "label": "String"
  31. },
  32. "VariableId": {
  33. "m_id": "{52EFC6D7-937B-4D05-BC78-A5B995D415CD}"
  34. },
  35. "VariableName": "Variable 1"
  36. }
  37. }
  38. ]
  39. }
  40. },
  41. "Component_[9052377962154227383]": {
  42. "$type": "EditorGraph",
  43. "Id": 9052377962154227383,
  44. "m_graphData": {
  45. "m_nodes": [
  46. {
  47. "Id": {
  48. "id": 581196296050734
  49. },
  50. "Name": "SC-Node(FunctionDefinitionNode)",
  51. "Components": {
  52. "Component_[11396419963012713497]": {
  53. "$type": "FunctionDefinitionNode",
  54. "Id": 11396419963012713497,
  55. "Slots": [
  56. {
  57. "id": {
  58. "m_id": "{645D4BAA-1541-4DD6-A80A-C50980E98916}"
  59. },
  60. "contracts": [
  61. {
  62. "$type": "SlotTypeContract"
  63. },
  64. {
  65. "$type": "DisplayGroupConnectedSlotLimitContract",
  66. "limit": 1,
  67. "displayGroup": "NodelingSlotDisplayGroup",
  68. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  69. },
  70. {
  71. "$type": "DisallowReentrantExecutionContract"
  72. }
  73. ],
  74. "slotName": " ",
  75. "DisplayGroup": {
  76. "Value": 3992535411
  77. },
  78. "Descriptor": {
  79. "ConnectionType": 1,
  80. "SlotType": 1
  81. }
  82. },
  83. {
  84. "isVisibile": false,
  85. "id": {
  86. "m_id": "{AFF912AE-890A-4C0D-B1E2-BDDC2B008FA1}"
  87. },
  88. "contracts": [
  89. {
  90. "$type": "SlotTypeContract"
  91. },
  92. {
  93. "$type": "DisplayGroupConnectedSlotLimitContract",
  94. "limit": 1,
  95. "displayGroup": "NodelingSlotDisplayGroup",
  96. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  97. }
  98. ],
  99. "slotName": " ",
  100. "DisplayGroup": {
  101. "Value": 3992535411
  102. },
  103. "Descriptor": {
  104. "ConnectionType": 2,
  105. "SlotType": 1
  106. }
  107. }
  108. ],
  109. "m_displayName": "Out",
  110. "m_identifier": "{1EDB5858-BF68-4C06-81BE-C4C6C18500C2}",
  111. "m_isExecutionEntry": false
  112. }
  113. }
  114. },
  115. {
  116. "Id": {
  117. "id": 581187706116142
  118. },
  119. "Name": "SC-Node(Print)",
  120. "Components": {
  121. "Component_[12477281170783134906]": {
  122. "$type": "Print",
  123. "Id": 12477281170783134906,
  124. "Slots": [
  125. {
  126. "id": {
  127. "m_id": "{6BD6DD55-A040-4323-A6A1-671A45593FED}"
  128. },
  129. "contracts": [
  130. {
  131. "$type": "SlotTypeContract"
  132. }
  133. ],
  134. "slotName": "In",
  135. "toolTip": "Input signal",
  136. "Descriptor": {
  137. "ConnectionType": 1,
  138. "SlotType": 1
  139. }
  140. },
  141. {
  142. "id": {
  143. "m_id": "{AE2400F7-9090-467E-BC98-7DCE3C4576BE}"
  144. },
  145. "DynamicTypeOverride": 3,
  146. "contracts": [
  147. {
  148. "$type": "SlotTypeContract"
  149. },
  150. null
  151. ],
  152. "slotName": "Value",
  153. "toolTip": "Value which replaces instances of {Value} in the resulting string.",
  154. "DisplayDataType": {
  155. "m_type": 5
  156. },
  157. "DisplayGroup": {
  158. "Value": 1015031923
  159. },
  160. "Descriptor": {
  161. "ConnectionType": 1,
  162. "SlotType": 2
  163. },
  164. "DataType": 1,
  165. "IsReference": true,
  166. "VariableReference": {
  167. "m_id": "{52EFC6D7-937B-4D05-BC78-A5B995D415CD}"
  168. }
  169. },
  170. {
  171. "id": {
  172. "m_id": "{8599B85F-2657-4E02-B2F0-2CC3DF2F9CC3}"
  173. },
  174. "contracts": [
  175. {
  176. "$type": "SlotTypeContract"
  177. }
  178. ],
  179. "slotName": "Out",
  180. "Descriptor": {
  181. "ConnectionType": 2,
  182. "SlotType": 1
  183. }
  184. }
  185. ],
  186. "Datums": [
  187. {
  188. "isOverloadedStorage": false,
  189. "scriptCanvasType": {
  190. "m_type": 5
  191. },
  192. "isNullPointer": false,
  193. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  194. "value": "",
  195. "label": "Value"
  196. }
  197. ],
  198. "m_format": "Hello, world!{Value}",
  199. "m_arrayBindingMap": [
  200. {
  201. "Key": 1,
  202. "Value": {
  203. "m_id": "{AE2400F7-9090-467E-BC98-7DCE3C4576BE}"
  204. }
  205. }
  206. ],
  207. "m_unresolvedString": [
  208. "Hello, world!",
  209. {}
  210. ],
  211. "m_formatSlotMap": {
  212. "Value": {
  213. "m_id": "{AE2400F7-9090-467E-BC98-7DCE3C4576BE}"
  214. }
  215. }
  216. }
  217. }
  218. },
  219. {
  220. "Id": {
  221. "id": 581192001083438
  222. },
  223. "Name": "SC-Node(FunctionDefinitionNode)",
  224. "Components": {
  225. "Component_[6253414662616905213]": {
  226. "$type": "FunctionDefinitionNode",
  227. "Id": 6253414662616905213,
  228. "Slots": [
  229. {
  230. "isVisibile": false,
  231. "id": {
  232. "m_id": "{18D19F1C-2F6E-4C90-A2BE-466C4CE87963}"
  233. },
  234. "contracts": [
  235. {
  236. "$type": "SlotTypeContract"
  237. },
  238. {
  239. "$type": "DisplayGroupConnectedSlotLimitContract",
  240. "limit": 1,
  241. "displayGroup": "NodelingSlotDisplayGroup",
  242. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  243. },
  244. {
  245. "$type": "DisallowReentrantExecutionContract"
  246. }
  247. ],
  248. "slotName": " ",
  249. "DisplayGroup": {
  250. "Value": 3992535411
  251. },
  252. "Descriptor": {
  253. "ConnectionType": 1,
  254. "SlotType": 1
  255. }
  256. },
  257. {
  258. "id": {
  259. "m_id": "{A153F445-5192-46F2-BB1F-7708711C88C3}"
  260. },
  261. "contracts": [
  262. {
  263. "$type": "SlotTypeContract"
  264. },
  265. {
  266. "$type": "DisplayGroupConnectedSlotLimitContract",
  267. "limit": 1,
  268. "displayGroup": "NodelingSlotDisplayGroup",
  269. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  270. }
  271. ],
  272. "slotName": " ",
  273. "DisplayGroup": {
  274. "Value": 3992535411
  275. },
  276. "Descriptor": {
  277. "ConnectionType": 2,
  278. "SlotType": 1
  279. }
  280. }
  281. ],
  282. "m_displayName": "In",
  283. "m_identifier": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}"
  284. }
  285. }
  286. }
  287. ],
  288. "m_connections": [
  289. {
  290. "Id": {
  291. "id": 581200591018030
  292. },
  293. "Name": "srcEndpoint=(Print : In: ), destEndpoint=(Print: In)",
  294. "Components": {
  295. "Component_[5288914408229439479]": {
  296. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  297. "Id": 5288914408229439479,
  298. "sourceEndpoint": {
  299. "nodeId": {
  300. "id": 581192001083438
  301. },
  302. "slotId": {
  303. "m_id": "{A153F445-5192-46F2-BB1F-7708711C88C3}"
  304. }
  305. },
  306. "targetEndpoint": {
  307. "nodeId": {
  308. "id": 581187706116142
  309. },
  310. "slotId": {
  311. "m_id": "{6BD6DD55-A040-4323-A6A1-671A45593FED}"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. {
  318. "Id": {
  319. "id": 581204885985326
  320. },
  321. "Name": "srcEndpoint=(Print: Out), destEndpoint=(Print : Out: )",
  322. "Components": {
  323. "Component_[14264987585494436513]": {
  324. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  325. "Id": 14264987585494436513,
  326. "sourceEndpoint": {
  327. "nodeId": {
  328. "id": 581187706116142
  329. },
  330. "slotId": {
  331. "m_id": "{8599B85F-2657-4E02-B2F0-2CC3DF2F9CC3}"
  332. }
  333. },
  334. "targetEndpoint": {
  335. "nodeId": {
  336. "id": 581196296050734
  337. },
  338. "slotId": {
  339. "m_id": "{645D4BAA-1541-4DD6-A80A-C50980E98916}"
  340. }
  341. }
  342. }
  343. }
  344. }
  345. ]
  346. },
  347. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  348. "versionData": {
  349. "_grammarVersion": 1,
  350. "_runtimeVersion": 1,
  351. "_fileVersion": 1
  352. },
  353. "m_variableCounter": 1,
  354. "GraphCanvasData": [
  355. {
  356. "Key": {
  357. "id": 581183411148846
  358. },
  359. "Value": {
  360. "ComponentData": {
  361. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  362. "$type": "SceneComponentSaveData",
  363. "ViewParams": {
  364. "AnchorX": -232.0,
  365. "AnchorY": 2.0
  366. }
  367. }
  368. }
  369. }
  370. },
  371. {
  372. "Key": {
  373. "id": 581187706116142
  374. },
  375. "Value": {
  376. "ComponentData": {
  377. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  378. "$type": "NodeSaveData"
  379. },
  380. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  381. "$type": "GeneralNodeTitleComponentSaveData",
  382. "PaletteOverride": "StringNodeTitlePalette"
  383. },
  384. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  385. "$type": "GeometrySaveData",
  386. "Position": [
  387. 400.0,
  388. 100.0
  389. ]
  390. },
  391. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  392. "$type": "StylingComponentSaveData"
  393. },
  394. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  395. "$type": "PersistentIdComponentSaveData",
  396. "PersistentId": "{96F5E83F-7D91-4DB0-9D24-83AB3B904691}"
  397. }
  398. }
  399. }
  400. },
  401. {
  402. "Key": {
  403. "id": 581192001083438
  404. },
  405. "Value": {
  406. "ComponentData": {
  407. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  408. "$type": "NodeSaveData"
  409. },
  410. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  411. "$type": "GeneralNodeTitleComponentSaveData",
  412. "PaletteOverride": "NodelingTitlePalette"
  413. },
  414. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  415. "$type": "GeometrySaveData",
  416. "Position": [
  417. -40.0,
  418. 80.0
  419. ]
  420. },
  421. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  422. "$type": "StylingComponentSaveData",
  423. "SubStyle": ".nodeling"
  424. },
  425. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  426. "$type": "PersistentIdComponentSaveData",
  427. "PersistentId": "{2587A848-1232-4166-9D1E-0CE74FEF46A1}"
  428. }
  429. }
  430. }
  431. },
  432. {
  433. "Key": {
  434. "id": 581196296050734
  435. },
  436. "Value": {
  437. "ComponentData": {
  438. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  439. "$type": "NodeSaveData"
  440. },
  441. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  442. "$type": "GeneralNodeTitleComponentSaveData",
  443. "PaletteOverride": "NodelingTitlePalette"
  444. },
  445. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  446. "$type": "GeometrySaveData",
  447. "Position": [
  448. 740.0,
  449. 100.0
  450. ]
  451. },
  452. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  453. "$type": "StylingComponentSaveData",
  454. "SubStyle": ".nodeling"
  455. },
  456. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  457. "$type": "PersistentIdComponentSaveData",
  458. "PersistentId": "{921DBB72-7E8E-4B5F-ACC9-4FCA3DC32824}"
  459. }
  460. }
  461. }
  462. }
  463. ],
  464. "StatisticsHelper": {
  465. "InstanceCounter": [
  466. {
  467. "Key": 7011818094993955847,
  468. "Value": 2
  469. },
  470. {
  471. "Key": 10684225535275896474,
  472. "Value": 1
  473. }
  474. ]
  475. }
  476. }
  477. }
  478. }
  479. }
  480. }