Steamworks.NET icon indicating copy to clipboard operation
Steamworks.NET copied to clipboard

LobbyEnter_t.m_EChatRoomEnterResponse of type uint instead of an enum?

Open hedgewizards opened this issue 10 months ago • 1 comments

https://github.com/rlabrecque/Steamworks.NET/blob/37df82ec444f31a60741384b4ef46471f0fc0760/com.rlabrecque.steamworks.net/Runtime/autogen/SteamCallbacks.cs#L1135

this is a uint when we know the response is supposed to be an enum EChatRoomEnterResponse

Is there a good reason for this? i had to scramble to find the right value and write an explicit cast instead of getting a nice autocomplete.

hedgewizards avatar Apr 28 '24 22:04 hedgewizards

That's just how Valve has it as well :/

https://github.com/rlabrecque/Steamworks.NET/blob/37df82ec444f31a60741384b4ef46471f0fc0760/CodeGen/steam/isteammatchmaking.h#L775

For what ever reason the other callback they have it in is correct;

rlabrecque avatar Jun 17 '24 04:06 rlabrecque