mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
21 lines
705 B
C#
21 lines
705 B
C#
using EggLink.DanhengServer.Proto;
|
|
using EggLink.DanhengServer.Proto.ServerSide;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Game.GridFight.PendingAction;
|
|
|
|
public class GridFightTraitPendingAction(GridFightInstance inst, GridFightGameTraitEffectPb effect) : BaseGridFightPendingAction(inst)
|
|
{
|
|
public GridFightGameTraitEffectPb Effect { get; set; } = effect;
|
|
public override GridFightPendingAction ToProto()
|
|
{
|
|
return new GridFightPendingAction
|
|
{
|
|
QueuePosition = QueuePosition,
|
|
TraitAction = new GridFightTraitActionInfo
|
|
{
|
|
EffectId = Effect.EffectId,
|
|
TraitId = Effect.TraitId
|
|
}
|
|
};
|
|
}
|
|
} |