discord / gamesdk-and-dispatch

Public issue tracker for the Discord Game SDK and Dispatch
22 stars 7 forks source link

Greater flexibility for C++ wrapper #94

Open PazerOP opened 3 years ago

PazerOP commented 3 years ago

Currently the C++ wrapper is mostly an all-or-nothing setup due to the way the types are defined. None of the types defined in types.h have constructors that accept the C types, and there is no way to get at the underlying C type. There are also no comparison operators, so you have to write them yourself, which could cause issues when updating the game sdk.