Bind C++ plugin to Python plugin
Posted: Wed Apr 12, 2023 9:27 am
As in the name said, I want to have 2 plugins: one C++, and one Python. The reason for this is DB. I want to create DB with ease (On Python) with some other features, where O(n) equals (or near) to one in python, while other logic write in C++. So, how do I get DB information from Source.Python plugin into MetaSource? Or, may be, there's some other way?
Note: do not suggest ctypes module or something like that. I want my C++ code interact with CS:GO directly (through some API, like MetaSource, of course):
Ctypes module: C++ module => Python module => Source.Python => MetaSource => CS:GO SDK
MetaSource module: C++ module => MetaSource => CS:GO SDK
My overall mod must be like semi-C++ semi-Python. That would be beautiful
Note: do not suggest ctypes module or something like that. I want my C++ code interact with CS:GO directly (through some API, like MetaSource, of course):
Ctypes module: C++ module => Python module => Source.Python => MetaSource => CS:GO SDK
MetaSource module: C++ module => MetaSource => CS:GO SDK
My overall mod must be like semi-C++ semi-Python. That would be beautiful