Skip to content

Refactor message file structure#142

Open
seashairo wants to merge 4 commits into
Ishadijcks:developfrom
seashairo:chore/refactor-messages
Open

Refactor message file structure#142
seashairo wants to merge 4 commits into
Ishadijcks:developfrom
seashairo:chore/refactor-messages

Conversation

@seashairo
Copy link
Copy Markdown
Contributor

When this change is applied,

  • the server message type is moved into a messages folder, and the
    client messages folder also exists in its own subdirectory instead
    of a subdirectory of server messages

  • adds a NoopMessageParser which will log the received message instead
    of warning about an unhandled message. This will allow warnings to be
    cut down while still keeping track of messages which aren't fully handled,
    and also allow some message types to be ignored.

  • adds Noop handlers for NewBattle, CombatUnitsInBattleUpdated,
    CommunityBuffsUpdated, and MarketItemOrderBooksUpdated. This is
    just to work towards message completion

When this change is applied,

* the server message type is moved into a messages folder, and the
  client messages folder also exists in its own subdirectory instead
  of a subdirectory of server messages.

* adds a NoopMessageParser which will log the received message instead
  of warning about an unhandled message

* adds Noop handlers for NewBattle, CombatUnitsInBattleUpdated,
  CommunityBuffsUpdated, and MarketItemOrderBooksUpdated.
When this change is applied,

* the server message type is moved into a messages folder, and the
  client messages folder also exists in its own subdirectory instead
  of a subdirectory of server messages.

* adds a NoopMessageParser which will log the received message instead
  of warning about an unhandled message

* adds Noop handlers for NewBattle, CombatUnitsInBattleUpdated,
  CommunityBuffsUpdated, and MarketItemOrderBooksUpdated.
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

Successfully merging this pull request may close these issues.

1 participant