Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: add LazyAPI GameProgress #666

Merged
merged 8 commits into from
Jan 10, 2025
Merged

update: add LazyAPI GameProgress #666

merged 8 commits into from
Jan 10, 2025

Conversation

Controllerdestiny
Copy link
Contributor

添加插件

  • 插件已加入解决方案 (Plugin.sln)
  • 插件项目已导入template.targets ()
  • 插件信息已添加至对应manifest.json
  • 插件的文件夹名字和插件的插件项目名字一样 (XXX/XXX.csproj)
  • 添加插件单独的README.md文件 (XXX/README.md)
  • 插件可以正常工作

更新插件/修复BUG

  • 插件已修改版本号
  • 更新插件README.md中的更新日志
  • 插件可以正常工作

其他

  • ❤️熙恩我喜欢你

@Controllerdestiny Controllerdestiny requested a review from a team January 10, 2025 12:13
@Controllerdestiny Controllerdestiny linked an issue Jan 10, 2025 that may be closed by this pull request
3 tasks
@Controllerdestiny Controllerdestiny mentioned this pull request Jan 10, 2025
3 tasks
return () => exps1.All(e => e()) && exps2.All(e => !e());
}

internal static Tuple<int, int>? FindItemRef(object item)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这Tuple干嘛的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不知道原来就有的

@Controllerdestiny Controllerdestiny added this pull request to the merge queue Jan 10, 2025
Merged via the queue into master with commit daec920 Jan 10, 2025
2 checks passed
Comment on lines +32 to +35
public static Dictionary<string, bool> GetProgress(this TSPlayer Player)
{
var progress = new Dictionary<string, bool>();
foreach (var field in typeof(ProgressType).GetFields().Where(f => f.FieldType == typeof(ProgressType)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看起来是比较常用的方法,确实用反射么

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emmm,也许可以效仿DataSync用数据库存

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这文件名对吗

@Controllerdestiny Controllerdestiny deleted the manifest branch January 11, 2025 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Error
3 participants