协议提交

This commit is contained in:
2025-08-11 16:29:23 +08:00
parent 7a93c0f8f1
commit 9b95f48102
14 changed files with 71 additions and 35 deletions

View File

@@ -20,7 +20,7 @@ public static class ChatChannelCenterComponentSystem
}
channel = Entity.Create<ChatChannel>(self.Scene, channelId, true, true);
channel.Creator = unit.RoleId;
channel.Creator = unit.Role.RoleId;
channel.CreateTime = TimeHelper.Now;
self.Channels.Add(channelId, channel);
return channel;

View File

@@ -28,11 +28,7 @@ public static class ChatUnitManageComponentSystem
if (account != null)
{
account.GateRouteId = gateRouteId;
account.RoleId = accountId;
account.Head = roleSimpleInfo.Head;
account.Level = roleSimpleInfo.Level;
account.NickName = roleSimpleInfo.NickName;
account.Country = roleSimpleInfo.Country;
account.Role = roleSimpleInfo;
}
await FTask.CompletedTask;