mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
19 lines
601 B
C#
19 lines
601 B
C#
using EggLink.DanhengServer.Proto;
|
|
using EggLink.DanhengServer.Proto.ServerSide;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Game.GridFight.Sync;
|
|
|
|
public class GridFightPlayerLevelSyncData(GridFightSrc src, GridFightBasicInfoPb info, uint groupId = 0, params uint[] param) : BaseGridFightSyncData(src, groupId, param)
|
|
{
|
|
public override GridFightSyncData ToProto()
|
|
{
|
|
return new GridFightSyncData
|
|
{
|
|
PlayerLevel = new GridFightPlayerLevelSyncInfo
|
|
{
|
|
Exp = info.LevelExp,
|
|
Level = info.CurLevel
|
|
}
|
|
};
|
|
}
|
|
} |