Using the Simhub SDK
I am completely new in Simhub but my goal is to built my own plugins and do some calculations and evaluations with the data provided by simhub.
Can I find examples how to use the SDK?
I have some questions that might be answered by looking at an example:
- Is this the method that is called every 1/fps seconds? public void DataUpdate(PluginManager pluginManager, ref GameData data)
- How to access the gamedata (e.g. current gear)? data.gear?
- How can I activate the plugin?
Sorry for the very silly beginner questions... Maybe there is a tutorial somewhere which I didnt found...
Thanks in advance!
I've been searching for the same thing for weeks. I haven't found anything on how to create a dash from scratch or even edit one with specific controls.
Did you find something about that ? I am still searching from weeks, i really need it for schoolwork. If you know how please let me know, if i found how i will let you know too.
If it's any help https://github.com/simelation/simhub-plugins/tree/master/packages/simhub-sli-plugin I've documented it reasonably well, because my memory isn't great 😀 It probably breaks lots of best-practise rules for C# / WPF (what is MVVM, anyway?) but I'm an old C++ developer working a million miles away from UIs. That's my excuse anyway.