Skip to content

Commit b610088

Browse files
committed
Update TaleKit
1 parent 2b7b273 commit b610088

3 files changed

Lines changed: 3 additions & 12 deletions

File tree

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace TaleKit.Phoenix;
1010

11-
public class PhoenixActionBridge(PhoenixClient client) : IActionBridge
11+
public class PhoenixExecutor(PhoenixClient client) : IExecutor
1212
{
1313
public void Walk(Character character, Position position)
1414
{
@@ -19,15 +19,6 @@ public void Walk(Character character, Position position)
1919
});
2020
}
2121

22-
public void WalkNosmate(SummonedNosmate nosmate, Position position)
23-
{
24-
client.SendMessage(new PetsWalk
25-
{
26-
X = position.X,
27-
Y = position.Y
28-
});
29-
}
30-
3122
public void Attack(LivingEntity entity)
3223
{
3324
client.SendMessage(new Attack

TaleKit.Phoenix/PhoenixFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static Session CreateSession(PhoenixClient client)
1616
var session = TaleKitFactory.CreateSession(new SessionConfiguration
1717
{
1818
Network = new PhoenixNetwork(client),
19-
ActionBridge = new PhoenixActionBridge(client)
19+
Executor = new PhoenixExecutor(client)
2020
});
2121

2222
// Used for initialization, everything updated here will be updated by packet processors later

TaleKit.Phoenix/TaleKit.Phoenix.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="PhoenixWrapped" Version="1.0.11" />
11-
<PackageReference Include="TaleKit" Version="0.7.0" />
11+
<PackageReference Include="TaleKit" Version="0.7.4" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)