mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2025-04-10 23:59:47 +00:00
18 lines
301 B
C#
18 lines
301 B
C#
namespace Supercell.GUT.Titan.Util;
|
|
|
|
public static class LogicStringUtil
|
|
{
|
|
public static string SafeString(string a1, string? a2, string a3)
|
|
{
|
|
if (a2 != null)
|
|
{
|
|
a1 = a2;
|
|
}
|
|
else
|
|
{
|
|
a1 = a3;
|
|
}
|
|
|
|
return a1;
|
|
}
|
|
}
|