-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
return () => exps1.All(e => e()) && exps2.All(e => !e()); | ||
} | ||
|
||
internal static Tuple<int, int>? FindItemRef(object item) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这Tuple干嘛的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不知道原来就有的
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))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看起来是比较常用的方法,确实用反射么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emmm,也许可以效仿DataSync用数据库存
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这文件名对吗
添加插件
更新插件/修复BUG
其他