forked from PGR/ascnet
1
0
Fork 0

fix for 1.31.0

This commit is contained in:
rfi 2023-11-12 13:00:44 +07:00
parent 2fda778dfc
commit 21856d353b
3 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,7 @@ namespace AscNet.Common.Database
Level = 1, Level = 1,
Sign = "", Sign = "",
DisplayCharId = 1021001, DisplayCharId = 1021001,
DisplayCharIdList = new() { 1021001 },
Birthday = null, Birthday = null,
HonorLevel = 1, HonorLevel = 1,
ServerId = "1", ServerId = "1",

View File

@ -231,6 +231,7 @@ namespace AscNet.Common.MsgPack
public long Level { get; set; } public long Level { get; set; }
public string Sign { get; set; } public string Sign { get; set; }
public long DisplayCharId { get; set; } public long DisplayCharId { get; set; }
public List<long> DisplayCharIdList { get; set; } = new();
public Birthday? Birthday { get; set; } public Birthday? Birthday { get; set; }
public long HonorLevel { get; set; } public long HonorLevel { get; set; }
public string ServerId { get; set; } public string ServerId { get; set; }

View File

@ -111,6 +111,8 @@ namespace AscNet.GameServer.Handlers
FubenUrgentEventData = new(), FubenUrgentEventData = new(),
UseBackgroundId = 14000001 // main ui theme, table still failed to dump 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); notifyLogin.FashionList.AddRange(session.character.Fashions);
#if DEBUG #if DEBUG