新增协议

This commit is contained in:
2025-10-11 09:11:45 +08:00
parent 8a302754d6
commit 4a97265d43
3 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
using Fantasy;
using Fantasy.Async;
using Fantasy.Network.Interface;
namespace NB.Game;
public class C2Game_GetItemsRequestHandler : RouteRPC<Player, C2Game_GetItemsRequest, Game2C_GetItemsResponse>
{
protected override async FTask Run(Player entity, C2Game_GetItemsRequest request, Game2C_GetItemsResponse response,
Action reply)
{
}
}

View File

@@ -14,7 +14,6 @@
<ItemGroup> <ItemGroup>
<Folder Include="Game\Helper\" /> <Folder Include="Game\Helper\" />
<Folder Include="Game\Item\Handler\" />
<Folder Include="Game\Shop\Handler\" /> <Folder Include="Game\Shop\Handler\" />
<Folder Include="Social\Chat\" /> <Folder Include="Social\Chat\" />
<Folder Include="Social\Club\" /> <Folder Include="Social\Club\" />

View File

@@ -3,7 +3,7 @@
"profiles": { "profiles": {
"Main": { "Main": {
"commandName": "Project", "commandName": "Project",
"workingDirectory": "$(OutputPath)", // "workingDirectory": "$(OutputPath)",
"environmentVariables": {}, "environmentVariables": {},
"commandLineArgs": "--m Develop" "commandLineArgs": "--m Develop"
} }