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

Create EventMessage Handlers #18

Closed
12 tasks done
Maelstromeous opened this issue Jul 1, 2020 · 0 comments · Fixed by #23
Closed
12 tasks done

Create EventMessage Handlers #18

Maelstromeous opened this issue Jul 1, 2020 · 0 comments · Fixed by #23
Assignees
Labels
enhancement New feature or request p1 Show-stopping issues

Comments

@Maelstromeous
Copy link
Member

Maelstromeous commented Jul 1, 2020

This will be the meat of the websocket. These handlers will take the incoming message from census, parse it, perform any calculations, data storage, aggregation, emitting other events etc required in order to perform the correct logic for that event.

As of #16 , the foundation for the handlers have been created, as per the CensusProxy class.

Must have

  • MetagameEvent
  • Death
  • PlayerLogin
  • PlayerLogout
  • ContinentLock
  • FacilityCapture

Should have

  • GainExperience (for medic XP etc)
  • PlayerFacilityCapture
  • PlayerFacilityDefend
  • ContinentUnlock (currently a dead event in the API)

Could have

  • AchievementEarned
  • BattleRankUp

Don't care

  • ItemAdded
  • SkillAdded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1 Show-stopping issues
Projects
None yet
1 participant