diff --git a/SVSim.BattleEngine/Shim/Generated/BattleLogItem.g.cs b/SVSim.BattleEngine/Shim/Generated/BattleLogItem.g.cs index 2ed6999..e422142 100644 --- a/SVSim.BattleEngine/Shim/Generated/BattleLogItem.g.cs +++ b/SVSim.BattleEngine/Shim/Generated/BattleLogItem.g.cs @@ -1,12 +1,12 @@ -// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23/Wizard.Battle.UI/BattleLogItem.cs +// 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 partial class BattleLogItem +{ public enum CardTextureOption { Null, @@ -29,22 +29,199 @@ namespace Wizard.Battle.UI Max } private delegate string FuncDescText(); + private static readonly string[] FRAMESPRITE_SELF; + private static readonly string[] FRAMESPRITE_OPPONENT; + private static readonly string[] FRAMESPRITE_SELECT; + private static readonly Color[] DESC_COL; + private static readonly UIWidget.Pivot[] DESC_PIVOT; + public const string BATTLE_LOG_ICON_PLAY = "battle_log_icon_play"; + public const string BATTLE_LOG_ICON_ENHANCE = "battle_log_icon_enhance"; + public const string BATTLE_LOG_ICON_ACCELERATE = "battle_log_icon_accelerate"; + public const string BATTLE_LOG_ICON_FIGHT = "battle_log_icon_fight"; + public const string BATTLE_LOG_ICON_DESTROY = "battle_log_icon_destroy"; + public const string BATTLE_LOG_ICON_NECROMANCE = "battle_log_icon_necromance"; + public const string BATTLE_LOG_ICON_DRAW = "battle_log_icon_draw"; + public const string BATTLE_LOG_ICON_OVERDRAW = "battle_log_icon_overdraw"; + public const string BATTLE_LOG_ICON_SUMMON = "battle_log_icon_summon"; + public const string BATTLE_LOG_ICON_BUFF = "battle_log_icon_buff"; + public const string BATTLE_LOG_ICON_DEBUFF = "battle_log_icon_debuff"; + public const string BATTLE_LOG_ICON_BANISH = "battle_log_icon_banish"; + public static readonly Color DAMAGE_LABEL_COLOR; + public static readonly Color HEAL_LABEL_COLOR; + private static readonly Color32 CARD_COLOR_GREY; + public static readonly float LOG_ITEM_HEIGHT; + private const float FRAME_POS_X_LEFT = -30f; + private const float FRAME_POS_X_RIGHT = 30f; + private const float FRAME_POS_X_CENTER = 0f; + private const float NO_FRAME_TEXT_OFFSET = -8f; + private const float DESC_LABEL_CENTER_POSITION_X = 42f; + private UISprite _frame; + private UIButton _frameButton; + private UISprite _selectCursor; + private TweenAlpha _selectTween; + private UISprite _separator; + private UITexture _cardTexture; + private UILabel _desc; + private UILabel _num; + private Transform _locator; + private UILabel _rightText; + private UISprite _leftIcon; + private UISprite _rightIcon; + private Transform _fightIcon; + private GameObject _dammyFrame; + private bool isBuff; + private BattlePlayer _battlePlayer; + private BattleManagerBase _battleMgr; + private BattleLogManager _battleLogMgr; + private BattleCardBase _card; + private BattleCardBase _detailCard; + private int _buffMomentCardId; + private LogType _logType; + private bool _isOwner; + private SkillBase _logSkill; + private CardTextureOption _textureOption; + private bool _isCopiedBuff; public BuffInfo Buff; + public int Turn { get; set; } + public bool IsPlayerSideTurn { get; set; } 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 static int GetHeaderTextureCacheNum() => default!; public CardTextureOption GetTextureOption() => default!; + private void Start() { } + public bool IsOwner() => default!; public BattleCardBase GetCard() => default!; + public BattleCardBase GetDetailCard() => default!; public int GetBuffMomentCardId() => default!; public SkillBase GetLogSkill() => default!; public void SetLogSkill(SkillBase skill) { } public void SetDivergenceId(string divergenceId) { } + public Transform GetLocator() => default!; + public LogType GetLogType() => default!; public float GetPosX() => default!; + public GameObject GetSeparator() => default!; + private int GetTextureId() => default!; + public void Setup(BattleCardBase card, BattlePlayer battlePlayer, BattleManagerBase battleMgr, BattleLogManager battleLogMng, bool isOwner, CardTextureOption textureOption = CardTextureOption.Null, BattleCardBase detailCard = null, bool? isPlayer = null, BuffInfo buff = null, int buffMomentCardId = -1, BossRushSpecialSkill specialSkillInfo = null, List battleLogTextureInfo = null, bool isBattleInfo = false) { } public void SetupOnReplay(bool isPlayerSideTurn, int turn) { } + public void ReplaceDeckSummonLogCard(BattleCardBase deckSummonCard) { } + public void ReplaceDeckSummonLogCard(List deckSummonCards) { } + public void _SetupCardTexture(BattleCardBase card, CardTextureOption textureOption, int buffMomentCardId, List battleLogTextureInfo) { } + private void _SetupFrame(BattleCardBase card, bool? isPlayer = null, bool isOpponentAllHandSpellCostChange = false, BossRushSpecialSkill specialSkillInfo = null) { } + private void _SetupFrameSelect(BattleCardBase card) { } + private string _GetFrameSpriteName(BattleCardBase card, string[] spriteNameList, bool isOpponentAllHandSpellCostChange = false, BossRushSpecialSkill specialSkillInfo = null) => default!; + private void _SetupDescStyle(DescStyle style) { } + private void _SetupDescColor(DescStyle style) { } + public void SetTurn(bool isSelfTurn, int turn = -1) { } + public void SetCost(int cost, bool isPlayer) { } + private void _SetInner(LogType logType, FuncDescText funcText, string rightValueText = "", int mulliganCount = -1) { } + private void _SetInnerOnSkillTiming(LogType logType, SkillBase skill) { } + private void SetInnerOnSkillTiming(LogType logType) { } public void UpdateLogType(LogType logType) { } + public void AddNecromanceLog() { } + private void _SetInnerOnDamage(LogType logType, BattleCardBase afterCard, int damageNum, bool isDrainBattle = false) { } + private void SetInnerOnDamage(LogType logType) { } + private void _SetInnerOnHeal(LogType logType, int healNum = -1, bool isDrain = false) { } + private void SetInnerOnHeal(LogType logType) { } + private void _SetInnerOnSkillTarget(LogType logType, bool isMinus = false, string logText = null, string rightValueText = null, int cardWithCount = -1, int[] randomArray = null, bool isDeadInNewReplay = false, bool isNewReplay = false) { } + public void AddUpRightValue(int addValue, string zeroSign = null) { } + public void ChangeDamageLogToDestroy() { } + public void AddDamageAmount(int damage, bool isDamage) { } + public void AddSummonCount(int summonCount) { } + private void CallOnCreateBattleLog(string rightValueText, NewReplayBattleMgr.BattleLogItemType logItemType, bool isMinus = false, bool isNecromance = false, int cardWithCount = -1, int[] randomArray = null, bool isDrain = false, bool isDrainBattle = false, bool isDeadByDamage = false, int mulliganCount = -1) { } + private void _SetInnerCard(LogType logType) { } + private void _SetInnerCard(LogType logType, int num) { } + public void SetBattleLogCardList(int num = 1) { } + public void SetDeckSummonCardList(int num = 1) { } + public void SetFusionInfoList() { } + public void SetFusionIngredientInfoList() { } + public void UpdateBattleLogCardCount(int num) { } + public void SetMulliganChanged(int changedNum) { } + public void SetPlay(LogType logType = LogType.Play) { } + public void SetSummon(int count, SkillBase skill) { } + public void SetAttack(BattleCardBase attackerAfter, bool isDamageDraw, bool isDrainBattle) { } + public void SetAttackCounter(BattleCardBase attackerAfter, bool isDrainBattle) { } + public void SetDrawCard(List drawCards, bool isOverDraw = false) { } + public void SetOverDraw(bool isTurnStartDraw) { } + public void SetOpenDrawCard(SkillBase skill) { } + public void SetOpenCard() { } + public void SetDrawToken(int count, bool isOverDraw = false) { } + public void SetReturnCard(SkillBase skill) { } + public void SetDiscardCardNum(List discardCards, SkillBase skill) { } + public void SetDiscardCard(SkillBase skill) { } + public void SetBanishHandCardNum(List discardCards, SkillBase skill) { } + public void SetBanishDeckCardNum(List discardCards, SkillBase skill) { } + public void SetBanishDeckCard(SkillBase skill) { } + public void SetBanishHandCard(SkillBase skill) { } + public void SetChangeCemetery(int num, SkillBase skill) { } + public void SetClearDestroyedCardList(SkillBase skill) { } + public void SetClearSummonedCardList(SkillBase skill) { } + public void SetChangeChantCount(int num, SkillBase skill) { } + public void SetChangeWhiteRitualStack(int num, SkillBase skill, bool isDebuffSkill) { } + public void SetChangePP(int num, bool isTotal, SkillBase skill) { } + public void SetEP(int ep, SkillBase skill) { } + public void SetEvolution() { } + public void SetEvolutionBySkill(SkillBase skill) { } + public void SetFusion(int materialCount) { } + public void SetFusionIngredient() { } + public void SetGeton() { } + public void SetGetonIngredient() { } + public void SetGetoffIngredient() { } + public void SetCantAttack(CantAttackType type, SkillBase skill) { } + public void SetAttackCountRecovery(SkillBase skill) { } + public void SetChangeDeck(SkillBase skill) { } + public void SetAddDeck(int count, SkillBase skill) { } + public void SetBuffAdd(int addAttack, int addLife, bool isMinusZeroAttack, bool isMinusZeroLife, SkillBase skill, bool isDead, bool isMinus) { } + public void SetBuffAdd(int addAttack, int addLife, int gainAttack, int gainLife, SkillBase skill, bool isInHand) { } + public void SetBuffMultiply(int multiplyAttack, int multiplyLife, SkillBase skill) { } + public void SetBuffAddClass(SkillBase skill) { } + public void SetBuffSetLife(int setLife, bool isClass, SkillBase skill) { } + public void SetBuffAddMaxLife(int addMaxLife, SkillBase skill, bool isDead, bool isDebuffSkill) { } + public void SetBuffInHandAdd(int addAttack, int addLife, SkillBase skill = null, bool isTargetInOpponentHand = false) { } + public void SetBuffInDeckAdd(SkillBase skill, bool isPlayer, int addAttack, int addLife) { } + public void SetHeal(int healAmount) { } + public void SetHealSkill(SkillBase skill, int healAmount) { } + public void SetDamage(BattleCardBase damageAfter, SkillBase skill) { } + public void SetDestroy() { } + public void SetBanish() { } + public void SetMetamorphose(SkillBase skill = null) { } + public void SetUniteMaterial() { } + public void SetBerserkBySkill(SkillBase skill) { } + public void SetLose(SkillBase skill) { } + public void SetLoseCopiedSkill(SkillBase skill, bool isRemain) { } + public void SetChangeClan(CardBasePrm.ClanType newClan, SkillBase skill, bool isTargetInOpponentHand = false) { } + public void SetChangeTribe(List newTribe, SkillBase skill, bool isTargetInOpponentHand = false) { } + public void SetChangePlayCount(int num, SkillBase skill) { } + public void SetGain(SkillGainType type, BattleCardBase gainFrom, int val1 = 0, SkillBase skill = null) { } + public void SetAttachSkill(SkillBase attachedSkill, SkillBase skill, bool isTargetInOpponentHand = false) { } + public void SetShortageDeckWin(SkillBase skill) { } + public void SetTimingWhenPlay(LogType logType, SkillBase skill) { } + public void SetTimingWhenDestroy(SkillBase skill) { } + public void SetTimingWhenLeave(SkillBase skill) { } + public void SetTimingWhenAttackSelfAndOtherAfter(SkillBase skill) { } + public void SetTimingOther(SkillBase skill) { } + public void SetCostChangeCalculate(int num, SkillBase skill = null, bool isTargetInOpponentHand = false) { } + public void SetCostChange(SkillBase skill) { } + public void SetRandomArray(int[] randomArray) { } + public void SetCardTextureColorToGrey() { } + public void SetTokenDrawModifier() { } + public void SetUsePp(SkillBase skill, int usePp) { } + public void SetExclusionTargetList(SkillBase skill) { } + public void SetInnerInReplay(LogType type, string rightValueText, bool isNecromance, int mulliganCount) { } + public void SetInnerOnSkillTimingInReplay(LogType logType, bool isNecromance) { } + public void SetInnerOnDamageInReplay(LogType logType, BattleCardBase card, string rightValueText, bool isDead) { } + public void SetInnerOnHealInReplay(LogType logType, string rightValueText) { } + public void SetInnerOnSkillTargetInReplay(LogType type, bool isMinus, string logText, string rightValueText, bool isDead) { } + public void SetSummonCountInReplay(int summonCount) { } + public static bool IsSameSkillOwner(SkillBase skillA, SkillBase skillB) => default!; + public bool IsSameLog(BattleLogItem logItem) => default!; + public bool IsUseRightText() => default!; + public void SetActiveDammyFrame(bool active) { } + private void OnClickLog() { } + public void OnUnClickLog() { } public void SetSelectSpriteActive(bool setActive) { } - } +} } diff --git a/SVSim.BattleEngine/Shim/Generated/BattleLogManager.g.cs b/SVSim.BattleEngine/Shim/Generated/BattleLogManager.g.cs index 015aa09..96c00ba 100644 --- a/SVSim.BattleEngine/Shim/Generated/BattleLogManager.g.cs +++ b/SVSim.BattleEngine/Shim/Generated/BattleLogManager.g.cs @@ -1,14 +1,76 @@ -// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23/Wizard.Battle.UI/BattleLogManager.cs +// 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 partial class BattleLogManager +{ + public partial class WarPair { } + public partial class CostCardLogInfo { } + public partial class CardLogInfo { } public delegate void FuncSetup(BattleLogItem logItem); + private const int BATTLELOG_BLOCK_MAX = 30; + private const int SOLOMON_ID = 112341030; + private bool _isBattleLogOpen; + private BattleManagerBase _battleMgr; + private BattlePlayer _battlePlayer; + private WarPair _warBefore; + public BattleLogWindow _logWindow; + private BattleLogButton _logButton; + private GameObject _battleLogRoot; + private GameObject _battleLogButtonRoot; + public BattleLogItem _clickLogItem; public BattleLogItem _clickSubLogItem; + private List _logItemList; + private List _logItemSetList; + private List _pDestLogItemList; + private List _eDestLogItemList; + private List _pPlayCardLogItemList; + private List _ePlayCardLogItemList; + private List> _pDestLogItemListList; + private List> _eDestLogItemListList; + private List> _pPlayCardLogItemListList; + private List> _ePlayCardLogItemListList; + private List _deckSummonCardObjectList; + private List _pDestroyedLogInfoList; + private List _eDestroyedLogInfoList; + private List _pPlayCardLogInfoList; + private List _ePlayCardLogInfoList; + private Dictionary _deckSummonCardIdList; + public List PlayerFusionCard; + public List EnemyFusionCard; + private List _pDestroyedCostFrameList; + private List _eDestroyedCostFrameList; + private List _pPlayCardCostFrameList; + private List _ePlayCardCostFrameList; + public List PlayerPlayedCard; + public List EnemyPlayedCard; + public List PlayerDestroyedCard; + public List EnemyDestroyedCard; + private int _pDestroyedMinCost; + private int _eDestroyedMinCost; + private int _pPlayCardMinCost; + private int _ePlayCardMinCost; + private static BattleLogManager _instance; + private int _keyboardSelectLogNumber; + private BattleLogItem _selectBattleLog; + private BattleLogItemSet _oldClickLogItemSet; + private int _oldLogItemSetCount; + private List _logCardList; + private const float CARD_FRAME_HIGHT = 48f; + private const float UI_SCREEN_HIGHT_HALF = 320f; + private const int DEFAULT_DESTROYED_COST = 99; + public const int MAX_COST_NUM = 30; + private bool _alertLayerEnable; + private int _alerOriginalLayer; + private CanNotTouchCardVfx _canNotTouchCardVfx; + private const int ZEUS_SUPREME_ID = 113041020; + private bool _isPlayerSkinEvolved; + private bool _isEnemySkinEvolved; + public bool IsOpen { get; set; } + public static BattleLogItem CreateLogItem(bool isSmall = false) => default!; 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!; @@ -17,11 +79,18 @@ namespace Wizard.Battle.UI 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 void DestroyLogItem(BattleLogItem logItem) { } + public static BattleLogItemSet CreateLogItemSet() => default!; + public static void DestroyLogItemSet(BattleLogItemSet logItemSet) { } public static BattleLogManager GetInstance() => default!; + private BattleLogManager() { } public void SetUp(Transform parent, BattleManagerBase battleMgr, OperateMgr operateMgr, BattlePlayer battlePlayer) { } + public void Clear() { } public void ClearDestroyedCardList(bool isPlayer) { } public void ClearPlayedCardList(bool isPlayer) { } + private void _SetActiveWindow(bool isActive, BattleLogWindow.BattleLogType logType = BattleLogWindow.BattleLogType.Battle, bool isPlayer = true) { } public void SetActiveShowButton(bool isActive) { } + public void ShowLog(BattleLogWindow.BattleLogType logType, bool isPlayer = true) { } public void HideLog() { } public void BeginLogBlockEvolution(BattleCardBase card) { } public VfxBase EndLogBlockEvolution() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance(); @@ -30,30 +99,134 @@ namespace Wizard.Battle.UI public void BeginLogAccelerate(BattleCardBase card) { } public void BeginLogCrystallize(BattleCardBase card) { } public VfxBase EndLogBlockPlay() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance(); + public VfxBase BeginLogBlockTurnChangeReactive() => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance(); + public VfxBase EndLogBlockTurnChangeReactive() => 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(); + private LogType GetTimingLogType(SkillBase skill) => default!; + private void _AddLogSkillTiming(SkillBase skill, BattleLogItem.CardTextureOption textureOption = BattleLogItem.CardTextureOption.Null) { } + private void _AddLogSkillTiming(BattleCardBase ownerCard, LogType logType, BattleLogItem.CardTextureOption textureOption = BattleLogItem.CardTextureOption.Null) { } + public void AddNecromanceIcon(SkillBase skill, BattleCardBase card, bool isSpell) { } + private BattleLogItem _AddLogCommonOne(BattleCardBase card, FuncSetup funcSetup, bool isOwner = false, BattleLogItem.CardTextureOption textureOption = BattleLogItem.CardTextureOption.Null, List battleLogTextureInfo = null) => default!; + private void _AddLogCommon(List cards, FuncSetup funcSetup, bool isOwner = false, BattleLogItem.CardTextureOption textureOption = BattleLogItem.CardTextureOption.Null) { } public BattleLogItem AddLogCommonOneAndSetInner(BattleCardBase card, FuncSetup funcSetup, BattleLogItem.CardTextureOption textureOption, List battleLogTextureInfo) => default!; public void RemoveAllBattleLogSet() { } public void ParentLogItemToGrid() { } + private int _SetupLogItemSet() => default!; + private int GetMinCost(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + private void SetMinCost(BattleLogWindow.BattleLogType type, bool isPlayer, int value) { } + private List GetCostFrameList(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + private List GetCostCardLogInfoList(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + private List> GetLogListList(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + private List GetLogList(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + private GameObject GetLogObject(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + private UILabel GetEmptyTextLabel(BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + public static Dictionary GetCardCountsByCardId(List cards) => default!; + public static int CompareCardLogInfo(BattleCardBase cardA, BattleCardBase cardB) => default!; + public static int CompareCardLogInfo(CardLogInfo logInfoA, CardLogInfo logInfoB) => default!; + private string GetNameIndex(int cost, int index) => default!; + private void _AddDestLogCommonOne(BattleCardBase card, FuncSetup funcSetup, BattleLogWindow.BattleLogType type, bool isPlayer, List battleLogTextureInfo) { } + private void _ParentDestLogItemToGrid(BattleLogWindow.BattleLogType type, bool isPlayer) { } + private void _SetupLogDestItemList(BattleLogWindow.BattleLogType type, bool isPlayer) { } + private void MakeAndHideCostFrameList(BattleLogWindow.BattleLogType type, bool isPlayer) { } + public void SetupCostFrame() { } public void AddLogDestFollower(BattleLogWindow.BattleLogType type, BattleCardBase card, List battleLogTextureInfo = null) { } + private int GetCardIndex(int cost, int id, BattleLogWindow.BattleLogType type, bool isPlayer) => default!; + public void AddLogCost(int cost, BattleLogWindow.BattleLogType type, bool isPlayer) { } public void EnableButton() { } public void DisableButton() { } + private bool _IsAddLogBerserk(BattleCardBase beforeDamage, BattleCardBase afterDamage) => default!; + private bool _IsAddLogAwake(BattleCardBase card, int ppTotalPrev) => default!; + private bool _IsAddLogWar(BattleCardBase attackCard, BattleCardBase attackedCard) => default!; + private BattleLogItem _CreateAttack(bool isCounter, BattleCardBase beforeAttackFrom, BattleCardBase afterAttackFrom, bool isDamageDraw, bool isDrainBattle) => default!; + public VfxBase AddLogWar(BattleCardBase attackCard, BattleCardBase attackedCard) => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance(); + public void AddLogEvolution(BattleCardBase card) { } public void AddLogFusion(BattleCardBase card, List ingrediens) { } + public void AddLogSkillGetOn(BattleCardBase card, List ingrediens) { } + public void AddLogSkillGetOff(SkillBase skill, List ingrediens) { } public BattleLogItem AddLogTurn(bool isSelfTurn, int turn = -1) => default!; public void AddLogMulliganChanged(BattlePlayerBase player, int changedNum) { } + private BattleLogItem GetSameTypeLogItem(BattleCardBase card, LogType logType) => default!; + public void AddLogSkillDrawCard(List drawCards, SkillBase skill, bool isOpen, bool isPlayerDraw, bool isOverDraw) { } public void AddLogSkillDrawToken(List drawCards, SkillBase skill, bool isOpen, bool isOverDraw = false) { } + public void AddLogOverDrawCards(List overDrawCards) { } public void AddLogSkillReturnCard(List returnCards, SkillBase skill) { } + public void AddLogSkillDiscard(List discardCards, bool isPlayer, SkillBase skill) { } + public void AddLogSkillBanishHand(List banishCards, bool isPlayer, SkillBase skill) { } + public void AddLogSkillBanishDeck(List banishCards, SkillBase skill, bool isOpen) { } + public void AddLogSkillChangeCemetery(int num, SkillBase skill) { } + public void AddLogSkillClearDestroyedCardList(SkillBase skill, BattlePlayerBase player) { } + public void AddLogSkillClearSummonedCardList(SkillBase skill, BattlePlayerBase player) { } + public void AddLogSkillChangeChantCount(int num, BattleCardBase targetCard, SkillBase skill) { } + public void AddLogSkillChangePP(BattleCardBase targetCard, int changePP, int ppTotalPrev, bool isTotal, SkillBase skill) { } + public void AddLogSkillSetEP(int ep, BattleCardBase targetCard, SkillBase skill) { } + public void AddLogSkillGain(List targetCards, SkillBase skill, SkillGainType gainType, int val1 = 0) { } public void AddLogSkillAttachSkill(BattleCardBase targetCard, SkillBase attachedSkill, SkillBase skill, bool isTargetInOpponentHand = false) { } + public void AddLogSkillCantAttack(List targetCards, SkillBase skill, CantAttackType type) { } + public void AddLogSkillAttackCountRecovery(List targetCards, SkillBase skill) { } + public void AddLogSkillChangeDeck(BattleCardBase classCard, SkillBase skill) { } + public void AddLogSkillAddDeck(List addCards, SkillBase skill) { } + public void AddLogSkillSummon(List summonCards, SkillBase skill) { } + public void AddLogSkillSummon(List summonCards) { } + public void AddLogSkillRandomArray(List targetCards, int[] randomArray, SkillBase skill) { } + public void AddLogSkillBuffSet(List buffCards, int setAttack, int setLife, Skill_power_down skill, bool isTargetInOpponentHand, List beforeAttackList, List beforeLifeList) { } public void AddLogSkillBuffAdd(List buffCards, int addAttack, int addLife, SkillBase skill, bool isMinusZeroAttack, bool isMinusZeroLife) { } public void AddLogSkillBuffAdd(List buffCards, int addAttack, int addLife, int gainAttack, int gainLife, SkillBase skill) { } public void AddLogSkillBuffMultiply(List buffCards, int multiplyAttack, int multiplyLife, SkillBase skill) { } + public void AddLogSkillBuffAddClass(List buffCards, SkillBase skill) { } + public void AddLogSkillBuffSetLife(BattleCardBase ownercard, LogType logType, List buffCards, int setLife, bool isTargetInOpponentHand) { } + public void AddLogSkillBuffSetMaxLife(List buffCards, int setMaxLife, SkillBase skill, List beforeLifeList) { } public void AddLogSkillBuffAddMaxLife(List buffCards, int addMaxLife, SkillBase skill) { } public void AddLogSkillBuffInHandAdd(List buffCards, int addAttack, int addLife, SkillBase skill, bool isTargetInOpponentHand, bool isTargetSelfOpenCardSkill) { } public void AddLogSkillBuffInDeckAdd(BattleCardBase target, int addAttack, int addLife, SkillBase skill) { } + public void AddLogSkillHeal(List beforeHealCards, List healResults, SkillBase skill) { } + public void AddLogSkillHeal(List beforeHealCards, List healResults) { } + public void AddLogHeal(BattleCardBase beforeHealCard, int healAmount) { } + public void AddLogSkillDamage(BattleCardBase beforeDamage, BattleCardBase afterDamage, BattleCardBase beforeRefrection, BattleCardBase afterRefrection, SkillBase skill) { } + private void _AddLogDamage(BattleCardBase beforeDamage, BattleCardBase afterDamage, SkillBase skill) { } public void AddLogSkillDeath(List deathCards, SkillBase skill) { } public void AddLogSkillDeath(List deathCards) { } + public void AddLogDeath(BattleCardBase deathCard) { } + private void _AddLogDeath(List deathCards) { } + public void AddLogSkillEvolution(List evolveCards, SkillBase skill) { } + public void AddLogSkillMetamorphose(List pairList, SkillBase skill, bool isTargetInOpponentHand = false, bool isFusion = false) { } + public void AddLogSkillUnite(Skill_unite.UniteCardPair pair, SkillBase skill) { } + public void AddLogSkillForceBerserk(BattleCardBase classCard, SkillBase skill) { } + public void AddLogLose(List cards, SkillBase skill) { } + public void AddLogPlayAsChoiceTransform(BattleCardBase card) { } + public void AddLogCopiedSkill(BattleCardBase card, SkillBase skill, bool isRemain) { } + public void AddLogSkillChangeClan(List cards, CardBasePrm.ClanType newClan, SkillBase skill, bool isTargetInOpponentHand = false) { } + public void AddLogSkillChangeTribe(List cards, List newTribe, SkillBase skill, bool isTargetInOpponentHand = false) { } + public void AddTokenDrawModifier(List targetCards, SkillBase skill) { } + public static string GetTargetCostConditionText(SkillBase skill) => default!; + public void AddLogSkillChangePlayCount(BattleCardBase card, int count, SkillBase skill) { } + public void AddLogSkillShortageDeckWin(List cards, SkillBase skill) { } + public void AddLogCostChange(List cards, SkillBase skill, int cost, bool isSetCost, bool isTargetInOpponentHand, List setCostDifferenceList) { } + public void AddLogOpenCard(BattleCardBase card) { } + public void AddLogOpenDrawCard(BattleCardBase card, SkillBase skill) { } + public void AddLogExclusionTargetList(List cards, SkillBase skill) { } + public void InsertExclusionTargetListLog(SkillBase skill) { } + private static bool IsSameSkillTiming(LogType logA, LogType logB, bool isSpell) => default!; + private bool _CheckLastAddedSkillOwner(BattleCardBase card, LogType timingLogType) => default!; + private bool ExistSameCardLog(BattleCardBase card, LogType timingLogType) => default!; + public void AddLogSkillUsePp(SkillBase skill, BattleCardBase card, int usePp) { } + public void AddLogGiveWhiteRitualStack(int num, BattleCardBase targetCard, SkillBase skill) { } + public void AddLogDepriveWhiteRitualStack(int num, BattleCardBase targetCard, SkillBase skill) { } + public void UpdateSkillTiming(BattleCardBase card, LogType oldType, LogType newType) { } + private bool UpdateDamageAmount(BattleCardBase card, int amount, SkillBase skill, LogType logType) => default!; + private bool UpdateSummonCount(BattleCardBase card, int summonCount, SkillBase skill, bool isPlayerSide) => default!; + public void KeyboardSelectNext(int number) { } + public void KeyboardSelectBack(int number) { } + public void KeyboardSelectNumber(int number) { } + public void KeyboardResetSelect() { } + public void KeyboardUpdateLogList() { } + public void KeyboardUpdateScrollView() { } public static int ConvertPremiumIdToNormalId(int cardId) => default!; + public void AddFusionIngredients(BattleCardBase fusionCard, bool isCreateClone) { } + public void ResetFusionIngredients(bool isPlayer) { } + public int GetFusionOrder(BattleCardBase a, BattleCardBase b) => default!; public void UpdateFusionedCardSkillDrewCard(BattleCardBase fusionCard) { } - } + private void ReplacePlayerBattleLog(bool isPlayer) { } +} } diff --git a/SVSim.BattleEngine/Shim/Generated/GameObjMgr.g.cs b/SVSim.BattleEngine/Shim/Generated/GameObjMgr.g.cs new file mode 100644 index 0000000..d234080 --- /dev/null +++ b/SVSim.BattleEngine/Shim/Generated/GameObjMgr.g.cs @@ -0,0 +1,37 @@ +// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23\GameObjMgr.cs +using System.Collections.Generic; +using UnityEngine; +using Wizard; +public partial class GameObjMgr +{ + private GameObject m_GameObj; + private GameObject m_UIContainer; + private Camera m_UIContainerCamera; + private GameObject m_SubUIContainer; + private Camera m_SubUICam; + private GameObject m_CameraContainer; + private IList m_AddedUIGameObj; + public GameObjMgr(GameObject GameObj) { } + public void CreateUIContainer() { } + public void DisposeUIGameObj() { } + public GameObject AddBattleUIContainerChild(GameObject g) => default!; + public GameObject AddUIContainerChild(GameObject GameObj) => default!; + public GameObject AddUIContainerChildPrefab(string str) => default!; + public GameObject AddUIContainerChildPrefab(GameObject GameObj) => default!; + public GameObject AddSubUIContainerChild(GameObject GameObj) => default!; + public GameObject AddSubUIContainerChildPrefab(string str) => default!; + public GameObject AddSubUIContainerChildPrefab(GameObject GameObj) => default!; + public GameObject AddCameraContainerChild(GameObject GameObj) => default!; + public GameObject AddCameraContainerChildPrefab(string str) => default!; + public GameObject AddUIManagerChildPrefab(GameObject gobj) => default!; + public GameObject AddUIManagerChildPrefab(string str) => default!; + public NguiObjs AddUIManagerChildPrefab(NguiObjs gobj) => default!; + public GameObject AddUIManagerRootChildPrefab(GameObject gobj) => default!; + public GameObject AddUIManagerRootChildPrefab(string str) => default!; + public GameObject GetGameObj() => default!; + public GameObject GetUIContainer() => default!; + public Camera GetUIContainerCam() => default!; + public GameObject GetSubUIContainer() => default!; + public Camera GetSubUICamera() => default!; + public GameObject GetCameraContainer() => default!; +} diff --git a/SVSim.BattleEngine/Shim/Generated/InPlayCardFrameEffectControl.g.cs b/SVSim.BattleEngine/Shim/Generated/InPlayCardFrameEffectControl.g.cs index d555618..5ce942d 100644 --- a/SVSim.BattleEngine/Shim/Generated/InPlayCardFrameEffectControl.g.cs +++ b/SVSim.BattleEngine/Shim/Generated/InPlayCardFrameEffectControl.g.cs @@ -1,13 +1,22 @@ -// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23/Wizard.Battle.View/InPlayCardFrameEffectControl.cs +// 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 partial class InPlayCardFrameEffectControl +{ + private readonly Func _getCardTemplateFunc; + private readonly Func _getIsAbleToAttackFunc; + private readonly Func _getIsUnableToAttackClassFunc; + protected CardTemplate CardTemplate { get; set; } + protected bool IsAbleToAttack { get; set; } + protected bool IsUnableToAttackClass { get; set; } + public InPlayCardFrameEffectControl(Func getCardTemplateFunc, Func getIsAbleToAttackFunc, Func getIsUnableToAttackClassFunc) { } public virtual void UpdateCanAttackEffect(Func isUnableToAttackClassFunc = null, bool isSelfTurn = true) { } public virtual void ToggleTargetSelectEffect(bool enable, bool isAttackTargetSelectInitiator = false) { } public virtual void SetIsSelectingAttackTarget(bool enable) { } + protected virtual void ShowFrameEffect(Color effectColor, Action particleSystemModifier = null) { } public virtual void HideFrameEffect() { } - } + protected virtual GameObject GetInPlayFrameEffect() => default!; +} } diff --git a/SVSim.BattleEngine/Shim/Generated/UIManager.g.cs b/SVSim.BattleEngine/Shim/Generated/UIManager.g.cs new file mode 100644 index 0000000..9ee0f81 --- /dev/null +++ b/SVSim.BattleEngine/Shim/Generated/UIManager.g.cs @@ -0,0 +1,341 @@ +// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23\UIManager.cs +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using BestHTTP; +using Cute; +using UnityEngine; +using Wizard; +using Wizard.Battle.View.Vfx; +using Wizard.Dialog.Setting; +using Wizard.UI.ReportToManagement; +public partial class UIManager +{ + public partial class ChangeViewSceneParam { } + public enum ViewScene + { + None, + Splash, + Title, + MyPage, + CommonBackGround, + Battle, + Room, + RankMatch, + ClassSelectionPage, + StorySelectPage, + StorySelectionWorld, + AreaSelect, + StoryChapterSelectionFlowChart, + Scenario, + Scenario2, + Prologue, + Ending, + QuestSelectionPage, + PracticePuzzle, + DeckList, + DeckCardEdit, + CardAllList, + CardDestruct, + TwoPick, + Sealed, + SealedCardPackOpen, + SealedDeckEdit, + Convention, + Colosseum, + Gacha, + BuildDeckPurchasePage, + CardSleevePurchasePage, + ClassSkinPurchasePage, + Profile, + Ranking, + Mission, + Mail, + BattlePass, + Tutorial1, + Tutorial2, + Tutorial3, + StoryTutorialElf, + StoryTutorialRoyal, + StoryTutorialWitch, + StoryTutorialDragon, + StoryTutorialNecromancer, + StoryTutorialVampire, + StoryTutorialBishop, + StoryTutorialNemesis, + Guild, + Friend, + LoginBonus, + LotteryPage, + BeginnerMission, + FreePackCampaign, + Gathering, + Competition2Pick, + CompetitionLobby, + BossRushLobby, + RedEtherCampaignLobby, + Bingo, + CrossoverPortal, + NeutralPopularityVote, + LeaderPopularityVote, + Max + } + public const int FLICK_LOWER_LIMIT_X = 50; + private Footer prefabFooter; + private Footer m_Footer; + private UIAtlasManager _atlasManager; + private GameObject m_myPageUICameraObj; + private DialogBase dialogOriginalClose; + private NguiObjs dialogInputOriginalClose; + private DrumrollDialog _dialogDrumrollOriginal; + private GameObject roomIdInputObj; + private GameObject frontLayer; + private GameObject SystemLayer; + private Camera frontCamera; + private LoadingBase LoadingInDownLoad; + private LoadingInScene lodingInScene; + private LoadingInScene lodingInSceneCenter; + private LoadingInScene lodingInSceneMatching; + private LoadingInScene lodingInSceneBattle; + private LoadingInScene notNetwork; + private GameObject LoadingLayer; + private GameObject NotTouchOriginal; + private GameObject NotTouch; + private FadeManager feadOriginal; + private FadeManager nowFadeObj; + private GameObject MyPageLayer; + public UIRoot UIManagerRoot; + public Transform UIRootLoadingTransform; + public Camera UIRootLoadingCamera; + private UIRoot _UIRootSystem; + private GameObject _support; + private DialogReportToManagement _reportToManagementDialogParts; + private RewardBase _rewardBase; + public GameObject _lotteryApplyPrefab; + private RankWinnerReward _rankWinnerReward; + private GameObject _preventTouchCollider; + public UpdateSocialAccountTask _updateSocialAccountTask; + private UIBase_CardManager uiCardManager; + private NguiObjs OriginalTopBar; + public IList m_CrystalLabelList; + public IList m_RupyLabelList; + public Dictionary BackSceneDict; + public Dictionary TopBarBackParameterDict; + private GameObject FirstTipsPrefab; + private GameObject FirstTipsObject; + private GameObject VideoHostingSettingRootPrefab; + private GameObject VideoHostingHUDPrefab; + private VideoHostingHUD VideoHostingHUDObject; + private GameObject _homeDialogPrefab; + private GameObject _legendCrystalBuyDialogPrefab; + private WindowResize _windowResize; + private GameObject[] RootObjects; + private Transform creatSceneUIPoint; + private IDictionary UIBaseList; + private ViewScene nowScene; + public DeckCreateMenuUI _deckCreateMenuOriginal; + private SwitchLanguage _switchLanguageOriginal; + private SettingBase settingBaseOriginal; + private SettingBase _optionSettingPrefab; + private SettingFirstBattle _firstSettingOriginal; + private BuyCrystal buyCrystalOriginal; + private AccountBase accountBaseOriginal; + private FriendBase friendBaseOriginal; + private GameObject replayDialogPrefab; + private int m_LockCountOnChangeView; + private Action m_OnFinishChangeView; + private List assetBundleDatas; + public bool isErrorProc; + public bool isRetryProc; + public bool isNoAvailMemory; + private bool _isCreateAssetFileErrorDialog; + private bool _isAssetErrorDialogUse; + public const string YELLOW_COLOR = "[ffca45]"; + public const string WHITE_COLOR = "[ffffff]"; + public const int CHARALIMIT_INPUT_USERNAME = 24; + public const int CHARALIMIT_INPUT_DECKNAME = 30; + public const int CHARALIMIT_INPUT_TRANSITIONCODE = 16; + public const int CHARALIMIT_INPUT_ACCOUNT = 0; + public const int CHARALIMIT_INPUT_DECKCODE = 16; + public const int CHARALIMIT_FIX_USERNAME = 12; + public const int CHARALIMIT_FIX_DECKNAME = 24; + public const int CHARALIMIT_FIX_TRANSITIONCODE = 16; + public const int CHARALIMIT_FIX_ACCOUNT = 0; + public const int CHARALIMIT_FIX_DECKCODE = 16; + public const UIInput.KeyboardType KEYBOARD_USERNAME = UIInput.KeyboardType.Default; + public const UIInput.KeyboardType KEYBOARD_DECKNAME = UIInput.KeyboardType.Default; + public const UIInput.KeyboardType KEYBOARD_DECKCODE = UIInput.KeyboardType.EmailAddress; + public const UIInput.KeyboardType KEYBOARD_TRANSITIONCODE = UIInput.KeyboardType.EmailAddress; + public const UIInput.KeyboardType KEYBOARD_ACCOUNT = UIInput.KeyboardType.EmailAddress; + private const float FLICK_THRESHOLD = 50f; + private const float TOUCH_INVALID_TIME = 1f; + private const int URL_DIALOG_DEPTH = 3000; + private const float CHANGEVIEWSCENE_WAITTIME = 0.5f; + private Dictionary _sceneParam; + public Footer _Footer { get; set; } + public DialogManager DialogManager { get; set; } + public ApplicationFinishManager ApplicationFinishManager { get; set; } + public GameObject MyPageUICameraObj { get; set; } + public DialogBase DialogPrefab { get; set; } + public NguiObjs TextInputDialogPrefab { get; set; } + public DrumrollDialog DrumrollDialogPrefab { get; set; } + public DialogBase NowOpenDialog { get; set; } + public GameObject IdInputPrefab { get; set; } + public Camera FrontCamera { get; set; } + public int FrontCameraPixelWidth { get; set; } + public int FrontCameraPixelHeight { get; set; } + public GameObject FrontLayerObject { get; set; } + public GameObject SystemLayerObject { get; set; } + public GameObject LoadingLayerObject { get; set; } + public LoadingBase LoadingInDownLoadPrefab { get; set; } + public LoadingInScene LoadingInScenePrefab { get; set; } + public LoadingInScene LoadingInSceneCenterPrefab { get; set; } + public LoadingInScene LoadingInSceneMatchingPrefab { get; set; } + public LoadingInScene LoadingInSceneBattlePrefab { get; set; } + public LoadingInScene LoadingForNetworkOfflinePrefab { get; set; } + public UIRoot UIRootSystem { get; set; } + public GameObject SupportDialogPrefab { get; set; } + public DialogReportToManagement DialogReportToManagement { get; set; } + public GameObject HomeDialogPrefab { get; set; } + public GameObject LegendCrystalBuyDialogPrefab { get; set; } + public bool IsCrystalDialogExe { get; set; } + public bool ApplicationHasFocus { get; set; } + public bool isBattleRecovery { get; set; } + public bool IsRoomRecovery { get; set; } + public WebViewHelper WebViewHelper { get; set; } + public LoadingViewManager LoadingViewManager { get; set; } + public bool IsTouchable { get; set; } + public AccountTransferHelper AccountTransferHelper { get; set; } + public SwitchLanguage SwitchLanguagePrefab { get; set; } + public SettingBase SettingPrefab { get; set; } + public SettingBase OptionSettingPrefab { get; set; } + public SettingFirstBattle SettingFirstBattle { get; set; } + public BuyCrystal BuyCrystalPrefab { get; set; } + public AccountBase AccountBasePrefab { get; set; } + public GameObject ReplayDialogPrefab { get; set; } + public bool IsAutoCacheClearAfter { get; set; } + public bool IsFadeIn { get; set; } + public void DisposeFooterMenu() { } + public bool IsNowOpenActiveDialog() => default!; + public static void ApplicationQuit() { } + private void Update() { } + private void Awake() { } + private void Start() { } + private void OnDestroy() { } + public Camera getCamera() => default!; + private IEnumerator WaitUntilLoadComplete() => default!; + public bool IsLocked() => default!; + public void AssetBundleLoad(Action callback = null) { } + public string GetSceneAssetPath(UIAtlasManager.AssetBundleNames assetname, string singlebundlename = "", bool isload = false) => default!; + public void AssetBundleLeaveRemove(ViewScene inLeaveScene) { } + public void AddResidentAtlas(UIAtlasManager.AssetBundleNames atlasName) { } + public void RemoveResidentAtlas(UIAtlasManager.AssetBundleNames atlasName) { } + private ViewScene GetFileResidentInMenu() => default!; + public List GetAtlasList() => default!; + public bool getAssetBundleEnd() => default!; + public void setAssetBundleEnd(bool flag) { } + private UIBase ViewOpen(ViewScene openScene, Action beforeOpening = null) => default!; + private UIBase CreateView(ViewScene scene, Action beforeOpening = null) => default!; + public void DestroyView(ViewScene scene) { } + private void DestroyView(List sceneList) { } + public void DestroyViewAll() { } + public bool isViewOpen(ViewScene scene) => default!; + public void OffView(ViewScene scene) { } + private void OffView(List sceneList) { } + public void OffViewAll() { } + public void OffViewAllOutside(ViewScene scene) { } + public UIBase GetUIBase(ViewScene scene) => default!; + public T GetCurrentSceneParam() where T : class => default!; + public void OverrideSceneParam(ViewScene scene, object sceneParam) { } + public object GetLastSceneChangeParam(ViewScene scene) => default!; + public T GetSceneParam(ViewScene scene) where T : class => default!; + public void ChangeViewScene(ViewScene nextScene, ChangeViewSceneParam param = null, object sceneParam = null) { } + public void OnReadyViewScene(bool isFadein, Action onFinishChangeView = null, Action onFinishFadeIn = null) { } + public void Force_Increment_LockCountChangeView() { } + public void Force_Decrement_LockCountChangeView() { } + public void Increment_LockCountChangeView() { } + public void Decrement_LockCountChangeView() { } + private IEnumerator ChangeViewScene_Main(ViewScene nextScene, ChangeViewSceneParam param) => default!; + private IEnumerator ChangeViewScene_OnFinishWait(ViewScene nextScene, ChangeViewSceneParam param) => default!; + public void UpdateFooterMenuTexture(ViewScene scene) { } + public ViewScene GetCurrentScene() => default!; + private void SetCurrentScene(ViewScene scene) { } + public bool IsCurrentScene(ViewScene scene) => default!; + public UIBase GetUiBaseOfCurrentScene() => default!; + public void OpenNotTouch() { } + public void offNotTouch() { } + private void creatNotTouch() { } + public DialogBase CreateDialogClose(bool isSystem = false, bool dontChangeLabelColor = false) => default!; + public DialogBase CreateConfirmationDialog(string message) => default!; + public void dialogAllClear() { } + public void ActiveChangeDialogAll(bool active) { } + public void CloseNotLatestDialogAll() { } + public bool CloseLatestDialog() => default!; + public bool isOpenDialog() => default!; + public bool isOpenLoading() => default!; + public void createInSceneLoading(bool notBlack = false, bool notCollider = false, bool force = true, int playIndex = -1) { } + public void closeInSceneLoading(bool force = true) { } + public VfxBase CreateNowLoadingVfx(VfxBase loadResourcesVfx) => global::Wizard.Battle.View.Vfx.NullVfx.GetInstance(); + public void createInSceneCenterLoading(bool notBlack = false, bool notCollider = false, bool force = true, string overrideText = null) { } + public void closeInSceneCenterLoading(bool force = true, bool disableCollider = false) { } + public LoadingInScene createInSceneLoadingMatching(bool notBlack = false, bool notCollider = false) => default!; + public LoadingInScene CloseInSceneLoadingMatching() => default!; + public LoadingInScene createInSceneLoadingBattle(bool notBlack = false, bool notCollider = false) => default!; + public LoadingInScene CloseInSceneLoadingBattle() => default!; + public void createInSceneNotNetwork() { } + public void closeInSceneNotNetwork() { } + public void CreatFadeOpen(Action onFinishCallback = null) { } + public void CreatFadeClose(Action onFinishCallback = null) { } + public void CreatFadeBlack() { } + public void CreatFadeObj() { } + public bool isFading() => default!; + public bool IsWizardSetupFinish() => default!; + public IEnumerator CardLoadResident() => default!; + public bool MyPageHomeCardLoadDeck(GameObject returnObj, DeckData deckData, int layer) => default!; + public void CardLoadSelect(GameObject returnObj, IList CardNums, int layer, bool is2D, Action onFinish = null, bool isDefaultSleeve = false, CardMaster.CardMasterId cardMasterId = CardMaster.CardMasterId.Default) { } + public void CardLoadGachaPack(GameObject returnObj, IList CardNums, int layer, bool is2D, int sleeveId = 3000011) { } + public bool isCardCreatEnd() => default!; + public List getCardListObjs() => default!; + public List getSelectCardListObjs() => default!; + public List getCardList2DObjs() => default!; + public UIBase_CardManager getUIBase_CardManager() => default!; + public void setBackScene(GameObject obj, ViewScene backScene) { } + public TopBar CreateTopBar(GameObject obj, string titleMsg, ViewScene backScene = ViewScene.None, bool MoneyDraw = true, ChangeViewSceneParam Param = null, bool isWideMode = false) => default!; + public void SetBackButtonParameter(ChangeViewSceneParam in_Param) { } + public void RemoveNowSceneBackButtonParameter() { } + public void UpDateCrystalNum() { } + public void UpDateRupyNum() { } + public void UpdateLastRupyNum(int num) { } + public RankWinnerReward createRankWinnerReward() => default!; + public void ShowFooterMenu(bool isShow) { } + private bool IsShowMyPageSubOther() => default!; + public static void SetObjectToGrey(GameObject o, bool b, Color? enableTextColor = null, Dictionary changeColorDict = null) { } + public void CommonRetry() { } + public void CommonResetGame() { } + public FirstTips CheckFirstTips(FirstTips.TipsType TipsType, Action onFinish = null, int startPage = 0) => default!; + public FirstTips StartFirstTips(FirstTips.TipsType TipsType, Action onFinish = null, int startPage = 0, int seasonId = 0) => default!; + public FirstTips StartFirstTips(IEnumerable tipsTypes, Action onFinish = null, int startPage = 0, int seasonId = 0) => default!; + public bool IsActiveFirstTips() => default!; + public IEnumerator FirstTipsStart(int startPage = 0) => default!; + public void CreateVideoHostingHUD(VideoHostingHUD.HUDMode mode) { } + public void DestroyVideoHostingHUD() { } + public VideoHostingHUD GetVideoHostingHUD() => default!; + public DialogBase CreateVideoHostingSettingRoot() => default!; + public void SetLayerRecursive(Transform parentObj, int layer) { } + public void SetDeviceOrientation() { } + private IEnumerator SetDeviceOrientationFromBackGround() => default!; + private void OnApplicationPause(bool pauseStatus) { } + private void OnApplicationFocus(bool focus) { } + public void AttachAtlas(GameObject obj, bool isTargetChildren = true) { } + public void AttachAtlas(List obj_list, bool isTargetChildren = true) { } + private bool WantsToQuit() => default!; + public bool IsQuitDialog() => default!; + public static void ShowDialogUrl(string title, string url, Action onDialogOpening = null) { } + public void CreateAssetFileErrorDialog() { } + public void SetIsAssetErrorDialogUse(bool inValue) { } + private bool IsAssetFileErrorDialogDispScene() => default!; + public RewardBase GetRewardDialogPrefab() => default!; + public void DelayExecute(float delayTime, Action func) { } + private IEnumerator DelayExecuteCoroutine(float delayTime, Action func) => default!; +} diff --git a/SVSim.BattleEngine/Shim/Generated/UIManager_ChangeViewSceneParam.g.cs b/SVSim.BattleEngine/Shim/Generated/UIManager_ChangeViewSceneParam.g.cs new file mode 100644 index 0000000..a08fac6 --- /dev/null +++ b/SVSim.BattleEngine/Shim/Generated/UIManager_ChangeViewSceneParam.g.cs @@ -0,0 +1,37 @@ +// AUTO-GENERATED no-op stubs (m1_stub_gen) from Shadowverse_Code_2026-05-23\UIManager.cs +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using BestHTTP; +using Cute; +using UnityEngine; +using Wizard; +using Wizard.Battle.View.Vfx; +using Wizard.Dialog.Setting; +using Wizard.UI.ReportToManagement; +public partial class UIManager +{ +public partial class ChangeViewSceneParam +{ + public Action OnBeforeChange { get; set; } + public Action OnChange { get; set; } + public float WaitTime { get; set; } + public bool IsFadeout { get; set; } + public bool IsInactive_AllView { get; set; } + public bool IsInactive_CurrentView { get; set; } + public List InactiveViewList { get; set; } + public bool IsDestroy_CurrentView { get; set; } + public bool IsDestroy_AllDialog { get; set; } + public bool IsShow_LoadingIcon { get; set; } + public bool IsShow_CardIntroduction { get; set; } + public bool IsSimpleChange { get; set; } + public int MyPageMenuIndex { get; set; } + public bool IsCutCardMotion { get; set; } + public bool IsUpdateFooterMenuTexture { get; set; } + public Action BeforeOpening { get; set; } + public Action OnFinishChangeView { get; set; } + public ChangeViewSceneParam() { } + public void NotWait() { } +} +} diff --git a/SVSim.BattleEngine/Shim/GodObjects/ClosureStubs.cs b/SVSim.BattleEngine/Shim/GodObjects/ClosureStubs.cs new file mode 100644 index 0000000..38d2bcc --- /dev/null +++ b/SVSim.BattleEngine/Shim/GodObjects/ClosureStubs.cs @@ -0,0 +1,26 @@ +// Empty type stubs to satisfy references from full-surface generated god-object stubs. +// Each is referenced only as a type in a no-op signature; members (if any) surface in a +// later frontier wave and can be filled by m1_stub_gen --type . +public partial class FadeManager { } +public partial class FriendBase { } + +namespace Wizard.Battle.UI +{ + public partial class BattleLogButton { } + public partial class BattleLogItemSet { } +} + +namespace Wizard.UI.ReportToManagement +{ + public partial class DialogReportToManagement { } +} + +namespace Wizard.Dialog.Setting +{ + public partial class SettingFirstBattle { } +} + +namespace Cute +{ + public partial class UpdateSocialAccountTask { } +} diff --git a/SVSim.BattleEngine/Shim/GodObjects/GodObjects.cs b/SVSim.BattleEngine/Shim/GodObjects/GodObjects.cs index 5a55353..90c920e 100644 --- a/SVSim.BattleEngine/Shim/GodObjects/GodObjects.cs +++ b/SVSim.BattleEngine/Shim/GodObjects/GodObjects.cs @@ -64,7 +64,7 @@ public class EffectMgr public static TargetType ToStrTargetType(string str) => TargetType.NONE; } -public class GameObjMgr { } +public partial class GameObjMgr { } public class GameMgr { @@ -125,65 +125,20 @@ public class GameMgr public bool IsUseUnapprovedList(bool isPlayer) => false; } -public class UIManager +// UIManager surface (members, ViewScene enum, ChangeViewSceneParam) is generated from +// decomp into Shim/Generated/UIManager*.g.cs. This partial keeps only the singleton + +// MonoBehaviour base (gameObject/transform/StartCoroutine/StopCoroutine come from the base). +public partial class UIManager : UnityEngine.MonoBehaviour { + private static UIManager _ins; public static UIManager GetInstance() => _ins ??= new UIManager(); public static UIManager GetIns() => GetInstance(); - private static UIManager _ins; - - public enum ViewScene - { - None, Battle, Bingo, BuildDeckPurchasePage, CardAllList, CardSleevePurchasePage, - ClassSkinPurchasePage, Colosseum, CrossoverPortal, DeckList, Gacha, Gathering, - LeaderPopularityVote, LoginBonus, LotteryPage, Mission, MyPage, - NeutralPopularityVote, Profile, QuestSelectionPage, RankMatch, Room, - StorySelectPage, StorySelectionWorld, TwoPick, - } - public class ChangeViewSceneParam { public ChangeViewSceneParam() { } } - - public Camera UIRootLoadingCamera; - public Dictionary TopBarBackParameterDict = new Dictionary(); - public Footer _Footer => null; - public bool IsTouchable => true; - - public Camera getCamera() => null; - public GameObject gameObject => null; - public Coroutine StartCoroutine(IEnumerator routine) => null; - public UIBase GetUIBase(ViewScene scene) => null; - public T GetCurrentSceneParam() where T : class => null; - public void ChangeViewScene(ViewScene nextScene, ChangeViewSceneParam param = null, object sceneParam = null) { } - public void Force_Increment_LockCountChangeView() { } - public void Force_Decrement_LockCountChangeView() { } - public ViewScene GetCurrentScene() => ViewScene.Battle; - public bool IsCurrentScene(ViewScene scene) => false; - public UIBase GetUiBaseOfCurrentScene() => null; - public DialogBase CreateDialogClose(bool isSystem = false, bool dontChangeLabelColor = false) => null; - public DialogBase CreateConfirmationDialog(string message) => null; - public void dialogAllClear() { } - public bool isOpenDialog() => false; - public bool isOpenLoading() => false; - public void closeInSceneLoading(bool force = true) { } - public void createInSceneCenterLoading(bool notBlack = false, bool notCollider = false, bool force = true, string overrideText = null) { } - public void closeInSceneCenterLoading(bool force = true, bool disableCollider = false) { } - public LoadingInScene CloseInSceneLoadingMatching() => null; - public LoadingInScene createInSceneLoadingBattle(bool notBlack = false, bool notCollider = false) => null; - public LoadingInScene CloseInSceneLoadingBattle() => null; - public bool isFading() => false; - public bool IsActiveFirstTips() => false; - public VideoHostingHUD GetVideoHostingHUD() => null; - public void setBackScene(GameObject obj, ViewScene backScene) { } - public static void ApplicationQuit() { } - public static void SetObjectToGrey(GameObject o, bool b) { } - public static void ShowDialogUrl(string title, string url, Action onDialogOpening = null) { } - - public class CreatFade { } - public void CreatFadeOpen() { } - public void CreatFadeBlack() { } - public Wizard.RankWinnerReward createRankWinnerReward() => null; } -public class Footer { } -public class VideoHostingHUD { } +public class VideoHostingHUD +{ + public enum HUDMode { Null, Recording, Publishing } +} namespace Wizard { @@ -192,4 +147,9 @@ namespace Wizard public class MailTopTask { } public class MyPageTask { } public class DeckUpdateTask { } + // UIManager no-op return types (empty stubs; methods returning them return null) + public class LoadingViewManager { } + public class AccountTransferHelper { } + public class DialogManager { } + public class ApplicationFinishManager { } }