Noé Lopez
Noé Lopez
Here are the full generated bindings: https://pastebin.com/9mWz1S4j
This seems to happen because there is a function named Write and a function named Write1 in the header, the Bitstream_Write1 gets correctly renamed to Bitstream_Write11 to avoid duplicate definitions...
Like this: ```C++ struct RAK_DLL_EXPORT AddressOrGUID { RakNetGUID rakNetGuid; SystemAddress systemAddress; SystemIndex GetSystemIndex(void) const {if (rakNetGuid!=UNASSIGNED_RAKNET_GUID) return rakNetGuid.systemIndex; else return systemAddress.systemIndex;} bool IsUndefined(void) const {return rakNetGuid==UNASSIGNED_RAKNET_GUID && systemAddress==UNASSIGNED_SYSTEM_ADDRESS;} void SetUndefined(void)...
`rakNetGuid` and `systemAddress` are supposed to be set to `UNASSIGNED_RAKNET_GUID` and `UNASSIGNED_SYSTEM_ADDRESS` respectively when the other is used.
Here's the RaknetGUID definition: ```C++ struct RAK_DLL_EXPORT RakNetGUID { RakNetGUID(); explicit RakNetGUID(uint64_t _g) {g=_g; systemIndex=(SystemIndex)-1;} // uint32_t g[6]; uint64_t g; ... ``` And the AddressOrGuid definition: ```C++ struct RAK_DLL_EXPORT SystemAddress...
Hello! I switched to another solution so I did not have to fix that problem, I suppose though you could make a C wrapper around that C++ code and then...
Try updating your packages and make sure glib is installed
After having implemented block states and serialization/deserialization. I'm getting this error when using the block: ``` [Server thread/CRITICAL]: pocketmine\utils\AssumptionFailedError: "Unmapped blockstate returned by blockstate serializer: TAG_Compound={ "name" => TAG_String="minecraft:structure_void" "version"...
I have found the issue, I was using 0 and 1 for values instead of constant strings from `BlockStateStringValues`.
I think this is ready for an initial review. I've added a plugin to test in the pr description :)