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

[Task] Implement command dispatch for server #13

Closed
Qinusty opened this issue Jun 4, 2018 · 1 comment
Closed

[Task] Implement command dispatch for server #13

Qinusty opened this issue Jun 4, 2018 · 1 comment
Assignees
Labels
help wanted Extra attention is needed server Relating to the server crate

Comments

@Qinusty
Copy link

Qinusty commented Jun 4, 2018

Commands will come in under ClientPacket::SendCommand and should be dispatched in a manner that handlers can be written for each command and extended by modders in the future.

Commands will need access to a set API from the server which will need to include the player and perhaps the world.

@Qinusty Qinusty added help wanted Extra attention is needed server Relating to the server crate labels Jun 4, 2018
@Qinusty Qinusty assigned Qinusty and unassigned Qinusty Jun 4, 2018
@terahlunah
Copy link
Contributor

I'm not sure the player commands should be a different packet than ChatMsg. Because than mean the client have to know what is a command or not. It would be more flexible to let the server choose when receiving a ChatMsg

@veloren-bot
Copy link
Member

moved to gitlab https://gitlab.com/veloren/game/issues/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed server Relating to the server crate
Projects
None yet
Development

No branches or pull requests

3 participants