Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Separated the command handlers#139

Merged
MaxXor merged 2 commits intoquasar:masterfrom
yankejustin:SeparateCommandHandlers
May 16, 2015
Merged

Separated the command handlers#139
MaxXor merged 2 commits intoquasar:masterfrom
yankejustin:SeparateCommandHandlers

Conversation

@yankejustin
Copy link
Copy Markdown
Contributor

What this changes:

These changes do not modify or change the function of the code.
These changes merely improve the code so it is easier to use, read, and change.

Reason:

I realized that, eventually, I was reading and constantly having to waste time scrolling through long classes of the server and client's CommandHandler.cs
These two classes were each ~1,000 lines. I reasoned that these should be separated. Just to help us programmers out so we don't have to constantly spend time scrolling and scrolling. As a bonus, logic is separated.

Will this affect the code output?:

No. The resulting code is not affected. Because these different Command Handler files are partial classes, that means that when it is compiled, these files will be treated as if they are together.

Divided the server's CommandHandler class into partial classes.
Divided the client's CommandHandler class into partial classes.
MaxXor added a commit that referenced this pull request May 16, 2015
@MaxXor MaxXor merged commit 6e49359 into quasar:master May 16, 2015
@MaxXor
Copy link
Copy Markdown
Contributor

MaxXor commented May 16, 2015

Thanks, makes it much easier.

@yankejustin yankejustin deleted the SeparateCommandHandlers branch May 17, 2015 03:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants