Forgive/pokemon-online — comment on commit 3dbb1e8bc6bdb38fa6a5a6a7198faa4e297c17b0
File:  line 0
By coyotte508:

Nope, it's wrong.

FIrst make sure you put ServerInfoChanged at the right place in the enums list, to fit with the wiki.

Then, either put the enums of the network flag in a separate enum, or start again from 0, since the network commands start from 0 not later, or hardcode the numbers (since they're only used in server sending and client receiving, 1 place each).

Then again, you need to output network before the rest of the stuff. So you need to set the correct network flags before sending anything else.

A bit like:

```cpp
Flags newtork (!name.empty() + (newMaxNumber != -1) << 1 + (!newDescription.empty() << 2) );
```