{ "Type": "JsonSerialization", "Version": 1, "ClassName": "ScriptCanvasData", "ClassData": { "m_scriptCanvas": { "Id": { "id": 457419633547310 }, "Name": "LY_SC_UnitTest_NodeableDuration", "Components": { "Component_[16299685001553620433]": { "$type": "EditorGraph", "Id": 16299685001553620433, "m_graphData": { "m_nodes": [ { "Id": { "id": 457436813416494 }, "Name": "SC-Node(Start)", "Components": { "Component_[10185042153175879127]": { "$type": "Start", "Id": 10185042153175879127, "Slots": [ { "id": { "m_id": "{777A42C5-7523-4A9B-B895-AEA988E4FFA4}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "toolTip": "Signaled when the entity that owns this graph is fully activated.", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ] } } }, { "Id": { "id": 457432518449198 }, "Name": "SC-Node(DurationNodeableNode)", "Components": { "Component_[2935775384873094460]": { "$type": "DurationNodeableNode", "Id": 2935775384873094460, "Slots": [ { "id": { "m_id": "{2568E352-1714-4776-9BBB-2C90C07BAB97}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Start", "toolTip": "Starts the countdown", "DisplayGroup": { "Value": 2675529103 }, "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{B24B2819-4DE4-4FD3-AF3D-4836C2A2CD7E}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Duration", "DisplayGroup": { "Value": 2675529103 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1, "IsReference": true, "VariableReference": { "m_id": "{501F097D-54AE-4EA8-B771-3A8A5655A33E}" } }, { "id": { "m_id": "{F53A9101-8D1F-4C74-9F84-3D1990E1CE39}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "On Start", "toolTip": "Starts the countdown", "DisplayGroup": { "Value": 2675529103 }, "Descriptor": { "ConnectionType": 2, "SlotType": 1 } }, { "id": { "m_id": "{EA0B313E-9602-42A3-B073-085304D1DA06}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "On Tick", "toolTip": "Signaled every frame while the duration is active.", "DisplayGroup": { "Value": 608626060 }, "Descriptor": { "ConnectionType": 2, "SlotType": 1 }, "IsLatent": true }, { "id": { "m_id": "{C04B947C-9310-4856-A744-3DA6ADFB1A1B}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Elapsed", "toolTip": "The amount of time that has elapsed since the countdown began.", "DisplayDataType": { "m_type": 3 }, "DisplayGroup": { "Value": 608626060 }, "Descriptor": { "ConnectionType": 2, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{DB75A95D-9E4B-40BB-B1D1-9448FD769059}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Done", "toolTip": "Signaled once the duration is complete.", "DisplayGroup": { "Value": 271442091 }, "Descriptor": { "ConnectionType": 2, "SlotType": 1 }, "IsLatent": true } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 0.0, "label": "Duration" } ], "slotExecutionMap": { "ins": [ { "_slotId": { "m_id": "{2568E352-1714-4776-9BBB-2C90C07BAB97}" }, "_inputs": [ { "_slotId": { "m_id": "{B24B2819-4DE4-4FD3-AF3D-4836C2A2CD7E}" } } ], "_outs": [ { "_slotId": { "m_id": "{F53A9101-8D1F-4C74-9F84-3D1990E1CE39}" }, "_name": "On Start", "_interfaceSourceId": "{06000000-0000-0000-0F00-000000000000}" } ], "_interfaceSourceId": "{00000000-0000-0000-4070-AF85CA000000}" } ], "latents": [ { "_slotId": { "m_id": "{EA0B313E-9602-42A3-B073-085304D1DA06}" }, "_name": "On Tick", "_outputs": [ { "_slotId": { "m_id": "{C04B947C-9310-4856-A744-3DA6ADFB1A1B}" } } ], "_interfaceSourceId": "{00000000-0000-0000-4070-AF85CA000000}" }, { "_slotId": { "m_id": "{DB75A95D-9E4B-40BB-B1D1-9448FD769059}" }, "_name": "Done", "_interfaceSourceId": "{00000000-0000-0000-4070-AF85CA000000}" } ] } } } }, { "Id": { "id": 457428223481902 }, "Name": "SC-Node(Expect Less Than)", "Components": { "Component_[7985011840759293579]": { "$type": "MethodOverloaded", "Id": 7985011840759293579, "Slots": [ { "isVisibile": false, "id": { "m_id": "{AC1BA11E-5A41-436C-8C11-B5BE096902D8}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "EntityID: 0", "DisplayDataType": { "m_type": 1 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "IsOverload": true, "id": { "m_id": "{750D4571-3A8B-4065-A47C-B87A312D6529}" }, "DynamicTypeOverride": 3, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Candidate", "toolTip": "left of <", "DisplayDataType": { "m_type": 3 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "IsOverload": true, "id": { "m_id": "{78AF6D57-129B-4A26-9E91-4325AE8F04DE}" }, "DynamicTypeOverride": 3, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Reference", "toolTip": "right of <", "DisplayDataType": { "m_type": 3 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1, "IsReference": true, "VariableReference": { "m_id": "{501F097D-54AE-4EA8-B771-3A8A5655A33E}" } }, { "id": { "m_id": "{C3FA9D16-B7A9-43AB-A26A-885AFE1F223D}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Report", "toolTip": "additional notes for the test report", "DisplayDataType": { "m_type": 5 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{3D75745E-EC87-49A5-A68C-B6A63D7CEDF4}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{4430210B-4455-40AF-9093-383A17F6C02E}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 1 }, "isNullPointer": false, "$type": "EntityId", "value": { "id": 4276206253 }, "label": "EntityID: 0" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 0.0, "label": "Candidate" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 0.0, "label": "Reference" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 5 }, "isNullPointer": false, "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", "value": "Elapsed should be less than duration", "label": "Report" } ], "methodType": 2, "methodName": "Expect Less Than", "className": "Unit Testing", "resultSlotIDs": [ {} ], "prettyClassName": "Unit Testing", "orderedInputSlotIds": [ { "m_id": "{AC1BA11E-5A41-436C-8C11-B5BE096902D8}" }, { "m_id": "{750D4571-3A8B-4065-A47C-B87A312D6529}" }, { "m_id": "{78AF6D57-129B-4A26-9E91-4325AE8F04DE}" }, { "m_id": "{C3FA9D16-B7A9-43AB-A26A-885AFE1F223D}" } ] } } }, { "Id": { "id": 457423928514606 }, "Name": "SC-Node(Mark Complete)", "Components": { "Component_[8020368585124730589]": { "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method", "Id": 8020368585124730589, "Slots": [ { "isVisibile": false, "id": { "m_id": "{6882FC83-2488-4E72-9C35-E7AC514576F3}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "EntityID: 0", "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{C93B954A-91E0-4F78-9FD9-88E80D2E48A0}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Report", "toolTip": "additional notes for the test report", "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{3BACA73A-3EFA-4A95-81FB-C0A017B7126B}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{6AD34586-32AA-4470-8639-C2138FC61D51}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 1 }, "isNullPointer": false, "$type": "EntityId", "value": { "id": 4276206253 } }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 5 }, "isNullPointer": false, "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", "value": "Duration test complete", "label": "Report" } ], "methodType": 2, "methodName": "Mark Complete", "className": "Unit Testing", "resultSlotIDs": [ {} ], "prettyClassName": "Unit Testing" } } } ], "m_connections": [ { "Id": { "id": 457441108383790 }, "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Duration: Start)", "Components": { "Component_[9641441292930050158]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 9641441292930050158, "sourceEndpoint": { "nodeId": { "id": 457436813416494 }, "slotId": { "m_id": "{777A42C5-7523-4A9B-B895-AEA988E4FFA4}" } }, "targetEndpoint": { "nodeId": { "id": 457432518449198 }, "slotId": { "m_id": "{2568E352-1714-4776-9BBB-2C90C07BAB97}" } } } } }, { "Id": { "id": 457445403351086 }, "Name": "srcEndpoint=(Duration: On Tick), destEndpoint=(Expect Less Than: In)", "Components": { "Component_[11198507923036173157]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 11198507923036173157, "sourceEndpoint": { "nodeId": { "id": 457432518449198 }, "slotId": { "m_id": "{EA0B313E-9602-42A3-B073-085304D1DA06}" } }, "targetEndpoint": { "nodeId": { "id": 457428223481902 }, "slotId": { "m_id": "{3D75745E-EC87-49A5-A68C-B6A63D7CEDF4}" } } } } }, { "Id": { "id": 457449698318382 }, "Name": "srcEndpoint=(Duration: Elapsed), destEndpoint=(Expect Less Than: Candidate)", "Components": { "Component_[11240008464039303130]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 11240008464039303130, "sourceEndpoint": { "nodeId": { "id": 457432518449198 }, "slotId": { "m_id": "{C04B947C-9310-4856-A744-3DA6ADFB1A1B}" } }, "targetEndpoint": { "nodeId": { "id": 457428223481902 }, "slotId": { "m_id": "{750D4571-3A8B-4065-A47C-B87A312D6529}" } } } } }, { "Id": { "id": 457453993285678 }, "Name": "srcEndpoint=(Duration: Done), destEndpoint=(Mark Complete: In)", "Components": { "Component_[2840274115192058501]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 2840274115192058501, "sourceEndpoint": { "nodeId": { "id": 457432518449198 }, "slotId": { "m_id": "{DB75A95D-9E4B-40BB-B1D1-9448FD769059}" } }, "targetEndpoint": { "nodeId": { "id": 457423928514606 }, "slotId": { "m_id": "{3BACA73A-3EFA-4A95-81FB-C0A017B7126B}" } } } } } ] }, "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}", "versionData": { "_grammarVersion": 1, "_runtimeVersion": 1, "_fileVersion": 1 }, "m_variableCounter": 2, "GraphCanvasData": [ { "Key": { "id": 457419633547310 }, "Value": { "ComponentData": { "{5F84B500-8C45-40D1-8EFC-A5306B241444}": { "$type": "SceneComponentSaveData", "ViewParams": { "Scale": 1.1102232, "AnchorX": -240.4921875, "AnchorY": -208.9669952392578 } } } } }, { "Key": { "id": 457423928514606 }, "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": [ 580.0, 320.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".method" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{3E1D40A5-FFB3-4043-A3BF-BE46553FD063}" } } } }, { "Key": { "id": 457428223481902 }, "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": [ 580.0, 100.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".method" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{9126ECA3-6708-4688-AE7B-674F01F26D11}" } } } }, { "Key": { "id": 457432518449198 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "TimeNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 80.0, 60.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{5AC117CB-4577-43A5-9FFE-1CD06E561C0D}" } } } }, { "Key": { "id": 457436813416494 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "TimeNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ -180.0, 40.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{A433B1A3-64BC-4FEF-9257-2948101C6865}" } } } } ], "StatisticsHelper": { "InstanceCounter": [ { "Key": 4199610336680704683, "Value": 1 }, { "Key": 5172597725294521221, "Value": 1 }, { "Key": 6464743993118234047, "Value": 1 }, { "Key": 6840657073857873079, "Value": 1 } ] } }, "Component_[8249448536321698620]": { "$type": "EditorGraphVariableManagerComponent", "Id": 8249448536321698620, "m_variableData": { "m_nameVariableMap": [ { "Key": { "m_id": "{501F097D-54AE-4EA8-B771-3A8A5655A33E}" }, "Value": { "Datum": { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 1.0, "label": "Number" }, "VariableId": { "m_id": "{501F097D-54AE-4EA8-B771-3A8A5655A33E}" }, "VariableName": "One" } } ] } } } } } }