载入中...
赞了2个文件
写了17个评论
上传了0个视频
上传2个文件
5个跟随者
24,503次下载
  • 4df328 img 4468~2

    @BOPOHua coroutine is not supported, because the task scheduler may run the task in another thread, while native function can only be called from main thread, you'll have to coordinate the task yourself, e.g. using Script.Wait()

    2023年3月30日
  • 4df328 img 4468~2
  • 4df328 img 4468~2

    @scarredface1017 Sorry, I didn't really understand you. Older scripts built with SHVDN won't work with this. This is an experimental asi plugin for developer seeking a way to write script in .NET 7 with little efforts migrating from SHVDN.

    2023年2月08日
  • 4df328 img 4468~2

    @MrVicho13 Call it whatever you want. Microsoft's rebrand does not change the fact that it is fundamentally .NET Core. I mean, look at the GitHub repo, CoreCLR, CoreRT... IMO using this name to distinguish it from SHVDN is justified

    2022年12月24日
  • 4df328 img 4468~2

    If you need to write Function.Call 1000+ time then this will definitely make a difference, saving much time to type Function.Call<T> yourself

    2022年11月17日
  • 4df328 img 4468~2

    @JohnFromGWN if you don't like this library, just don't use it. I made this because I'm tired of explicitly specifying the argument and return type everytime I need to call a native, it was intended for use in my other bigger projects, just sharing it here in the hope to somehow benefit the community

    2022年11月17日
  • 4df328 img 4468~2

    @JohnFromGWN I still don't get you. What do you mean "provides the correct syntax and ensures it the function is also current, more current than the Native DB" ?
    If you're referring to scripting API, then yes it's mostly documented and doesn't need to specify argument and return type manually. But what I'm discussing here is calling native directly, not the API someone already made for you.
    Function.Call requires you to specify return type via a generic parameter and all argument types, which can go wrong sometimes.

    2022年11月17日
  • 4df328 img 4468~2

    I think you misread the description, this library is a wrapper for calling arbitrary native function (Function.Call) more conveniently. None of them are documented in SHVDN, so I wonder where you're intellisense suggestions come from?

    2022年11月17日
  • 4df328 img 4468~2

    @anon23623 could you post a screenshot of the error message?

    2022年8月25日
  • 4df328 img 4468~2

    @HdyMac22 The mod should still work despite the error message

    2022年8月20日