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/Wizard/DeckOrderTask.cs
Normal file
38
SVSim.BattleEngine/Engine/Wizard/DeckOrderTask.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class DeckOrderTask : BaseTask
|
||||
{
|
||||
public class DeckOrderTaskParam : BaseParam
|
||||
{
|
||||
public int[] deck_order;
|
||||
|
||||
public int deck_format;
|
||||
}
|
||||
|
||||
private Format _updateDeckFormat;
|
||||
|
||||
public DeckOrderTask()
|
||||
{
|
||||
base.type = ApiType.Type.DeckOrder;
|
||||
}
|
||||
|
||||
public void SetParameter(int[] deck_order, Format format)
|
||||
{
|
||||
DeckOrderTaskParam deckOrderTaskParam = new DeckOrderTaskParam();
|
||||
deckOrderTaskParam.deck_order = deck_order;
|
||||
deckOrderTaskParam.deck_format = Data.FormatConvertApi(format);
|
||||
_updateDeckFormat = format;
|
||||
base.Params = deckOrderTaskParam;
|
||||
}
|
||||
|
||||
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