DTA INI读写优化

var iniFile = new IniFile(FileName ?? $"Mod&AI/Mod&AI{ID}.ini", ANNOTATION).
      SetValue("Mod", ID, ID).
      AddSection(ID).
      SetValue(ID, "Name", Name).
      SetValue(ID, "Description", Description).
      SetValue(ID, "FilePath", FilePath).
      SetValue(ID, "Extension", Extension).
      SetValue(ID, "Version", Version).
      SetValue(ID, "MuVisible", MuVisible).
      SetValue(ID, "CpVisible", CpVisible).
      SetValue(ID, "Compatible", Compatible).
      SetValue(ID, "ExtensionOn", ExtensionOn).
      SetValue(ID, "YR", md.Equals("md")).
      SetValue(ID, "UseAI", UseAI).
      SetValue(ID, "ColorsNum", ColorsNum).
      SetValue(ID, "Sides", Countries).
      SetValue(ID, "Author", Author);

让GPT写下泛型实现和链式调用.

© 版权声明
THE END
喜欢就支持一下吧
点赞1 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容