forked from PGR/ascnet
fix for 1.31.0
This commit is contained in:
parent
2fda778dfc
commit
21856d353b
|
@ -33,6 +33,7 @@ namespace AscNet.Common.Database
|
|||
Level = 1,
|
||||
Sign = "",
|
||||
DisplayCharId = 1021001,
|
||||
DisplayCharIdList = new() { 1021001 },
|
||||
Birthday = null,
|
||||
HonorLevel = 1,
|
||||
ServerId = "1",
|
||||
|
|
|
@ -231,6 +231,7 @@ namespace AscNet.Common.MsgPack
|
|||
public long Level { get; set; }
|
||||
public string Sign { get; set; }
|
||||
public long DisplayCharId { get; set; }
|
||||
public List<long> DisplayCharIdList { get; set; } = new();
|
||||
public Birthday? Birthday { get; set; }
|
||||
public long HonorLevel { get; set; }
|
||||
public string ServerId { get; set; }
|
||||
|
|
|
@ -111,6 +111,8 @@ namespace AscNet.GameServer.Handlers
|
|||
FubenUrgentEventData = new(),
|
||||
UseBackgroundId = 14000001 // main ui theme, table still failed to dump
|
||||
};
|
||||
if (notifyLogin.PlayerData.DisplayCharIdList.Count < 1)
|
||||
notifyLogin.PlayerData.DisplayCharIdList.Add(notifyLogin.PlayerData.DisplayCharId);
|
||||
notifyLogin.FashionList.AddRange(session.character.Fashions);
|
||||
|
||||
#if DEBUG
|
||||
|
|
Loading…
Reference in New Issue