view api/Objects/IWarFoundryStagedLoadObject.cs @ 0:520818033bb6

Initial commit of WarFoundry code
author IBBoard <dev@ibboard.co.uk>
date Fri, 19 Dec 2008 15:57:51 +0000
parents
children 613bc5eaac59
line wrap: on
line source

using System;
using ICSharpCode.SharpZipLib.Zip;
using IBBoard.WarFoundry.API.Factories;

namespace IBBoard.WarFoundry.API.Objects
{
	public interface IWarFoundryStagedLoadObject : IWarFoundryObject
	{	
		/// <summary>
		/// Checks whether the object has been fully loaded or whether only the first stage of loading has been performed.
		/// If the object is not fully loaded then the method must finish loading the object.
		/// </summary>
		void EnsureFullyLoaded();
		
		/// <value>
		/// Gets the <code>AbstractNativeWarFoundryFactory</code> that created the object.
		/// </value>
		AbstractNativeWarFoundryFactory Factory	{ get; }
		
		/// <value>
		/// Returns <code>true</code> if the object has been fully loaded with all data, else returns <code>false</code>
		/// </value>
		bool IsFullyLoaded { get; }
	}
}