feat(battle-engine): BattleLog cluster via generated no-op stubs (7852->7532)
Stub-generate BattleLogManager(45)/BattleLogItem(17)/InPlayCardFrameEffectControl(4) member surfaces from decomp signatures; declare BattleLogWindow+nested enum; make BattleLogItem a MonoBehaviour so inherited gameObject/transform resolve. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
50
SVSim.BattleEngine/Shim/Generated/BattleLogItem.g.cs
Normal file
50
SVSim.BattleEngine/Shim/Generated/BattleLogItem.g.cs
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23/Wizard.Battle.UI/BattleLogItem.cs
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
using Wizard.Battle.Replay;
|
||||||
|
namespace Wizard.Battle.UI
|
||||||
|
{
|
||||||
|
public partial class BattleLogItem
|
||||||
|
{
|
||||||
|
public enum CardTextureOption
|
||||||
|
{
|
||||||
|
Null,
|
||||||
|
ForceNormal,
|
||||||
|
ForceEvolution,
|
||||||
|
DestroyedFollower
|
||||||
|
}
|
||||||
|
private enum FrameType
|
||||||
|
{
|
||||||
|
Unit,
|
||||||
|
Field,
|
||||||
|
Spell,
|
||||||
|
Class
|
||||||
|
}
|
||||||
|
private enum DescStyle
|
||||||
|
{
|
||||||
|
Normal,
|
||||||
|
TurnSelf,
|
||||||
|
TurnOpponent,
|
||||||
|
Max
|
||||||
|
}
|
||||||
|
private delegate string FuncDescText();
|
||||||
|
public BuffInfo Buff;
|
||||||
|
public string DivergenceId { get; set; }
|
||||||
|
public BossRushSpecialSkill BossRushSpecialSkill { get; set; }
|
||||||
|
public bool IsPlayer { get; set; }
|
||||||
|
public void SetBuff(BuffInfo buff) { }
|
||||||
|
public bool IsCopiedBuff() => default!;
|
||||||
|
public static void ClearHeaderTextureCache() { }
|
||||||
|
public CardTextureOption GetTextureOption() => default!;
|
||||||
|
public BattleCardBase GetCard() => default!;
|
||||||
|
public int GetBuffMomentCardId() => default!;
|
||||||
|
public SkillBase GetLogSkill() => default!;
|
||||||
|
public void SetLogSkill(SkillBase skill) { }
|
||||||
|
public void SetDivergenceId(string divergenceId) { }
|
||||||
|
public float GetPosX() => default!;
|
||||||
|
public void SetupOnReplay(bool isPlayerSideTurn, int turn) { }
|
||||||
|
public void UpdateLogType(LogType logType) { }
|
||||||
|
public void SetSelectSpriteActive(bool setActive) { }
|
||||||
|
}
|
||||||
|
}
|
||||||
59
SVSim.BattleEngine/Shim/Generated/BattleLogManager.g.cs
Normal file
59
SVSim.BattleEngine/Shim/Generated/BattleLogManager.g.cs
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23/Wizard.Battle.UI/BattleLogManager.cs
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
using Wizard.Battle.View.Vfx;
|
||||||
|
namespace Wizard.Battle.UI
|
||||||
|
{
|
||||||
|
public partial class BattleLogManager
|
||||||
|
{
|
||||||
|
public delegate void FuncSetup(BattleLogItem logItem);
|
||||||
|
public BattleLogItem _clickSubLogItem;
|
||||||
|
public static BattleLogItem CreateBuffLogItem(BattleCardBase card, BattleCardBase detailCard, BuffInfo buff, bool? isPlayer, bool useSmall, BattleLogItem.CardTextureOption textureOption = BattleLogItem.CardTextureOption.Null, int buffMomentCardId = -1, BossRushSpecialSkill specialSkillInfo = null) => default!;
|
||||||
|
public static MyRotationBonusItem CreateMyRotationBonusItem(BattlePlayerBase.MyRotationBonusCondition myRotationBonusCondition, bool isPlayer, bool needSeparator) => default!;
|
||||||
|
public static AvatarBattleTitleItem CreateAvatarBattleBonusTitleItem(string titleText, UIScrollView scrollView) => default!;
|
||||||
|
public static AvatarBattleTitleItem CreateAvatarBattleBuffTitleItem(string titleText, UIScrollView scrollView) => default!;
|
||||||
|
public static AvatarBattleBonusItem CreateAvatarBattleBonusItem(BattlePlayerBase.AvatarBattleDescInfo skillDescInfo, UIScrollView scrollView, bool isNeedSeparator, BattleCardBase targetCard) => default!;
|
||||||
|
public static AvatarBattlePassiveBonusItem CreateAvatarBattlePassiveBonusItem(BattlePlayerBase.AvatarBattleDescInfo skillDescInfo, BattleCardBase targetCard, UIScrollView scrollView) => default!;
|
||||||
|
public static BattleLogItem CreateBossRushPlayerSpecialSkillLogItem(BattleCardBase card, BossRushSpecialSkill bossRushSpecialSkill) => default!;
|
||||||
|
public static BossRushEnemySpecialSkillItem CreateEnemyBossRushSpecialSkillLogItem(BattleCardBase card, BossRushSpecialSkill bossRushSpecialSkill) => default!;
|
||||||
|
public static BattleLogManager GetInstance() => default!;
|
||||||
|
public void SetUp(Transform parent, BattleManagerBase battleMgr, OperateMgr operateMgr, BattlePlayer battlePlayer) { }
|
||||||
|
public void ClearDestroyedCardList(bool isPlayer) { }
|
||||||
|
public void ClearPlayedCardList(bool isPlayer) { }
|
||||||
|
public void SetActiveShowButton(bool isActive) { }
|
||||||
|
public void HideLog() { }
|
||||||
|
public void BeginLogBlockEvolution(BattleCardBase card) { }
|
||||||
|
public VfxBase EndLogBlockEvolution() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance();
|
||||||
|
public VfxBase EndLogBlockFusion() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance();
|
||||||
|
public void BeginLogBlockPlay(BattleCardBase card) { }
|
||||||
|
public void BeginLogAccelerate(BattleCardBase card) { }
|
||||||
|
public void BeginLogCrystallize(BattleCardBase card) { }
|
||||||
|
public VfxBase EndLogBlockPlay() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance();
|
||||||
|
public VfxBase SetupWarActionLog() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance();
|
||||||
|
public VfxBase BeginLogBlockWar(BattleCardBase attackCard, BattleCardBase attackedCard) => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance();
|
||||||
|
public VfxBase EndLogBlockWar(BattleCardBase attackCard, BattleCardBase attackedCard, bool needAttack) => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance();
|
||||||
|
public BattleLogItem AddLogCommonOneAndSetInner(BattleCardBase card, FuncSetup funcSetup, BattleLogItem.CardTextureOption textureOption, List<NewReplayBattleMgr.BattleLogTextureInfo> battleLogTextureInfo) => default!;
|
||||||
|
public void RemoveAllBattleLogSet() { }
|
||||||
|
public void ParentLogItemToGrid() { }
|
||||||
|
public void AddLogDestFollower(BattleLogWindow.BattleLogType type, BattleCardBase card, List<NewReplayBattleMgr.BattleLogTextureInfo> battleLogTextureInfo = null) { }
|
||||||
|
public void EnableButton() { }
|
||||||
|
public void DisableButton() { }
|
||||||
|
public void AddLogFusion(BattleCardBase card, List<BattleCardBase> ingrediens) { }
|
||||||
|
public BattleLogItem AddLogTurn(bool isSelfTurn, int turn = -1) => default!;
|
||||||
|
public void AddLogMulliganChanged(BattlePlayerBase player, int changedNum) { }
|
||||||
|
public void AddLogSkillDrawToken(List<BattleCardBase> drawCards, SkillBase skill, bool isOpen, bool isOverDraw = false) { }
|
||||||
|
public void AddLogSkillReturnCard(List<BattleCardBase> returnCards, SkillBase skill) { }
|
||||||
|
public void AddLogSkillAttachSkill(BattleCardBase targetCard, SkillBase attachedSkill, SkillBase skill, bool isTargetInOpponentHand = false) { }
|
||||||
|
public void AddLogSkillBuffAdd(List<BattleCardBase> buffCards, int addAttack, int addLife, SkillBase skill, bool isMinusZeroAttack, bool isMinusZeroLife) { }
|
||||||
|
public void AddLogSkillBuffAdd(List<BattleCardBase> buffCards, int addAttack, int addLife, int gainAttack, int gainLife, SkillBase skill) { }
|
||||||
|
public void AddLogSkillBuffMultiply(List<BattleCardBase> buffCards, int multiplyAttack, int multiplyLife, SkillBase skill) { }
|
||||||
|
public void AddLogSkillBuffAddMaxLife(List<BattleCardBase> buffCards, int addMaxLife, SkillBase skill) { }
|
||||||
|
public void AddLogSkillBuffInHandAdd(List<BattleCardBase> buffCards, int addAttack, int addLife, SkillBase skill, bool isTargetInOpponentHand, bool isTargetSelfOpenCardSkill) { }
|
||||||
|
public void AddLogSkillBuffInDeckAdd(BattleCardBase target, int addAttack, int addLife, SkillBase skill) { }
|
||||||
|
public void AddLogSkillDeath(List<BattleCardBase> deathCards, SkillBase skill) { }
|
||||||
|
public void AddLogSkillDeath(List<BattleCardBase> deathCards) { }
|
||||||
|
public static int ConvertPremiumIdToNormalId(int cardId) => default!;
|
||||||
|
public void UpdateFusionedCardSkillDrewCard(BattleCardBase fusionCard) { }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23/Wizard.Battle.View/InPlayCardFrameEffectControl.cs
|
||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
namespace Wizard.Battle.View
|
||||||
|
{
|
||||||
|
public partial class InPlayCardFrameEffectControl
|
||||||
|
{
|
||||||
|
public virtual void UpdateCanAttackEffect(Func<bool> isUnableToAttackClassFunc = null, bool isSelfTurn = true) { }
|
||||||
|
public virtual void ToggleTargetSelectEffect(bool enable, bool isAttackTargetSelectInitiator = false) { }
|
||||||
|
public virtual void SetIsSelectingAttackTarget(bool enable) { }
|
||||||
|
public virtual void HideFrameEffect() { }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -18,16 +18,17 @@ namespace Wizard.Battle.View
|
|||||||
{
|
{
|
||||||
public enum BattleDialogItem { Menu, Retire }
|
public enum BattleDialogItem { Menu, Retire }
|
||||||
}
|
}
|
||||||
public class InPlayCardFrameEffectControl { }
|
public partial class InPlayCardFrameEffectControl { }
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Wizard.Battle.UI
|
namespace Wizard.Battle.UI
|
||||||
{
|
{
|
||||||
public class BattleLogItem
|
public partial class BattleLogItem : UnityEngine.MonoBehaviour { }
|
||||||
|
public partial class BattleLogManager { }
|
||||||
|
public partial class BattleLogWindow : UnityEngine.MonoBehaviour
|
||||||
{
|
{
|
||||||
public enum CardTextureOption { Null, ForceNormal, ForceEvolution }
|
public enum BattleLogType { Battle, PlayCardLog, Destruction, Information }
|
||||||
}
|
}
|
||||||
public class BattleLogManager { }
|
|
||||||
public class AvatarBattleTitleItem { }
|
public class AvatarBattleTitleItem { }
|
||||||
public class AvatarBattlePassiveBonusItem { }
|
public class AvatarBattlePassiveBonusItem { }
|
||||||
public class AvatarBattleBonusItem { }
|
public class AvatarBattleBonusItem { }
|
||||||
|
|||||||
Reference in New Issue
Block a user