Loading...
2 files liked
17 comments
0 videos
2 uploads
5 followers
24,504 downloads
  • 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()

    March 30, 2023
  • 4df328 img 4468~2

    @KimgKomg Thanks!

    February 08, 2023
  • 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.

    February 08, 2023
  • 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

    December 24, 2022
  • 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

    November 17, 2022
  • 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

    November 17, 2022
  • 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.

    November 17, 2022
  • 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?

    November 17, 2022
  • 4df328 img 4468~2

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

    August 25, 2022
  • 4df328 img 4468~2

    @HdyMac22 The mod should still work despite the error message

    August 20, 2022