mirror of
https://github.com/Alee14/OpenHacknet.git
synced 2025-01-22 09:12:44 -05:00
25 lines
No EOL
554 B
C#
25 lines
No EOL
554 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Hacknet.Mission
|
|
{
|
|
internal class GetAdminMission : MisisonGoal
|
|
{
|
|
public OS os;
|
|
public Computer target;
|
|
|
|
public GetAdminMission(string compIP, OS _os)
|
|
{
|
|
os = _os;
|
|
target = Programs.getComputer(os, compIP);
|
|
}
|
|
|
|
public override bool isComplete(List<string> additionalDetails = null)
|
|
{
|
|
return target.adminIP.Equals(os.thisComputer.ip);
|
|
}
|
|
|
|
public override void reset()
|
|
{
|
|
}
|
|
}
|
|
} |