void Initialize(IUsersAroundListHUDListView view) { usersListView = view; usersListView.OnRequestMuteUser += OnMuteUser; usersListView.OnRequestMuteGlobal += OnMuteAll; MinimapMetadata.GetMetadata().OnUserInfoUpdated += MapRenderer_OnUserInfoUpdated; MinimapMetadata.GetMetadata().OnUserInfoRemoved += MapRenderer_OnUserInfoRemoved; }
void Initialize(IUsersAroundListHUDListView view) { usersListView = view; usersListView.OnRequestMuteUser += OnMuteUser; usersListView.OnRequestMuteGlobal += OnMuteAll; usersListView.OnGoToCrowdPressed += OnGoToCrowd; usersListView.OnOpen += OnListOpen; otherPlayersStatus.OnAdded += OnOtherPlayersStatusAdded; otherPlayersStatus.OnRemoved += OnOtherPlayerStatusRemoved; CommonScriptableObjects.rendererState.OnChange += OnRendererStateChanged; profile.OnUpdate += OnUserProfileUpdate; }
void Initialize(IUsersAroundListHUDListView view) { usersListView = view; usersListView.OnRequestMuteUser += OnMuteUser; usersListView.OnRequestMuteGlobal += OnMuteAll; usersListView.OnGoToCrowdPressed += OnGoToCrowd; usersListView.OnOpen += OnListOpen; MinimapMetadata.GetMetadata().OnUserInfoUpdated += MapRenderer_OnUserInfoUpdated; MinimapMetadata.GetMetadata().OnUserInfoRemoved += MapRenderer_OnUserInfoRemoved; CommonScriptableObjects.rendererState.OnChange += OnRendererStateChanged; profile.OnUpdate += OnUserProfileUpdate; }
public UsersAroundListHUDController(IUsersAroundListHUDListView usersListView) { Initialize(usersListView); }