mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
20 lines
592 B
C#
20 lines
592 B
C#
using EggLink.DanhengServer.Game.Player;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.Server.Packet.Send.Player;
|
|
|
|
public class PacketGetBasicInfoScRsp : BasePacket
|
|
{
|
|
public PacketGetBasicInfoScRsp(PlayerInstance player) : base(CmdIds.GetBasicInfoScRsp)
|
|
{
|
|
var proto = new GetBasicInfoScRsp
|
|
{
|
|
CurDay = 1,
|
|
NextRecoverTime = player.Data.NextStaminaRecover / 1000,
|
|
GameplayBirthday = (uint)player.Data.Birthday,
|
|
PlayerSettingInfo = new PlayerSettingInfo()
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |