mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-23 02:12:14 +00:00
56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ShiftOS.Objects
|
|||
|
{
|
|||
|
public class Hackable
|
|||
|
{
|
|||
|
public string SystemName { get; set; }
|
|||
|
public string FriendlyName { get; set; }
|
|||
|
public string Password { get; set; }
|
|||
|
public string PasswordHint { get; set; }
|
|||
|
public string WelcomeMessage { get; set; }
|
|||
|
|
|||
|
public int FirewallStrength { get; set; }
|
|||
|
public int LootRarity { get; set; }
|
|||
|
public int LootAmount { get; set; }
|
|||
|
public int ConnectionTimeoutLevel { get; set; }
|
|||
|
|
|||
|
public SystemType SystemType { get; set; }
|
|||
|
|
|||
|
public string OnHackCompleteStoryEvent { get; set; }
|
|||
|
|
|||
|
|
|||
|
public string Dependencies { get; set; }
|
|||
|
|
|||
|
|
|||
|
public string ID
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return SystemName.ToLower().Replace(" ", "_");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[Flags]
|
|||
|
public enum SystemType
|
|||
|
{
|
|||
|
FileServer,
|
|||
|
SSHServer,
|
|||
|
EmailServer,
|
|||
|
Database
|
|||
|
}
|
|||
|
|
|||
|
[Serializable]
|
|||
|
public class ServerMessage
|
|||
|
{
|
|||
|
public string Name { get; set; }
|
|||
|
public string GUID { get; set; }
|
|||
|
public string Contents { get; set; }
|
|||
|
}
|
|||
|
}
|