2025-06-17 20:21:28 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Obfuz.Settings
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public class ExprObfuscationSettingsFacade
|
|
|
|
|
{
|
|
|
|
|
public List<string> ruleFiles;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class ExprObfuscationSettings
|
|
|
|
|
{
|
|
|
|
|
[Tooltip("rule config xml files")]
|
|
|
|
|
public string[] ruleFiles;
|
|
|
|
|
|
|
|
|
|
public ExprObfuscationSettingsFacade ToFacade()
|
|
|
|
|
{
|
|
|
|
|
return new ExprObfuscationSettingsFacade
|
|
|
|
|
{
|
2025-06-21 08:27:45 +08:00
|
|
|
|
ruleFiles = new List<string>(ruleFiles ?? Array.Empty<string>()),
|
2025-06-17 20:21:28 +08:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|