port(m1): wave 7c — SelectionProcessing Parameter + Touch-processor ctors (174->158)
- Generate both SelectionProcessing Parameter classes namespace-aware (full-surface captures the 8-arg Main / 6-arg BattleResult ctors); drop the empty hand stubs. - Add the missing decomp ctors to the 5 empty Touch-processor hand stubs (SetCard/EvolutionSimple/Emotion/ClassBuff/DetailPanel) — compile-only ballast, empty bodies. - Regenerate FusionWaitProcessor.g.cs: it was a stale stub whose ctor had dropped its decomp `: base(...)` initializer; harmless while SetCardProcessor had an implicit default ctor, exposed (CS7036) once the parameterized ctor landed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -95,7 +95,7 @@ namespace Wizard.Story.ChapterSelection.SelectionProcessing.BattleResult
|
||||
IProcessing NextProcessing { get; set; }
|
||||
void Execute(Parameter param);
|
||||
}
|
||||
public class Parameter { }
|
||||
// Parameter is generated full-surface (ctor + props) in Shim/Generated/Parameter__*.g.cs
|
||||
}
|
||||
|
||||
namespace Wizard.RoomMatch
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace Wizard.Story.ChapterSelection.SelectionProcessing.Main
|
||||
IProcessing NextProcessing { get; set; }
|
||||
void Execute(Parameter param);
|
||||
}
|
||||
public class Parameter { }
|
||||
// Parameter is generated full-surface (ctor + props) in Shim/Generated/Parameter__*.g.cs
|
||||
}
|
||||
|
||||
namespace Wizard.UIFriend
|
||||
|
||||
@@ -3,8 +3,12 @@
|
||||
// CS0535), but copied battle code converts these processors to ITouchProcessor
|
||||
// (e.g. TouchProcessorStack pushes them). Touch input is not on the headless
|
||||
// resolution path — these are compile-only ballast, so the members are no-ops.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Wizard.Battle.View.Vfx;
|
||||
using Wizard.Battle.Player.Emotion;
|
||||
using Wizard.Battle.Resource;
|
||||
|
||||
namespace Wizard.Battle.Touch
|
||||
{
|
||||
@@ -28,6 +32,7 @@ namespace Wizard.Battle.Touch
|
||||
}
|
||||
public partial class SetCardProcessor : ITouchProcessor
|
||||
{
|
||||
public SetCardProcessor(BattleManagerBase battleMgr, BattleCardBase actCard, List<SkillBase> selectSkills, Prediction prediction, Func<BattleCardBase, List<BattleCardBase>, List<SkillBase>, bool, SkillTargetSelectTouchProcessor> getSkillTargetSelectTouchProcessorFunc) { }
|
||||
public VfxBase Start() => NullVfx.GetInstance();
|
||||
public VfxBase Update(float dt, Camera camera) => NullVfx.GetInstance();
|
||||
public VfxWith<ITouchProcessor> End() => default!;
|
||||
@@ -35,6 +40,7 @@ namespace Wizard.Battle.Touch
|
||||
}
|
||||
public partial class EvolutionSimpleProcessor : ITouchProcessor
|
||||
{
|
||||
public EvolutionSimpleProcessor(BattleManagerBase battleMgr, BattleCardBase card, InputMgr inputMgr, List<SkillBase> selectSkills, Func<BattleCardBase, List<BattleCardBase>, List<SkillBase>, bool, SkillTargetSelectTouchProcessor> getSkillTargetSelectTouchProcessorFunc = null, Func<VfxBase> onStartEvolveSkillTargetSelect = null) { }
|
||||
public VfxBase Start() => NullVfx.GetInstance();
|
||||
public VfxBase Update(float dt, Camera camera) => NullVfx.GetInstance();
|
||||
public VfxWith<ITouchProcessor> End() => default!;
|
||||
@@ -42,6 +48,7 @@ namespace Wizard.Battle.Touch
|
||||
}
|
||||
public partial class EmotionTouchProcessor : ITouchProcessor
|
||||
{
|
||||
public EmotionTouchProcessor(IPlayerEmotion emotion, IBattleResourceMgr resourceMgr, TouchControl touchControl, InputMgr inputMgr, VfxMgr emotionVfxMgr, bool isKeyboard = false) { }
|
||||
public VfxBase Start() => NullVfx.GetInstance();
|
||||
public VfxBase Update(float dt, Camera camera) => NullVfx.GetInstance();
|
||||
public VfxWith<ITouchProcessor> End() => default!;
|
||||
@@ -49,6 +56,7 @@ namespace Wizard.Battle.Touch
|
||||
}
|
||||
public partial class ClassBuffTouchProcessor : ITouchProcessor
|
||||
{
|
||||
public ClassBuffTouchProcessor(BattleManagerBase battleMgr, BattleCardBase touchClass, InputMgr inputMgr) { }
|
||||
public VfxBase Start() => NullVfx.GetInstance();
|
||||
public VfxBase Update(float dt, Camera camera) => NullVfx.GetInstance();
|
||||
public VfxWith<ITouchProcessor> End() => default!;
|
||||
@@ -58,6 +66,7 @@ namespace Wizard.Battle.Touch
|
||||
// the base, so supply the interface members directly like the other empty stubs.
|
||||
public partial class DetailPanelTouchProcessor : ITouchProcessor
|
||||
{
|
||||
public DetailPanelTouchProcessor(BattleManagerBase battleMgr, BattleCardBase touchCard, InputMgr inputMgr, Prediction prediction, EvolutionSimpleProcessor evolutionProcessor) { }
|
||||
public VfxBase Start() => NullVfx.GetInstance();
|
||||
public VfxBase Update(float dt, Camera camera) => NullVfx.GetInstance();
|
||||
public VfxWith<ITouchProcessor> End() => default!;
|
||||
|
||||
Reference in New Issue
Block a user