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.
47 lines
813 B
C#
47 lines
813 B
C#
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));
|
|
}
|
|
}
|
|
}
|