namespace IgniteEngine.Networking { /// /// Class that holds information about a server transfer. /// public class NetworkTransfer : Object { /// /// The account of the transferring client. /// public Account Account { get; set; } /// /// Timestamp representing the time when the transfer was initialized. /// public long CreateTime { get; set; } /// /// The connection that is being transferred. /// public NetworkConnection Connection { get; set; } /// /// The connection's unique ID. /// public string GUID { get; set; } /// /// The world that the connection is transferring to. /// public World World { get; set; } /// /// Creates a new instance of the class. /// /// The transfer's account. /// The transfer's unique ID. public NetworkTransfer(Account account, string guid) { Account = account; CreateTime = Time.Milliseconds; GUID = guid; } /// /// Returns the GUID of the transfer. /// public override string ToString() { return GUID; } } }