Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard.Battle.Player.ClassCharacter/PlayerClassCharacter.cs
gamer147 4b9a603cd4 feat(battle-engine): full View/VFX/UI/Touch/Story type closure (4254->3916, unmasked)
Generate no-op shells for the entire stop-listed View/Vfx/UI/Touch/Story missing-
type closure (~180 types) + 5 copyable engine files. Net-new shells emitted base-less,
so override members are stripped via the new --no-override generator flag. SDK/BCL
over-reach (Adjust/GZipStream/Socket*) and non-battle Story-world clusters reduced to
minimal/empty stubs instead of full-surface. Nested-type closure (BuildInfo/BattleDialog/
ROOM_URI/FuncGetCantAttackText) placed top-level in their decomp namespaces.

Clearing the last View CS0115 unmasked the true member-level frontier: 3916 errors,
0 generated/structural errors, now dominated by Unity-type + god-object members.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 22:01:37 -04:00

64 lines
1.2 KiB
C#

namespace Wizard.Battle.Player.ClassCharacter;
public class PlayerClassCharacter
{
public ClassCharacterBase _class { get; protected set; }
public PlayerClassCharacter(bool isPlayer)
{
DataMgr dataMgr = GameMgr.GetIns().GetDataMgr();
if (isPlayer)
{
if (dataMgr.Is3DSkin(isPlayer))
{
_class = new Player3dClassCharacter(dataMgr.GetPlayerSkinId());
}
else if (dataMgr.IsHighRankSkinPlayer())
{
_class = new PlayerHighRankSpineClassCharacter();
}
else
{
_class = new PlayerSpineClassCharacter();
}
}
else if (dataMgr.Is3DSkin(isPlayer))
{
_class = new Enemy3dClassCharacter(dataMgr.GetEnemySkinId());
}
else if (dataMgr.IsHighRankSkinEnemy())
{
_class = new EnemyHighRankSpineClassCharacter();
}
else
{
_class = new EnemySpineClassCharacter();
}
}
public void OutFrame()
{
_class.OutFrame();
}
public void IntoFrame()
{
_class.IntoFrame();
}
public float GetCurrentClipTime()
{
return _class.GetCurrentClipTime();
}
public bool GetCurrentClipIsName(ClassCharaPrm.MotionType motionType)
{
return _class.GetCurrentClipIsName(motionType);
}
public void ClearSpineObject()
{
_class.ClearResourceObject();
}
}