using Fantasy;
using Fantasy.Entitas;
namespace NB.Chat;
public static class ChatUnitFactory
{
///
/// 创建一个新的Player
///
///
/// ToKen令牌传递过来的aId
/// 是否在创建的过程中保存到数据库
///
public static ChatUnit Create(Scene scene, long aId)
{
var player = Entity.Create(scene, aId, true, true);
return player;
}
}