Example #1
0
 /// <summary>Send the client to the Spawn scene of the claimed Dungeon</summary>
 /// <param name="_currentUserSession">The Client SessionTokens, permit to check if he is still Authenticated</param>
 /// <param name="_desiredDungeon">The Client claimed Dungeon Name/param>
 /// UPDATED 13/06/2020
 public void EnterDungeon(UserSession _currentUserSession, string _desiredDungeon)
 {
     OnSessionExpiredRenewTokens(_currentUserSession);
     // For Valid Sessions, Send Collection to Player
     if (myUser.SessionTokens.IsValid())
     {
         player.PlayerEnterDungeon(id, _desiredDungeon);
     }
 }