LY_SC_UnitTest_DetectSelfDeactivation.scriptcanvas 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 1204572144359470
  9. },
  10. "Name": "detectSelfDeactivation",
  11. "Components": {
  12. "Component_[12832717822249890477]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 12832717822249890477
  15. },
  16. "Component_[2006001577144646989]": {
  17. "$type": "EditorGraph",
  18. "Id": 2006001577144646989,
  19. "m_graphData": {
  20. "m_nodes": [
  21. {
  22. "Id": {
  23. "id": 1204585029261358
  24. },
  25. "Name": "SC-Node(Print)",
  26. "Components": {
  27. "Component_[118112109106758324]": {
  28. "$type": "Print",
  29. "Id": 118112109106758324,
  30. "Slots": [
  31. {
  32. "id": {
  33. "m_id": "{C44268B1-A006-4FCB-82D4-F7A577E01069}"
  34. },
  35. "contracts": [
  36. {
  37. "$type": "SlotTypeContract"
  38. }
  39. ],
  40. "slotName": "In",
  41. "toolTip": "Input signal",
  42. "Descriptor": {
  43. "ConnectionType": 1,
  44. "SlotType": 1
  45. }
  46. },
  47. {
  48. "id": {
  49. "m_id": "{D5547717-64EA-4CB0-B158-B41403AA6D9D}"
  50. },
  51. "contracts": [
  52. {
  53. "$type": "SlotTypeContract"
  54. }
  55. ],
  56. "slotName": "Out",
  57. "Descriptor": {
  58. "ConnectionType": 2,
  59. "SlotType": 1
  60. }
  61. }
  62. ],
  63. "m_format": "hello",
  64. "m_unresolvedString": [
  65. "hello"
  66. ]
  67. }
  68. }
  69. },
  70. {
  71. "Id": {
  72. "id": 1204580734294062
  73. },
  74. "Name": "SC-Node(DeactivateGameEntity)",
  75. "Components": {
  76. "Component_[15284842551544298341]": {
  77. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  78. "Id": 15284842551544298341,
  79. "Slots": [
  80. {
  81. "id": {
  82. "m_id": "{0E8D0286-32E6-460A-9332-38F622F24AA4}"
  83. },
  84. "contracts": [
  85. {
  86. "$type": "SlotTypeContract"
  87. },
  88. null
  89. ],
  90. "slotName": "EntityID: 0",
  91. "Descriptor": {
  92. "ConnectionType": 1,
  93. "SlotType": 2
  94. },
  95. "DataType": 1
  96. },
  97. {
  98. "id": {
  99. "m_id": "{220D92D8-3D46-4353-B644-C55FBF27696C}"
  100. },
  101. "contracts": [
  102. {
  103. "$type": "SlotTypeContract"
  104. }
  105. ],
  106. "slotName": "In",
  107. "Descriptor": {
  108. "ConnectionType": 1,
  109. "SlotType": 1
  110. }
  111. },
  112. {
  113. "id": {
  114. "m_id": "{83F8CD15-CAA1-4581-99E7-863229B7EE1B}"
  115. },
  116. "contracts": [
  117. {
  118. "$type": "SlotTypeContract"
  119. }
  120. ],
  121. "slotName": "Out",
  122. "Descriptor": {
  123. "ConnectionType": 2,
  124. "SlotType": 1
  125. }
  126. }
  127. ],
  128. "Datums": [
  129. {
  130. "isOverloadedStorage": false,
  131. "scriptCanvasType": {
  132. "m_type": 1
  133. },
  134. "isNullPointer": false,
  135. "$type": "EntityId",
  136. "value": {
  137. "id": 2901262558
  138. },
  139. "label": "Entity Id"
  140. }
  141. ],
  142. "methodType": 0,
  143. "methodName": "DeactivateGameEntity",
  144. "className": "GameEntityContextRequestBus",
  145. "resultSlotIDs": [
  146. {}
  147. ],
  148. "prettyClassName": "GameEntityContextRequestBus"
  149. }
  150. }
  151. },
  152. {
  153. "Id": {
  154. "id": 1204576439326766
  155. },
  156. "Name": "SC-Node(Start)",
  157. "Components": {
  158. "Component_[18112026799980732484]": {
  159. "$type": "Start",
  160. "Id": 18112026799980732484,
  161. "Slots": [
  162. {
  163. "id": {
  164. "m_id": "{6614B5BA-EE5E-4C1F-A9BD-9AC3F226E24F}"
  165. },
  166. "contracts": [
  167. {
  168. "$type": "SlotTypeContract"
  169. }
  170. ],
  171. "slotName": "Out",
  172. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  173. "Descriptor": {
  174. "ConnectionType": 2,
  175. "SlotType": 1
  176. }
  177. }
  178. ]
  179. }
  180. }
  181. }
  182. ],
  183. "m_connections": [
  184. {
  185. "Id": {
  186. "id": 1204589324228654
  187. },
  188. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(DeactivateGameEntity: In)",
  189. "Components": {
  190. "Component_[5710321476789208503]": {
  191. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  192. "Id": 5710321476789208503,
  193. "sourceEndpoint": {
  194. "nodeId": {
  195. "id": 1204576439326766
  196. },
  197. "slotId": {
  198. "m_id": "{6614B5BA-EE5E-4C1F-A9BD-9AC3F226E24F}"
  199. }
  200. },
  201. "targetEndpoint": {
  202. "nodeId": {
  203. "id": 1204580734294062
  204. },
  205. "slotId": {
  206. "m_id": "{220D92D8-3D46-4353-B644-C55FBF27696C}"
  207. }
  208. }
  209. }
  210. }
  211. },
  212. {
  213. "Id": {
  214. "id": 1204593619195950
  215. },
  216. "Name": "srcEndpoint=(DeactivateGameEntity: Out), destEndpoint=(Print: In)",
  217. "Components": {
  218. "Component_[184419668071712197]": {
  219. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  220. "Id": 184419668071712197,
  221. "sourceEndpoint": {
  222. "nodeId": {
  223. "id": 1204580734294062
  224. },
  225. "slotId": {
  226. "m_id": "{83F8CD15-CAA1-4581-99E7-863229B7EE1B}"
  227. }
  228. },
  229. "targetEndpoint": {
  230. "nodeId": {
  231. "id": 1204585029261358
  232. },
  233. "slotId": {
  234. "m_id": "{C44268B1-A006-4FCB-82D4-F7A577E01069}"
  235. }
  236. }
  237. }
  238. }
  239. }
  240. ]
  241. },
  242. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  243. "versionData": {
  244. "_grammarVersion": 1,
  245. "_runtimeVersion": 1,
  246. "_fileVersion": 1
  247. },
  248. "GraphCanvasData": [
  249. {
  250. "Key": {
  251. "id": 1204572144359470
  252. },
  253. "Value": {
  254. "ComponentData": {
  255. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  256. "$type": "SceneComponentSaveData"
  257. }
  258. }
  259. }
  260. },
  261. {
  262. "Key": {
  263. "id": 1204576439326766
  264. },
  265. "Value": {
  266. "ComponentData": {
  267. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  268. "$type": "NodeSaveData"
  269. },
  270. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  271. "$type": "GeneralNodeTitleComponentSaveData",
  272. "PaletteOverride": "TimeNodeTitlePalette"
  273. },
  274. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  275. "$type": "GeometrySaveData",
  276. "Position": [
  277. 180.0,
  278. 20.0
  279. ]
  280. },
  281. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  282. "$type": "StylingComponentSaveData"
  283. },
  284. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  285. "$type": "PersistentIdComponentSaveData",
  286. "PersistentId": "{027830EC-7863-4239-B02A-3D466A37AAB4}"
  287. }
  288. }
  289. }
  290. },
  291. {
  292. "Key": {
  293. "id": 1204580734294062
  294. },
  295. "Value": {
  296. "ComponentData": {
  297. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  298. "$type": "NodeSaveData"
  299. },
  300. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  301. "$type": "GeneralNodeTitleComponentSaveData",
  302. "PaletteOverride": "MethodNodeTitlePalette"
  303. },
  304. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  305. "$type": "GeometrySaveData",
  306. "Position": [
  307. 400.0,
  308. -20.0
  309. ]
  310. },
  311. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  312. "$type": "StylingComponentSaveData",
  313. "SubStyle": ".method"
  314. },
  315. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  316. "$type": "PersistentIdComponentSaveData",
  317. "PersistentId": "{B6D271A7-15F9-4648-959B-23DF1039D6B6}"
  318. }
  319. }
  320. }
  321. },
  322. {
  323. "Key": {
  324. "id": 1204585029261358
  325. },
  326. "Value": {
  327. "ComponentData": {
  328. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  329. "$type": "NodeSaveData"
  330. },
  331. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  332. "$type": "GeneralNodeTitleComponentSaveData",
  333. "PaletteOverride": "StringNodeTitlePalette"
  334. },
  335. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  336. "$type": "GeometrySaveData",
  337. "Position": [
  338. 720.0,
  339. -20.0
  340. ]
  341. },
  342. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  343. "$type": "StylingComponentSaveData"
  344. },
  345. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  346. "$type": "PersistentIdComponentSaveData",
  347. "PersistentId": "{D16B0DC2-2EF4-4D09-9C55-94C4C6B6FBDA}"
  348. }
  349. }
  350. }
  351. }
  352. ],
  353. "StatisticsHelper": {
  354. "InstanceCounter": [
  355. {
  356. "Key": 4199610336680704683,
  357. "Value": 1
  358. },
  359. {
  360. "Key": 10684225535275896474,
  361. "Value": 1
  362. },
  363. {
  364. "Key": 13774516199848960378,
  365. "Value": 1
  366. }
  367. ]
  368. }
  369. }
  370. }
  371. }
  372. }
  373. }