private void OnGameModeChanged(GameModeName oldGameMode, GameModeName newGameMode) { if (HelperUtils.IsHallwayGamemode(newGameMode)) { RequestRanks(); WritePlayer(); GetGifts(); } FriendRequest?.OnGameModeChanged(newGameMode); }