mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using EggLink.DanhengServer.Data.Excel;
|
|
using EggLink.DanhengServer.GameServer.Game.Player;
|
|
using EggLink.DanhengServer.Proto;
|
|
using EggLink.DanhengServer.Proto.ServerSide;
|
|
using EggLink.DanhengServer.Util;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Game.Challenge.Definitions;
|
|
|
|
public abstract class BaseLegacyChallengeInstance(PlayerInstance player, ChallengeDataPb data)
|
|
: BaseChallengeInstance(player, data)
|
|
{
|
|
public bool IsWin { get; set; }
|
|
public abstract ChallengeConfigExcel Config { get; }
|
|
public abstract CurChallenge ToProto();
|
|
|
|
public abstract uint GetStars();
|
|
public abstract int GetCurrentExtraLineupType();
|
|
public abstract void SetStartPos(Position pos);
|
|
public abstract void SetStartRot(Position rot);
|
|
public abstract void SetSavedMp(int mp);
|
|
|
|
public virtual uint GetScore1()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public virtual uint GetScore2()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public virtual ChallengeStageInfo ToStageInfo()
|
|
{
|
|
return new ChallengeStageInfo();
|
|
}
|
|
} |