协议提交
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user