feat: set warship theme

This commit is contained in:
Naruse
2025-06-17 13:33:39 +08:00
parent 7f4e4b38c5
commit 981f2479d9
7 changed files with 31 additions and 65 deletions

View File

@@ -25,4 +25,18 @@ public class PacketGetMainDataRsp : BasePacket
SetData(proto);
}
public PacketGetMainDataRsp(uint warshipId) : base(CmdIds.GetMainDataRsp)
{
var proto = new GetMainDataRsp
{
WarshipTheme = new WarshipThemeData
{
WarshipId = (uint)warshipId,
},
TypeList = { 35 },
};
SetData(proto);
}
}