feat(battle-engine): EffectType full enum + collection/card/vfx extension copies
Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
This commit is contained in:
38
SVSim.BattleEngine/Engine/DeckDeleteTask.cs
Normal file
38
SVSim.BattleEngine/Engine/DeckDeleteTask.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using Wizard;
|
||||
|
||||
public class DeckDeleteTask : BaseTask
|
||||
{
|
||||
public class DeckDeleteTaskParam : BaseParam
|
||||
{
|
||||
public int[] deck_no_list;
|
||||
|
||||
public int deck_format;
|
||||
}
|
||||
|
||||
private Format _updateDeckFormat;
|
||||
|
||||
public DeckDeleteTask()
|
||||
{
|
||||
base.type = ApiType.Type.DeckDelete;
|
||||
}
|
||||
|
||||
public void SetParameter(int[] deck_no, Format format)
|
||||
{
|
||||
DeckDeleteTaskParam deckDeleteTaskParam = new DeckDeleteTaskParam();
|
||||
deckDeleteTaskParam.deck_no_list = deck_no;
|
||||
deckDeleteTaskParam.deck_format = Data.FormatConvertApi(format);
|
||||
base.Params = deckDeleteTaskParam;
|
||||
_updateDeckFormat = format;
|
||||
}
|
||||
|
||||
protected override int Parse()
|
||||
{
|
||||
int num = base.Parse();
|
||||
if (num != 1)
|
||||
{
|
||||
return num;
|
||||
}
|
||||
DeckListUtility.ParseDeckInfoResponceData(base.ResponseData["data"], _updateDeckFormat);
|
||||
return num;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user