refactor manager & add giveall command

- giveall only weapon for now
- move all item into SyncPlayer to prevent RspLogin too large
This commit is contained in:
Naruse
2026-04-27 14:33:25 +08:00
parent ac087f240b
commit 4bf3f0d715
15 changed files with 205 additions and 72 deletions

View File

@@ -0,0 +1,19 @@
using MikuSB.Database.Lineup;
using MikuSB.Proto;
using MikuSB.TcpSharp;
namespace MikuSB.GameServer.Server.Packet.Send.Lineup;
public class PacketNtfSyncLineup : BasePacket
{
public PacketNtfSyncLineup(LineupDataInfo lineup) : base(CmdIds.NtfSyncLineup)
{
var proto = new NtfSyncLineup
{
Lineup = lineup.ToProto()
};
SetData(proto);
}
}