MoneySync

This commit is contained in:
Kei-Luna
2026-05-27 06:09:29 +09:00
parent 63dc993614
commit a9b57fc1b7
5 changed files with 225 additions and 4 deletions

View File

@@ -126,6 +126,8 @@ public class PacketNtfCallScript : BasePacket
sync.Custom[Player.ToPackedAttrKey(gid, sid)] = val;
sync.Custom[Player.ToShiftedAttrKey(gid, sid)] = val;
}
foreach (var (key, value) in Player.BuildMoneySync())
sync.Money[key] = value;
proto.ExtraSync = sync;
SetData(proto);