コード例 #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);
 }
コード例 #2
0
ファイル: Player.cs プロジェクト: gustavnilsson14/ldjam48
 private void OnSsh(SshKey key)
 {
     LevelUp();
     FullRestore();
     name = $"{key.GetUser()}.lock";
 }