You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/AutomatedTesting/ScriptCanvas/ScriptCanvas_CollisionEvent...

913 lines
53 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "ScriptCanvasData",
"ClassData": {
"m_scriptCanvas": {
"Id": {
"id": 4583254586169
},
"Name": "ScriptCanvas_CollisionEvents",
"Components": {
"Component_[12571265947277778453]": {
"$type": "EditorGraphVariableManagerComponent",
"Id": 12571265947277778453
},
"Component_[15493966824127390493]": {
"$type": "{4D755CA9-AB92-462C-B24F-0B3376F19967} Graph",
"Id": 15493966824127390493,
"m_graphData": {
"m_nodes": [
{
"Id": {
"id": 4587549553465
},
"Name": "SC-Node(GetOnCollisionBeginEvent)",
"Components": {
"Component_[12589909704657058408]": {
"$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
"Id": 12589909704657058408,
"Slots": [
{
"id": {
"m_id": "{BAC1399F-275D-4A4E-8505-B93EEA9110F3}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "EntityID: 0",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 2
},
"DataType": 1
},
{
"id": {
"m_id": "{7C152057-FC56-4A2F-B8F7-39EA3FC2C7CC}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "In",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 1
}
},
{
"id": {
"m_id": "{EE4FD45A-25B2-4FA9-B90C-0F40F34BDB65}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Out",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
},
{
"id": {
"m_id": "{15B97793-03A4-48E8-B33D-2FE937A68EB3}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Result: Event<tuple<Crc32 int > const CollisionEvent& >",
"DisplayDataType": {
"m_type": 4,
"m_azType": "{4C19E257-F929-524E-80E3-C910C5F3E2D9}"
},
"Descriptor": {
"ConnectionType": 2,
"SlotType": 2
},
"DataType": 1
}
],
"Datums": [
{
"scriptCanvasType": {
"m_type": 1
},
"isNullPointer": false,
"$type": "EntityId",
"value": {
"id": 2901262558
},
"label": "EntityID: 0"
}
],
"methodType": 2,
"methodName": "GetOnCollisionBeginEvent",
"className": "SimulatedBody",
"resultSlotIDs": [
{}
],
"inputSlots": [
{
"m_id": "{BAC1399F-275D-4A4E-8505-B93EEA9110F3}"
}
],
"prettyClassName": "SimulatedBody"
}
}
},
{
"Id": {
"id": 4591844520761
},
"Name": "SC-EventNode(On Collision Begin event)",
"Components": {
"Component_[13415238770543431567]": {
"$type": "AzEventHandler",
"Id": 13415238770543431567,
"Slots": [
{
"id": {
"m_id": "{B595F7A6-279A-4073-9FA3-BF7204B5CF56}"
},
"contracts": [
{
"$type": "SlotTypeContract"
},
{
"$type": "ConnectionLimitContract",
"limit": 1
},
{
"$type": "RestrictedNodeContract",
"m_nodeId": {
"id": 4587549553465
}
}
],
"slotName": "Connect",
"toolTip": "Connect the AZ Event to this AZ Event Handler.",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 1
}
},
{
"id": {
"m_id": "{3B95CA51-5B19-45CB-A66E-A066E0A179D0}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Disconnect",
"toolTip": "Disconnect current AZ Event from this AZ Event Handler.",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 1
}
},
{
"id": {
"m_id": "{0C147590-43C8-4A86-AF32-781B62FDAFEB}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "On Connected",
"toolTip": "Signaled when a connection has taken place.",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
},
{
"id": {
"m_id": "{E99C6D6D-8BDC-4B45-9AE0-BE23B5CE0CAA}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "On Disconnected",
"toolTip": "Signaled when this event handler is disconnected.",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
},
{
"id": {
"m_id": "{09F80679-193F-46EB-9D93-7FB36EA7AD1B}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "OnEvent",
"toolTip": "Triggered when the AZ Event invokes Signal() function.",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
},
"IsLatent": true
},
{
"id": {
"m_id": "{56C062DB-D1D6-4CE1-AD9C-D5AABC086649}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Simulated Body Handle",
"DisplayDataType": {
"m_type": 4,
"m_azType": "{53C0CD3E-D0FC-5D90-9E9B-EF364D430B08}"
},
"Descriptor": {
"ConnectionType": 2,
"SlotType": 2
},
"DataType": 1
},
{
"id": {
"m_id": "{479BC6EC-DA3E-4D77-BDBF-455AFB467892}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Collision Event",
"DisplayDataType": {
"m_type": 4,
"m_azType": "{7602AA36-792C-4BDC-BDF8-AA16792151A3}"
},
"Descriptor": {
"ConnectionType": 2,
"SlotType": 2
},
"DataType": 1
},
{
"id": {
"m_id": "{413D67D3-A75D-471F-9144-02C0081D67B5}"
},
"contracts": [
{
"$type": "SlotTypeContract"
},
{
"$type": "ConnectionLimitContract",
"limit": 1
},
{
"$type": "RestrictedNodeContract",
"m_nodeId": {
"id": 4587549553465
}
}
],
"slotName": "On Collision Begin event",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 2
},
"DataType": 1
}
],
"Datums": [
{}
],
"m_azEventEntry": {
"m_eventName": "On Collision Begin event",
"m_parameterSlotIds": [
{
"m_id": "{56C062DB-D1D6-4CE1-AD9C-D5AABC086649}"
},
{
"m_id": "{479BC6EC-DA3E-4D77-BDBF-455AFB467892}"
},
{
"m_id": "{56C062DB-D1D6-4CE1-AD9C-D5AABC086649}"
},
{
"m_id": "{479BC6EC-DA3E-4D77-BDBF-455AFB467892}"
}
],
"m_parameterNames": [
{
"m_id": "{56C062DB-D1D6-4CE1-AD9C-D5AABC086649}"
},
{
"m_id": "{479BC6EC-DA3E-4D77-BDBF-455AFB467892}"
},
{
"m_id": "{56C062DB-D1D6-4CE1-AD9C-D5AABC086649}"
},
{
"m_id": "{479BC6EC-DA3E-4D77-BDBF-455AFB467892}"
}
],
"m_eventSlotId": {
"m_id": "{413D67D3-A75D-471F-9144-02C0081D67B5}"
}
}
}
}
},
{
"Id": {
"id": 4596139488057
},
"Name": "SC-Node(Print)",
"Components": {
"Component_[3873604258870698857]": {
"$type": "Print",
"Id": 3873604258870698857,
"Slots": [
{
"id": {
"m_id": "{DC449AA6-B928-40D2-8AB8-9ADA4518D48C}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "In",
"toolTip": "Input signal",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 1
}
},
{
"id": {
"m_id": "{C4B28E26-1865-4E0F-98AA-606D51AEA836}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Out",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
}
],
"m_format": "Hello",
"m_unresolvedString": [
"Hello"
]
}
}
},
{
"Id": {
"id": 4600434455353
},
"Name": "EBusEventHandler",
"Components": {
"Component_[534992545663306303]": {
"$type": "EBusEventHandler",
"Id": 534992545663306303,
"Slots": [
{
"id": {
"m_id": "{48B102AA-CBFD-47E9-BBFB-421BF6AC4DA6}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Connect",
"toolTip": "Connect this event handler to the specified entity.",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 1
}
},
{
"id": {
"m_id": "{B862A4E4-983D-4168-8307-FD36CA2F3742}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Disconnect",
"toolTip": "Disconnect this event handler.",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 1
}
},
{
"id": {
"m_id": "{C2D1495A-4096-4816-A9B3-2672C5368EAC}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "OnConnected",
"toolTip": "Signaled when a connection has taken place.",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
},
{
"id": {
"m_id": "{60AECA81-933F-45C8-970B-DF304F4AEFE0}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "OnDisconnected",
"toolTip": "Signaled when this event handler is disconnected.",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
},
{
"id": {
"m_id": "{81431B9B-9159-4FE8-AD1C-0703478FEB68}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "OnFailure",
"toolTip": "Signaled when it is not possible to connect this handler.",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
}
},
{
"id": {
"m_id": "{31D58F4D-AEB7-4725-AFB6-529D820F50F1}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "Source",
"toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
"Descriptor": {
"ConnectionType": 1,
"SlotType": 2
},
"DataType": 1
},
{
"id": {
"m_id": "{9D40D728-8B88-454C-89B9-3B3B049F0A09}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "EntityID",
"DisplayDataType": {
"m_type": 1
},
"Descriptor": {
"ConnectionType": 2,
"SlotType": 2
},
"DataType": 1
},
{
"id": {
"m_id": "{4B3378FE-AA4E-4BE9-B961-95CE2216F586}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "ExecutionSlot:OnEntityActivated",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
},
"IsLatent": true
},
{
"id": {
"m_id": "{45FC446A-4202-4027-A32B-B7E2C51CEDC2}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "EntityID",
"DisplayDataType": {
"m_type": 1
},
"Descriptor": {
"ConnectionType": 2,
"SlotType": 2
},
"DataType": 1
},
{
"id": {
"m_id": "{EAE4A41C-256E-4824-ACC8-E39D53F458CD}"
},
"contracts": [
{
"$type": "SlotTypeContract"
}
],
"slotName": "ExecutionSlot:OnEntityDeactivated",
"Descriptor": {
"ConnectionType": 2,
"SlotType": 1
},
"IsLatent": true
}
],
"Datums": [
{
"scriptCanvasType": {
"m_type": 1
},
"isNullPointer": false,
"$type": "EntityId",
"value": {
"id": 2901262558
},
"label": "Source"
}
],
"m_eventMap": [
{
"Key": {
"Value": 245425936
},
"Value": {
"m_eventName": "OnEntityActivated",
"m_eventId": {
"Value": 245425936
},
"m_eventSlotId": {
"m_id": "{4B3378FE-AA4E-4BE9-B961-95CE2216F586}"
},
"m_parameterSlotIds": [
{
"m_id": "{9D40D728-8B88-454C-89B9-3B3B049F0A09}"
}
],
"m_numExpectedArguments": 1
}
},
{
"Key": {
"Value": 4273369222
},
"Value": {
"m_eventName": "OnEntityDeactivated",
"m_eventId": {
"Value": 4273369222
},
"m_eventSlotId": {
"m_id": "{EAE4A41C-256E-4824-ACC8-E39D53F458CD}"
},
"m_parameterSlotIds": [
{
"m_id": "{45FC446A-4202-4027-A32B-B7E2C51CEDC2}"
}
],
"m_numExpectedArguments": 1
}
}
],
"m_ebusName": "EntityBus",
"m_busId": {
"Value": 3358774020
}
}
}
}
],
"m_connections": [
{
"Id": {
"id": 4604729422649
},
"Name": "srcEndpoint=(GetOnCollisionBeginEvent: Result: Event<tuple<Crc32 int > const CollisionEvent& >), destEndpoint=(On Collision Begin event: On Collision Begin event)",
"Components": {
"Component_[9532858041021641376]": {
"$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
"Id": 9532858041021641376,
"sourceEndpoint": {
"nodeId": {
"id": 4587549553465
},
"slotId": {
"m_id": "{15B97793-03A4-48E8-B33D-2FE937A68EB3}"
}
},
"targetEndpoint": {
"nodeId": {
"id": 4591844520761
},
"slotId": {
"m_id": "{413D67D3-A75D-471F-9144-02C0081D67B5}"
}
}
}
}
},
{
"Id": {
"id": 4609024389945
},
"Name": "srcEndpoint=(GetOnCollisionBeginEvent: Out), destEndpoint=(On Collision Begin event: Connect)",
"Components": {
"Component_[6186741522410286164]": {
"$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
"Id": 6186741522410286164,
"sourceEndpoint": {
"nodeId": {
"id": 4587549553465
},
"slotId": {
"m_id": "{EE4FD45A-25B2-4FA9-B90C-0F40F34BDB65}"
}
},
"targetEndpoint": {
"nodeId": {
"id": 4591844520761
},
"slotId": {
"m_id": "{B595F7A6-279A-4073-9FA3-BF7204B5CF56}"
}
}
}
}
},
{
"Id": {
"id": 4613319357241
},
"Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(GetOnCollisionBeginEvent: In)",
"Components": {
"Component_[13280424214254579514]": {
"$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
"Id": 13280424214254579514,
"sourceEndpoint": {
"nodeId": {
"id": 4600434455353
},
"slotId": {
"m_id": "{4B3378FE-AA4E-4BE9-B961-95CE2216F586}"
}
},
"targetEndpoint": {
"nodeId": {
"id": 4587549553465
},
"slotId": {
"m_id": "{7C152057-FC56-4A2F-B8F7-39EA3FC2C7CC}"
}
}
}
}
},
{
"Id": {
"id": 4617614324537
},
"Name": "srcEndpoint=(On Collision Begin event: OnEvent), destEndpoint=(Print: In)",
"Components": {
"Component_[8114978170302224802]": {
"$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
"Id": 8114978170302224802,
"sourceEndpoint": {
"nodeId": {
"id": 4591844520761
},
"slotId": {
"m_id": "{09F80679-193F-46EB-9D93-7FB36EA7AD1B}"
}
},
"targetEndpoint": {
"nodeId": {
"id": 4596139488057
},
"slotId": {
"m_id": "{DC449AA6-B928-40D2-8AB8-9ADA4518D48C}"
}
}
}
}
}
]
},
"m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
"versionData": {
"_grammarVersion": 1,
"_runtimeVersion": 1
},
"GraphCanvasData": [
{
"Key": {
"id": 4583254586169
},
"Value": {
"ComponentData": {
"{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
"$type": "SceneComponentSaveData",
"ViewParams": {
"Scale": 0.6925797995160841,
"AnchorX": -306.1018981933594,
"AnchorY": -326.3161926269531
}
}
}
}
},
{
"Key": {
"id": 4587549553465
},
"Value": {
"ComponentData": {
"{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
"$type": "NodeSaveData"
},
"{328FF15C-C302-458F-A43D-E1794DE0904E}": {
"$type": "GeneralNodeTitleComponentSaveData",
"PaletteOverride": "MethodNodeTitlePalette"
},
"{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
"$type": "GeometrySaveData",
"Position": [
80.0,
0.0
]
},
"{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
"$type": "StylingComponentSaveData",
"SubStyle": ".method"
},
"{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
"$type": "PersistentIdComponentSaveData",
"PersistentId": "{F33AF9D4-77BF-4027-AF45-FC9282E9220E}"
}
}
}
},
{
"Key": {
"id": 4591844520761
},
"Value": {
"ComponentData": {
"{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
"$type": "NodeSaveData"
},
"{328FF15C-C302-458F-A43D-E1794DE0904E}": {
"$type": "GeneralNodeTitleComponentSaveData",
"PaletteOverride": "HandlerNodeTitlePalette"
},
"{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
"$type": "GeometrySaveData",
"Position": [
680.0,
-20.0
]
},
"{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
"$type": "StylingComponentSaveData",
"SubStyle": ".azeventhandler"
},
"{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
"$type": "PersistentIdComponentSaveData",
"PersistentId": "{F0D734ED-0ED0-46BC-9E27-F384FC04D1CF}"
}
}
}
},
{
"Key": {
"id": 4596139488057
},
"Value": {
"ComponentData": {
"{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
"$type": "NodeSaveData"
},
"{328FF15C-C302-458F-A43D-E1794DE0904E}": {
"$type": "GeneralNodeTitleComponentSaveData",
"PaletteOverride": "StringNodeTitlePalette"
},
"{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
"$type": "GeometrySaveData",
"Position": [
1180.0,
-20.0
]
},
"{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
"$type": "StylingComponentSaveData"
},
"{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
"$type": "PersistentIdComponentSaveData",
"PersistentId": "{F77C15FE-3EC9-4F53-A226-0C97F09C5DF6}"
}
}
}
},
{
"Key": {
"id": 4600434455353
},
"Value": {
"ComponentData": {
"{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
"$type": "NodeSaveData"
},
"{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
"$type": "GeometrySaveData",
"Position": [
-240.0,
-60.0
]
},
"{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
"$type": "EBusHandlerNodeDescriptorSaveData",
"EventIds": [
{
"Value": 245425936
}
]
},
"{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
"$type": "StylingComponentSaveData"
},
"{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
"$type": "PersistentIdComponentSaveData",
"PersistentId": "{A0D0CB4B-7F74-458B-AEBD-518270413AB0}"
}
}
}
}
],
"StatisticsHelper": {
"InstanceCounter": [
{
"Key": 191865528901450421,
"Value": 1
},
{
"Key": 4847610523576971761,
"Value": 1
},
{
"Key": 5842116761103598202,
"Value": 1
},
{
"Key": 10684225535275896474,
"Value": 1
}
]
}
}
}
}
}
}