feat(battle-engine): CRI/Unity overload + generated base-ctor fixes (1586->1556)
CRI: CriAtomExPlayer.AttachFader, CriAtomCueSheet.acb, CriAtomExCategory static. Unity overload gaps (CS7036): Transform.Translate/Rotate(float,float), Vector4(3/2-arg) ctors, Vector3 instance Scale. Parameterless ctors for generated Vfx bases (ForecastIcon VfxBase/ShowChantCountVfx/EvolveVfx) whose derived stubs' implicit base() failed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
13
SVSim.BattleEngine/Shim/View/VfxBaseCtors.cs
Normal file
13
SVSim.BattleEngine/Shim/View/VfxBaseCtors.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
// AUTHORED SHIM (not copied). Parameterless ctors for generated Vfx BASE types whose
|
||||
// decomp only declares parameterized ctors. A net-new generated derived stub's ctor is
|
||||
// emitted as `{ }` with an implicit `base()` call (m1_stub_gen doesn't thread base args),
|
||||
// so when the base lacks a parameterless ctor the derived fails CS7036. These no-op
|
||||
// parameterless ctors satisfy the implicit base() — purely a compile aid, off battle path.
|
||||
// (If this recurs broadly, teach m1_stub_gen to emit a guarded no-op parameterless ctor.)
|
||||
|
||||
namespace Wizard.Battle.View.Vfx
|
||||
{
|
||||
public partial class ForecastIconVfxBase { protected ForecastIconVfxBase() { } }
|
||||
public partial class ShowChantCountVfx { public ShowChantCountVfx() { } }
|
||||
public partial class EvolveVfx { public EvolveVfx() { } }
|
||||
}
|
||||
Reference in New Issue
Block a user