Example #1
0
 public void OnSsh(SshKey sshKey)
 {
     exploredHosts.Add(currentHost);
     Player.I.MoveTo(sshKey.GetHost().GetRootDirectory());
     currentHost = sshKey.GetHost();
     currentHost.SetUser(sshKey.GetUser());
     currentHost.Init(exploredHosts.Count + 1);
     onSsh.Invoke(sshKey);
 }
Example #2
0
 private void OnSsh(SshKey key)
 {
     LevelUp();
     FullRestore();
     name = $"{key.GetUser()}.lock";
 }