using Sandbox;
namespace Torch.API
{
///
/// Represents the state of a
///
public enum TorchGameState
{
///
/// The game is currently being created.
///
Creating,
///
/// The game has been created and is ready to begin loading.
///
Created,
///
/// The game is currently loading.
///
Loading,
///
/// The game is fully loaded and ready to start sessions
///
Loaded,
///
/// The game is beginning the unload sequence
///
Unloading,
///
/// The game has been shutdown and is no longer active
///
Unloaded
}
///
/// Callback raised when a game's state changes
///
/// The game who had a state change
/// The game's new state
public delegate void TorchGameStateChangedDel(MySandboxGame game, TorchGameState newState);
}