Skip to content

Commit c8b79a5

Browse files
author
Joanna May
authored
Merge pull request #33 from chickensoft-games/fix/no-async
fix: remove async logic block
2 parents edbc282 + 19910ad commit c8b79a5

22 files changed

+11
-1246
lines changed

Chickensoft.LogicBlocks.Generator/src/LogicBlocksGenerator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,7 @@ INamedTypeSymbol stateBaseType
502502
(interfaceType) => CodeService.GetNameFullyQualifiedWithoutGenerics(
503503
interfaceType, interfaceType.Name
504504
) is
505-
Constants.LOGIC_BLOCK_INPUT_INTERFACE_ID or
506-
Constants.LOGIC_BLOCK_INPUT_ASYNC_INTERFACE_ID &&
505+
Constants.LOGIC_BLOCK_INPUT_INTERFACE_ID &&
507506
interfaceType.TypeArguments.Length == 1
508507
);
509508

Chickensoft.LogicBlocks.Generator/src/common/utils/Constants.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public class Constants {
1414
public const string LOGIC_BLOCK_STATE_LOGIC_ON_EXIT = "OnExit";
1515
public const string LOGIC_BLOCK_CLASS_ID = "global::Chickensoft.LogicBlocks.Logic";
1616
public const string LOGIC_BLOCK_INPUT_INTERFACE_ID = "global::Chickensoft.LogicBlocks.LogicBlock.IGet";
17-
public const string LOGIC_BLOCK_INPUT_ASYNC_INTERFACE_ID = "global::Chickensoft.LogicBlocks.LogicBlockAsync.IGet";
1817
public const string STATE_MACHINE_ATTRIBUTE_NAME = "StateMachine";
1918
public const string STATE_MACHINE_ATTRIBUTE_SOURCE = """
2019
namespace Chickensoft.LogicBlocks.Generator;

Chickensoft.LogicBlocks.Tests/test/fixtures/FakeLogicBlockAsync.cs

Lines changed: 0 additions & 130 deletions
This file was deleted.

Chickensoft.LogicBlocks.Tests/test/fixtures/HierarchicalCallbackLogic copy.g.puml

Lines changed: 0 additions & 5 deletions
This file was deleted.

Chickensoft.LogicBlocks.Tests/test/fixtures/HierarchicalCallbackLogicAsync.cs

Lines changed: 0 additions & 42 deletions
This file was deleted.

Chickensoft.LogicBlocks.Tests/test/fixtures/HierarchicalCallbackLogicAsync.g.puml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Chickensoft.LogicBlocks.Tests/test/fixtures/MyLogicBlockAsync.cs

Lines changed: 0 additions & 56 deletions
This file was deleted.

Chickensoft.LogicBlocks.Tests/test/fixtures/MyLogicBlockAsync.g.puml

Lines changed: 0 additions & 17 deletions
This file was deleted.

Chickensoft.LogicBlocks.Tests/test/fixtures/TestMachineAsync.cs

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)