广播聊天

This commit is contained in:
bob
2025-08-07 17:51:25 +08:00
parent 70bfe43a80
commit e1a4db89ae
19 changed files with 347 additions and 21 deletions

View File

@@ -2,6 +2,7 @@
using Fantasy.Async;
using Fantasy.Event;
using NB.Authentication;
using NB.Chat;
using NB.Game;
using NB.Gate;
@@ -37,6 +38,12 @@ public class OnSceneCreate_Init : AsyncEventSystem<OnCreateScene>
scene.AddComponent<PlayerManageComponent>();
break;
}
case SceneType.Chat:
{
//用于管理玩家的组件
scene.AddComponent<ChatUnitManageComponent>();
break;
}
}
await FTask.CompletedTask;