deactivator.scriptcanvas 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 6234053533365
  9. },
  10. "Name": "deactivator",
  11. "Components": {
  12. "Component_[5047400886918920451]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 5047400886918920451
  15. },
  16. "Component_[758967886715766961]": {
  17. "$type": "EditorGraph",
  18. "Id": 758967886715766961,
  19. "m_graphData": {
  20. "m_nodes": [
  21. {
  22. "Id": {
  23. "id": 8287047900853
  24. },
  25. "Name": "EBusEventHandler",
  26. "Components": {
  27. "Component_[4147617437697355467]": {
  28. "$type": "EBusEventHandler",
  29. "Id": 4147617437697355467,
  30. "Slots": [
  31. {
  32. "id": {
  33. "m_id": "{DF92CFC4-963F-442E-B689-47A957B4121D}"
  34. },
  35. "contracts": [
  36. {
  37. "$type": "SlotTypeContract"
  38. }
  39. ],
  40. "slotName": "Connect",
  41. "toolTip": "Connect this event handler to the specified entity.",
  42. "Descriptor": {
  43. "ConnectionType": 1,
  44. "SlotType": 1
  45. }
  46. },
  47. {
  48. "id": {
  49. "m_id": "{E681E2EE-A8B4-4973-9754-0829C07B897A}"
  50. },
  51. "contracts": [
  52. {
  53. "$type": "SlotTypeContract"
  54. }
  55. ],
  56. "slotName": "Disconnect",
  57. "toolTip": "Disconnect this event handler.",
  58. "Descriptor": {
  59. "ConnectionType": 1,
  60. "SlotType": 1
  61. }
  62. },
  63. {
  64. "id": {
  65. "m_id": "{A811E715-9B9C-45D1-8FC8-B93C895872F5}"
  66. },
  67. "contracts": [
  68. {
  69. "$type": "SlotTypeContract"
  70. }
  71. ],
  72. "slotName": "OnConnected",
  73. "toolTip": "Signaled when a connection has taken place.",
  74. "Descriptor": {
  75. "ConnectionType": 2,
  76. "SlotType": 1
  77. }
  78. },
  79. {
  80. "id": {
  81. "m_id": "{10194FFC-1F30-4F9A-A921-9928FD4EC9D1}"
  82. },
  83. "contracts": [
  84. {
  85. "$type": "SlotTypeContract"
  86. }
  87. ],
  88. "slotName": "OnDisconnected",
  89. "toolTip": "Signaled when this event handler is disconnected.",
  90. "Descriptor": {
  91. "ConnectionType": 2,
  92. "SlotType": 1
  93. }
  94. },
  95. {
  96. "id": {
  97. "m_id": "{EFF0F7CF-B311-4DBB-883B-7E30D30EFFB7}"
  98. },
  99. "contracts": [
  100. {
  101. "$type": "SlotTypeContract"
  102. }
  103. ],
  104. "slotName": "OnFailure",
  105. "toolTip": "Signaled when it is not possible to connect this handler.",
  106. "Descriptor": {
  107. "ConnectionType": 2,
  108. "SlotType": 1
  109. }
  110. },
  111. {
  112. "id": {
  113. "m_id": "{656B53E1-C197-4309-A8EC-C519C7DF8513}"
  114. },
  115. "contracts": [
  116. {
  117. "$type": "SlotTypeContract"
  118. }
  119. ],
  120. "slotName": "Source",
  121. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  122. "Descriptor": {
  123. "ConnectionType": 1,
  124. "SlotType": 2
  125. },
  126. "DataType": 1
  127. },
  128. {
  129. "id": {
  130. "m_id": "{65F02D71-BDD2-45A1-9B2F-722E39AF8E7F}"
  131. },
  132. "contracts": [
  133. {
  134. "$type": "SlotTypeContract"
  135. }
  136. ],
  137. "slotName": "EntityId",
  138. "DisplayDataType": {
  139. "m_type": 1
  140. },
  141. "Descriptor": {
  142. "ConnectionType": 2,
  143. "SlotType": 2
  144. },
  145. "DataType": 1
  146. },
  147. {
  148. "id": {
  149. "m_id": "{5417C856-7001-4D68-BAA2-5348D8C34E5E}"
  150. },
  151. "contracts": [
  152. {
  153. "$type": "SlotTypeContract"
  154. }
  155. ],
  156. "slotName": "ExecutionSlot:OnEntityActivated",
  157. "Descriptor": {
  158. "ConnectionType": 2,
  159. "SlotType": 1
  160. },
  161. "IsLatent": true
  162. },
  163. {
  164. "id": {
  165. "m_id": "{713E35E8-D42B-44E8-8E93-78CE8C463DF5}"
  166. },
  167. "contracts": [
  168. {
  169. "$type": "SlotTypeContract"
  170. }
  171. ],
  172. "slotName": "EntityId",
  173. "DisplayDataType": {
  174. "m_type": 1
  175. },
  176. "Descriptor": {
  177. "ConnectionType": 2,
  178. "SlotType": 2
  179. },
  180. "DataType": 1
  181. },
  182. {
  183. "id": {
  184. "m_id": "{0067480C-1066-4224-852C-295BD282BF63}"
  185. },
  186. "contracts": [
  187. {
  188. "$type": "SlotTypeContract"
  189. }
  190. ],
  191. "slotName": "ExecutionSlot:OnEntityDeactivated",
  192. "Descriptor": {
  193. "ConnectionType": 2,
  194. "SlotType": 1
  195. },
  196. "IsLatent": true
  197. }
  198. ],
  199. "Datums": [
  200. {
  201. "isOverloadedStorage": false,
  202. "scriptCanvasType": {
  203. "m_type": 1
  204. },
  205. "isNullPointer": false,
  206. "$type": "EntityId",
  207. "value": {
  208. "id": 2901262558
  209. }
  210. }
  211. ],
  212. "m_eventMap": [
  213. {
  214. "Key": {
  215. "Value": 245425936
  216. },
  217. "Value": {
  218. "m_eventName": "OnEntityActivated",
  219. "m_eventId": {
  220. "Value": 245425936
  221. },
  222. "m_eventSlotId": {
  223. "m_id": "{5417C856-7001-4D68-BAA2-5348D8C34E5E}"
  224. },
  225. "m_parameterSlotIds": [
  226. {
  227. "m_id": "{65F02D71-BDD2-45A1-9B2F-722E39AF8E7F}"
  228. }
  229. ],
  230. "m_numExpectedArguments": 1
  231. }
  232. },
  233. {
  234. "Key": {
  235. "Value": 4273369222
  236. },
  237. "Value": {
  238. "m_eventName": "OnEntityDeactivated",
  239. "m_eventId": {
  240. "Value": 4273369222
  241. },
  242. "m_eventSlotId": {
  243. "m_id": "{0067480C-1066-4224-852C-295BD282BF63}"
  244. },
  245. "m_parameterSlotIds": [
  246. {
  247. "m_id": "{713E35E8-D42B-44E8-8E93-78CE8C463DF5}"
  248. }
  249. ],
  250. "m_numExpectedArguments": 1
  251. }
  252. }
  253. ],
  254. "m_ebusName": "EntityBus",
  255. "m_busId": {
  256. "Value": 3358774020
  257. }
  258. }
  259. }
  260. },
  261. {
  262. "Id": {
  263. "id": 9712977043125
  264. },
  265. "Name": "SC-Node(Print)",
  266. "Components": {
  267. "Component_[8572663595306275563]": {
  268. "$type": "Print",
  269. "Id": 8572663595306275563,
  270. "Slots": [
  271. {
  272. "id": {
  273. "m_id": "{4CCDD506-6B6D-43EE-A520-670E4B876A21}"
  274. },
  275. "contracts": [
  276. {
  277. "$type": "SlotTypeContract"
  278. }
  279. ],
  280. "slotName": "In",
  281. "toolTip": "Input signal",
  282. "Descriptor": {
  283. "ConnectionType": 1,
  284. "SlotType": 1
  285. }
  286. },
  287. {
  288. "id": {
  289. "m_id": "{5BB9CE1D-0EF9-45C3-BF1C-CE22F332EDC3}"
  290. },
  291. "contracts": [
  292. {
  293. "$type": "SlotTypeContract"
  294. }
  295. ],
  296. "slotName": "Out",
  297. "Descriptor": {
  298. "ConnectionType": 2,
  299. "SlotType": 1
  300. }
  301. }
  302. ],
  303. "m_format": "Deactivator Script: Deactivated",
  304. "m_unresolvedString": [
  305. "Deactivator Script: Deactivated"
  306. ]
  307. }
  308. }
  309. }
  310. ],
  311. "m_connections": [
  312. {
  313. "Id": {
  314. "id": 10434531548853
  315. },
  316. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityDeactivated), destEndpoint=(Print: In)",
  317. "Components": {
  318. "Component_[536323653312435258]": {
  319. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  320. "Id": 536323653312435258,
  321. "sourceEndpoint": {
  322. "nodeId": {
  323. "id": 8287047900853
  324. },
  325. "slotId": {
  326. "m_id": "{0067480C-1066-4224-852C-295BD282BF63}"
  327. }
  328. },
  329. "targetEndpoint": {
  330. "nodeId": {
  331. "id": 9712977043125
  332. },
  333. "slotId": {
  334. "m_id": "{4CCDD506-6B6D-43EE-A520-670E4B876A21}"
  335. }
  336. }
  337. }
  338. }
  339. }
  340. ]
  341. },
  342. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  343. "versionData": {
  344. "_grammarVersion": 1,
  345. "_runtimeVersion": 1,
  346. "_fileVersion": 1
  347. },
  348. "GraphCanvasData": [
  349. {
  350. "Key": {
  351. "id": 6234053533365
  352. },
  353. "Value": {
  354. "ComponentData": {
  355. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  356. "$type": "SceneComponentSaveData"
  357. }
  358. }
  359. }
  360. },
  361. {
  362. "Key": {
  363. "id": 8287047900853
  364. },
  365. "Value": {
  366. "ComponentData": {
  367. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  368. "$type": "NodeSaveData"
  369. },
  370. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  371. "$type": "GeometrySaveData",
  372. "Position": [
  373. 0.0,
  374. 120.0
  375. ]
  376. },
  377. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  378. "$type": "EBusHandlerNodeDescriptorSaveData",
  379. "EventIds": [
  380. {
  381. "Value": 4273369222
  382. }
  383. ]
  384. },
  385. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  386. "$type": "StylingComponentSaveData"
  387. },
  388. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  389. "$type": "PersistentIdComponentSaveData",
  390. "PersistentId": "{445434D7-B0E1-4B82-BF5D-F03F944CFC2E}"
  391. }
  392. }
  393. }
  394. },
  395. {
  396. "Key": {
  397. "id": 9712977043125
  398. },
  399. "Value": {
  400. "ComponentData": {
  401. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  402. "$type": "NodeSaveData"
  403. },
  404. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  405. "$type": "GeneralNodeTitleComponentSaveData",
  406. "PaletteOverride": "StringNodeTitlePalette"
  407. },
  408. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  409. "$type": "GeometrySaveData",
  410. "Position": [
  411. 400.0,
  412. 160.0
  413. ]
  414. },
  415. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  416. "$type": "StylingComponentSaveData"
  417. },
  418. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  419. "$type": "PersistentIdComponentSaveData",
  420. "PersistentId": "{E11EC8DB-EDE0-44C2-825C-E4E3F84E1C52}"
  421. }
  422. }
  423. }
  424. }
  425. ],
  426. "StatisticsHelper": {
  427. "InstanceCounter": [
  428. {
  429. "Key": 5842116757075334384,
  430. "Value": 1
  431. },
  432. {
  433. "Key": 10684225535275896474,
  434. "Value": 1
  435. }
  436. ]
  437. }
  438. }
  439. }
  440. }
  441. }
  442. }