feat(battle-engine): EffectType full enum + collection/card/vfx extension copies
Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
This commit is contained in:
46
SVSim.BattleEngine/Engine/OmoteLog.cs
Normal file
46
SVSim.BattleEngine/Engine/OmoteLog.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
internal class OmoteLog
|
||||
{
|
||||
private static bool mEnabled;
|
||||
|
||||
protected OmoteLog()
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetEnable(bool enabled)
|
||||
{
|
||||
mEnabled = enabled;
|
||||
}
|
||||
|
||||
public static void Info(string format, params object[] args)
|
||||
{
|
||||
_ = mEnabled;
|
||||
}
|
||||
|
||||
public static void Warn(string format, params object[] args)
|
||||
{
|
||||
_ = mEnabled;
|
||||
}
|
||||
|
||||
public static void WarnUnless(bool assertion, string format, params object[] args)
|
||||
{
|
||||
if (!mEnabled)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public static void Error(string format, params object[] args)
|
||||
{
|
||||
if (mEnabled)
|
||||
{
|
||||
Debug.LogError(string.Format(format, args));
|
||||
}
|
||||
}
|
||||
|
||||
public static void ErrorUnless(bool assertion, string format, params object[] args)
|
||||
{
|
||||
if (mEnabled && !assertion)
|
||||
{
|
||||
Debug.LogError(string.Format(format, args));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user