Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LobbyEnter_t.m_EChatRoomEnterResponse of type uint instead of an enum? #606

Open
hedgewizards opened this issue Apr 28, 2024 · 1 comment

Comments

@hedgewizards
Copy link

public uint m_EChatRoomEnterResponse; // EChatRoomEnterResponse

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.

@rlabrecque
Copy link
Owner

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

uint32 m_EChatRoomEnterResponse; // EChatRoomEnterResponse

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants