CoD4x_Server icon indicating copy to clipboard operation
CoD4x_Server copied to clipboard

Net Core addon as a plugin base

Open Nerus87 opened this issue 4 years ago • 4 comments

Is there a way to implement bridge for users/devs that can create server side plugins working in 'native' Net Core/Standard C#?

Nerus87 avatar Sep 02 '19 14:09 Nerus87

We can use C++/CLI to invoke your C# stuff but I can't say this bridge will be stable. But I'm definetely will not do that because I'm developing new C++ only plugin system from time to time.

T-Maxxx avatar Sep 02 '19 15:09 T-Maxxx

I wish to help but I don't have skills to do this in C++ and I was involved in other projects. Maybe someone with better skills will be able to implement it.

btw thanks.

Nerus87 avatar Sep 02 '19 19:09 Nerus87

I'm developing new C++ only plugin system from time to time.

Interesting, plugins written in C++ :thinking: Have you considered using Angelscript instead @T-Maxxx?

PureTryOut avatar Mar 13 '20 14:03 PureTryOut

If I understand you correctly, what you want are C# bindings for the plugin API. There are already D bindings. They are not maintained and because the plugin API is far from stable and has changed quite a bit over the years, the bindings are very outdated. But you can still take some inspiration from there. However, I think they would be better off as an external project rather than being part of this repository.

A shameless plug, I've created a C++ wrapper for the plugin API (can't really call it bindings since C++ is a superset of C, but it's close enough) which you can perhaps also take as an inspiration.

proxict avatar Sep 20 '23 01:09 proxict