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.
This commit is contained in:
40
SVSim.BattleEngine/Engine/Wizard/BattlePassProduct.cs
Normal file
40
SVSim.BattleEngine/Engine/Wizard/BattlePassProduct.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user