Files
SVSimServer/SVSim.BattleEngine/Shim/View/VfxBaseCtors.cs
gamer147 a1c0c2d312 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>
2026-06-05 22:38:02 -04:00

14 lines
798 B
C#

// 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() { } }
}