Files
gamer147 0d9d8acae0 feat(battle-engine): M1 auto-copy closure (782 battle-logic files)
Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
2026-06-05 16:57:20 -04:00

54 lines
1.7 KiB
C#

using System;
using Cute;
using UnityEngine;
using Wizard.Battle.View.Vfx;
namespace Wizard.Battle.Resource;
public interface IBattleResourceMgr
{
VfxBase LoadSleeveMaterial(long sleeveId, bool isPlayer);
Material GetSleeveMaterial(bool isPlayer);
VfxBase LoadAsset(string path, ResourcesManager.AssetLoadPathType pathType, Action action);
VfxBase LoadAsset(string fullPath, Action action);
VfxBase LoadCardImageMaterial(int cardId, bool isEvolution, bool isFollower);
Material GetCardImageMaterial(int cardId, bool isEvolution, bool isFollower);
VfxBase UnloadCardImageMaterial(int cardId, bool isEvolution, bool isFollower);
VfxBase LoadEffectBattle(string objectFullPath, string objectPath, string sePath);
void AddEffectBattleInfoDictionary(string objectPath, string sePath);
void SetEffectBattleInfoDictionary(string objectPath, string objectFullPath);
VfxBase DecrementEffectBattleRefCount(string objectPath);
void UnloadEffectBattle();
VfxBase LoadAndCreateEffectBattleInstance(string objectPath, EffectMgr.EngineType engineType, string sePath, Action<EffectBattle> loadEndCallback);
void DestroyEffectBattleInstance(EffectBattle effectBattle);
VfxBase LoadRerityMaterial(bool isHand, bool isSpell, int rarity, bool isChoiceBraveCard = false);
Material GetRerityMaterial(bool isHand, bool isSpell, int rarity, bool isChoiceBraveCard = false);
void LoadChoiceBraveCardMesh();
Mesh GetChoiceBraveCardMesh(bool isLow);
VfxBase LoadShardObject(string path, bool isAddUIContainer);
GameObject GetSharedObject(string path);
GameObject InstantiateSharedObject(string path);
void Dispose();
}