ValvePython / dota2

🐸 Python package for interacting with Dota 2 Game Coordinator
http://dota2.readthedocs.io
201 stars 32 forks source link

Add a destroy lobby feature. #36

Closed Philaeux closed 6 years ago

Philaeux commented 6 years ago

Destroying lobby is useful if you want to totally end a lobby instead of just leaving it. There is a response to this request, but I have chosen to omit it, even if we could listen to the response to return True/False depending on the response.

rossengeorgiev commented 6 years ago

Whats the difference exactly? Does it kick out all players from the lobby? Would be great to add what it does to the docstring so its clear for anyone reading the docs.

Philaeux commented 6 years ago

Yes, it kicks everyone out of the lobby, and destroy it. When you create tournament games, and the lobby host dc, the lobby is not really destroyed and the host has a "shadow" inside it.