Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
27 lines
609 B
C#
27 lines
609 B
C#
using Cute;
|
|
|
|
public class GetDataTranslateTask : NetworkTask
|
|
{
|
|
public override string Url => NtDataTranslateManager.GetInstance().GetTranslateInfoUrl();
|
|
|
|
protected override int Parse()
|
|
{
|
|
int num = base.Parse();
|
|
if (num != 1)
|
|
{
|
|
return num;
|
|
}
|
|
string text = base.ResponseData["data"]["email_address"].ToString();
|
|
NtDataTranslateManager.GetInstance().curBindEmail = text;
|
|
if (string.IsNullOrEmpty(text))
|
|
{
|
|
NtDataTranslateManager.GetInstance().isTranslate = false;
|
|
}
|
|
else
|
|
{
|
|
NtDataTranslateManager.GetInstance().isTranslate = true;
|
|
}
|
|
return num;
|
|
}
|
|
}
|