Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard/BattlePassProduct.cs
gamer147 824309ec44 feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the
AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed
the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
2026-06-05 20:30:59 -04:00

41 lines
1.1 KiB
C#

using Cute;
namespace Wizard;
public class BattlePassProduct
{
public int Id { get; private set; }
public int SeasonId { get; private set; }
public string Name { get; private set; }
public string Description { get; private set; }
public int PriceInCrystal { get; private set; }
public ShopExpirtyInfo ExpirtyInfo { get; private set; }
public BattlePassProduct(int id, int seasonId, string name, int priceInCrystal, string description, ShopExpirtyInfo expirtyInfo)
{
Id = id;
SeasonId = seasonId;
Name = name;
PriceInCrystal = priceInCrystal;
Description = description;
ExpirtyInfo = expirtyInfo;
}
public string GetPosterTexturePath(bool isFetch)
{
string path = $"{SeasonId}_{Id}_battle_pass_buy_confirm";
return Toolbox.ResourcesManager.GetAssetTypePath(path, ResourcesManager.AssetLoadPathType.BattlePass, isFetch);
}
public string GetDetailPosterTexturePath(bool isFetch)
{
string path = $"{SeasonId}_{Id}_battle_pass_detail";
return Toolbox.ResourcesManager.GetAssetTypePath(path, ResourcesManager.AssetLoadPathType.BattlePass, isFetch);
}
}