Home (Explanation)
Documentation - MapVote
Explanation:
PlayerController:
If a vote is in progress, we request the current vote data when the player logs in.
- BeginPlay ->
- RequestPlayersCountOnServerForPlayerVote ->
- S_RequestPlayerAmount ->
- O_RequestCurrentVotes ->
- S_RequestCurrentVotes ->
- Get AC_MapVote_Manager and call S_RequestCurrentVotes
- Return to PlayerController and call O_LoadCurrentVotes
- Call UpdateVote on the MapVoteManager for each vote
AC_MapVote_Manager
- StartVote (Server) ->
- handleVoteTimer ->
- If the vote is over ->
- handleEndOfVote ->
- StopVote & (ServerTravel or OpenLevel)
- Player (Vote, Widget) ->
- GetOwningPlayer cast to PC_MapVote ->
- O_VoteForMap (Map [Name])