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

Is there an enum for team_id attribute? #6

Closed
lenLRX opened this issue Dec 12, 2018 · 6 comments
Closed

Is there an enum for team_id attribute? #6

lenLRX opened this issue Dec 12, 2018 · 6 comments

Comments

@lenLRX
Copy link

lenLRX commented Dec 12, 2018

found DOTA_GC_TEAM in dota_shared_enums.proto, but it seems not the enum of units.team_id, since the units.team_id {good_guy:2, bad_guy:3}

@TimZaman
Copy link
Owner

Hi! What is the question exactly?

@lenLRX
Copy link
Author

lenLRX commented Dec 12, 2018

the question is: is there an enum for units.team_id in cworldmessage?
i already know that good guy is 2 and bad guy is 3.

@TimZaman
Copy link
Owner

TimZaman commented Dec 12, 2018 via email

@TimZaman
Copy link
Owner

I think it's a LUA thing, it's not described in any protobuf, i went through all of em.

@Nostrademous
Copy link
Collaborator

They don't have an ENUM for it, but it's trivial to add it to their proto structure with no impact.

@TimZaman
Copy link
Owner

TimZaman commented Dec 14, 2018 via email

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

3 participants