mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Fix Public Issue #10
This commit is contained in:
5
GameServer/Game/RogueTourn/RogueTournInstance.cs
Normal file
5
GameServer/Game/RogueTourn/RogueTournInstance.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
namespace EggLink.DanhengServer.GameServer.Game.RogueTourn;
|
||||
|
||||
public class RogueTournInstance
|
||||
{
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public class RogueTournManager(PlayerInstance player) : BasePlayerManager(player
|
||||
var proto = new RogueTournInfo
|
||||
{
|
||||
ExtraScoreInfo = ToExtraScoreProto(),
|
||||
InspirationCircuit = ToInspirationCircuitProto(),
|
||||
PermanentInfo = ToPermanentTalentProto(),
|
||||
RogueSeasonInfo = ToSeasonProto(),
|
||||
RogueTournAreaInfo = { ToAreaProtoList() },
|
||||
RogueTournDifficultyInfo = { ToDifficultyProtoList() },
|
||||
@@ -39,9 +39,9 @@ public class RogueTournManager(PlayerInstance player) : BasePlayerManager(player
|
||||
};
|
||||
}
|
||||
|
||||
public InspirationCircuitInfo ToInspirationCircuitProto()
|
||||
public RogueTournPermanentTalentInfo ToPermanentTalentProto()
|
||||
{
|
||||
return new InspirationCircuitInfo
|
||||
return new RogueTournPermanentTalentInfo
|
||||
{
|
||||
TalentInfoList = new RogueTalentInfoList
|
||||
{
|
||||
@@ -121,7 +121,7 @@ public class RogueTournManager(PlayerInstance player) : BasePlayerManager(player
|
||||
|
||||
foreach (var eventId in GameData.RogueTournHandBookEventData.Keys)
|
||||
{
|
||||
proto.TakeHandbookRewardList.Add((uint)eventId); // should be HandbookEventList
|
||||
proto.HandbookEventList.Add((uint)eventId);
|
||||
}
|
||||
|
||||
return proto;
|
||||
|
||||
Reference in New Issue
Block a user