Đang tải...
2 đã được like
17 bình luận
1 videos
2 tải lên
5 theo dõi
20.283 tải về

Các tập tin phổ biến nhất

  • 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()

    30 Tháng ba, 2023
  • 4df328 img 4468~2

    @KimgKomg Thanks!

    08 Tháng hai, 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.

    08 Tháng hai, 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

    24 Tháng mười hai, 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

    17 Tháng mười một, 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

    17 Tháng mười một, 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.

    17 Tháng mười một, 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?

    17 Tháng mười một, 2022
  • 4df328 img 4468~2

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

    25 Tháng tám, 2022
  • 4df328 img 4468~2

    @HdyMac22 The mod should still work despite the error message

    20 Tháng tám, 2022