예제 #1
0
 protected TransferBase(IAppProvider source, ITransferTarget target, ISteamApplication app)
 {
     _source      = source;
     _target      = target;
     _Application = app;
     _Status      = TransferStatus.Queued;
 }
예제 #2
0
 public BasicSteamApp(ISteamApplication source)
 {
     GameName   = source.GameName;
     AppId      = source.AppId;
     DiskSize   = source.DiskSize;
     InstallDir = source.InstallDir;
 }
예제 #3
0
        public static string GetSteamImageUrl(this ISteamApplication app)
        {
            var id = app.AppId;

            if (id.Contains(","))
            {
                id = id.Split(new char[1] {
                    ','
                })[0];
            }

            return(string.Format("https://steamcdn-a.akamaihd.net/steam/apps/{0}/capsule_{1}.jpg?{2}", id, "sm_120", DateTime.Now.ToString("yyyy-MM-dd")));
        }
예제 #4
0
 public RemoteSteamApp(ISteamApplication receivedData, IAppProvider provider)
 {
     _appInfo  = receivedData;
     _provider = provider;
 }
예제 #5
0
 public NetworkCopy(IAppProvider source, ITransferTarget target, ISteamApplication app) : base(source, target, app)
 {
 }
예제 #6
0
 public LocalMove(IAppProvider source, ITransferTarget target, ISteamApplication app) : base(source, target, app)
 {
 }